Skip to content
Account takeover Write-up Advanced

One Click Account Takeover in Granola AI Notetaker

A user-controlled display name in Granola's activity feed could be set to a Markdown link, and when a victim clicked it, the trusted Electron window navigated to an attacker page while keeping the privileged preload bridge. The attacker page could then call sensitive IPC channels to reach session tokens and the SQLCipher key, leading to account takeover.

strix.ai

Published on strix.ai

Strix found a one-click account takeover in Granola's Electron app: a notification link could navigate a trusted renderer to an attacker's page while keeping Granola's privileged bridge.

The author, on strix.ai

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

The app did not guard top-level navigation of preload-bearing windows, so a trusted window could be navigated to an attacker origin while retaining its privileged IPC bridge.

Impact

An attacker could achieve one-click account takeover and reach session tokens, the SQLCipher key, and native-adjacent capabilities such as screenshot and webcam-adjacent controls; Granola shipped a server-side fix that protected users without an app update and later patched a bypass.

What the attacker needed

Granola desktop app; attacker can set display name; victim clicks the display name

The fix

Granola shipped a server-side sanitisation fix so notification links could no longer produce an attacker-controlled clickable URL, broadened will-navigate protections, and later patched a bypass.

How it was found

  1. The attacker sets their display name to a link pointing at an attacker-controlled page.
  2. The attacker triggers a notification by requesting access to a private note.
  3. The victim sees the request in their activity feed.
  4. The victim clicks the display name.
  5. The trusted renderer navigates to the attacker page while retaining window.electron.
  6. The attacker page can now talk to privileged IPC channels and reach data that should only belong to the app.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Granola is a desktop app built with Electron, which means its interface is web content wrapped in a native shell. The app gave that web content special powers through a bridge, but it did not stop the window from loading a different website. So an attacker could make a link that, when clicked, loaded their own page inside the trusted window, and that page inherited the special powers.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.