Skip to content
Cursor Vulnerability Allows API Key Theft via Rogue Extensions

Cursor Vulnerability Allows API Key Theft via Rogue Extensions

First seen 29 Apr 2026, 15:32 UTC • •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •April 30, 2026 at 15:04 UTC
  • •Cursor's vulnerability allows any extension to access sensitive API keys and session tokens.
  • •The flaw has a CVSS score of 8.2 and remains unpatched as of April 28, 2026.
  • •Malicious extensions can extract credentials without user interaction, increasing the risk of data theft.

A high-severity vulnerability in the Cursor AI development tool enables any installed extension to access sensitive API keys and session tokens without user interaction. Discovered by LayerX, this flaw has a CVSS score of 8.2 and stems from Cursor's use of an unprotected local SQLite database for storing credentials. As a result, any extension, regardless of permissions, can directly query this database, leading to potential credential theft and unauthorized access to third-party services. LayerX reported the issue to Cursor, which acknowledged it but stated that users must define their own trust boundaries. As of April 28, 2026, the vulnerability remains unpatched, posing significant risks to developers using Cursor. Malicious extensions can be disguised as harmless tools, making detection challenging. The implications extend beyond Cursor, potentially affecting services like OpenAI and Google.

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

Updated 169d ago How this analysis works

Timeline

2026-04-28
LayerX reports vulnerability to Cursor.
2026-04-29
LayerX publishes findings on Cursor vulnerability.
2026-04-30
Cybersecurity news articles report on the ongoing vulnerability.

More articles in this cluster (4)

Following this threat?

Track Cursor in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.

Free account · no card needed