惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Last Week in AI
Last Week in AI
阮一峰的网络日志
阮一峰的网络日志
P
Proofpoint News Feed
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
MongoDB | Blog
MongoDB | Blog
云风的 BLOG
云风的 BLOG
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
J
Java Code Geeks
WordPress大学
WordPress大学
T
The Blog of Author Tim Ferriss
V
Visual Studio Blog
小众软件
小众软件
Microsoft Azure Blog
Microsoft Azure Blog
博客园_首页
IT之家
IT之家
Vercel News
Vercel News
C
Check Point Blog
Google DeepMind News
Google DeepMind News
月光博客
月光博客
D
DataBreaches.Net
酷 壳 – CoolShell
酷 壳 – CoolShell
美团技术团队
Y
Y Combinator Blog
Hugging Face - Blog
Hugging Face - Blog

www.infosecurity-magazine.com

Just Three Ransomware Gangs Accounted for 40% of Attacks Last Month Google Chrome Rolls Out Protection Against Infostealers Targeting Session Cookies STX RAT Targets Finance Sector With Advanced Stealth Tactics Bitcoin Depot Reports $3.6m Crypto Theft After System Breach Atomic Stealer MacOS ClickFix Attack Bypasses Apple Security Warnings Middle East Hack-for-Hire Operation Traced to South Asian Cyber Espionage Group Governance Gaps Emerge as AI Agents Drive 76% Increase in NHIs Google Warns of New Threat Group Targeting BPOs and Helpdesks Google API Keys Quietly Gain Access to Gemini on Android Devices Critical Vulnerability in Ninja Forms Exposes WordPress Sites Anthropic Launches Project Glasswing to Use AI to Find and Fix Critical Software Vulnerabilities US Thwarts DNS Hijacking Network Controlled by Russian APT28 Hackers Claude Discovers Apache ActiveMQ Bug Hidden for 13 Years Iran‑Backed Threat Actors Hit US CNI Providers via Internet‑Facing OT Assets Russian APT28 Hackers Hijack Routers to Steal Credentials, UK Security Agency Warns GPU Rowhammer Attack Enables Privilege Escalation and Full System Compromise GrafanaGhost Exploit Bypasses AI Guardrails for Silent Data Exfiltration Over $17bn Lost to Cyber Fraud in the Last Year, Warns FBI Storm-1175 Exploits Flaws in High-Velocity Medusa Attacks Fortinet Releases Emergency Patch After FortiClient EMS Bug Is Exploited New Phishing Platform Used in Credential Theft Campaigns Against C-Suite Execs New 'Storm' Infostealer Remotely Decrypts Stolen Credentials NCSC Issues Security Alert Over Hackers Targeting WhatsApp and Signal Accounts Apple Expands iOS 18 Security Updates Amid DarkSword Threat Researchers Observe Sub-One-Hour Ransomware Attacks GitHub Used as Covert Channel in Multi-Stage Malware Campaign Most CNI Firms Face Up to £5m in Downtime from OT Attacks Google Introduces Android Dev Verification Amid Openness Debate New Venom Stealer MaaS Platform Automates Continuous Data Theft Chinese Hackers Target European Governments in Espionage Campaigns
Cursor Extension Flaw Exposes Developer API Keys
Alessandro Mascellino · 2026-04-29 · via www.infosecurity-magazine.com

A high-severity vulnerability in the AI-powered development tool Cursor allows installed extensions to access sensitive credentials, exposing API keys and session tokens without any user interaction.

According to research by LayerX, the issue stems from how Cursor stores secrets locally, leaving them accessible to any extension regardless of permissions. LayerX assigned the flaw a CVSS score of 8.2 and warned that it could enable full credential compromise across a developer's environment.

Cursor reportedly acknowledged the notice but stated that defining trust boundaries is the user's responsibility. The issue remains unresolved as of April 28, 2026.

Weak Storage Design Enables Credential Access

At the core of the flaw is Cursor's use of a local SQLite database to store authentication data, including API keys and session tokens, according to LayerX. This database is not protected by standard mechanisms such as operating system keychains, which are typically used to safeguard sensitive information.

Because Cursor does not enforce access controls between extensions and local storage, any extension can directly query the database. This applies even to extensions that request no special permissions, making detection difficult.

Researchers demonstrated that a malicious extension could retrieve:

  • API keys tied to third-party services

  • Session tokens used for authentication

  • Cached configuration data

Once extracted, this information can be transmitted externally without triggering alerts or visible activity. The absence of permission prompts or warnings further increases the risk to developers who install extensions from marketplaces or repositories.

Attack Chain and Broader Impact

The attack sequence requires minimal effort, LayerX warned. An attacker can disguise a malicious extension as a harmless tool, such as a theme or productivity add-on. After installation, the extension gains code execution within Cursor and can immediately access local credential storage.

From there, sensitive data is extracted and silently exfiltrated to an external server. No additional user action is required, and the process leaves little trace.

Read more on API security risks: 99% of Organizations Report API-Related Security Issues

The consequences extend beyond Cursor itself. Stolen API keys can be used to access third-party platforms such as OpenAI, Anthropic or Google services. This creates several downstream risks:

  • Unauthorized API usage leading to financial loss

  • Exposure of prompts, outputs and metadata

  • Potential misuse of services for further attacks

Without isolation between extensions and sensitive data, the vulnerability effectively grants any installed extension broad access to a developer's environment. The findings highlight ongoing challenges in securing extensible development platforms, especially as AI tooling becomes more widely adopted.