CVE-2026-75130: Context7 2.1.2 Prompt Injection via Custom AI Instructions
Context7 through 2.1.2 contains a prompt injection vulnerability that allows attackers to execute malicious instructions in connected AI coding agents by injecting unsanitized content through the Custom AI Instructions feature served via the MCP server. Attackers can poison the custom instructions to exfiltrate credentials from environment files to an attacker-controlled service and perform destructive file deletion on the victim's machine when the agent makes a routine library documentation request.
Security readout for executives and security teams
Plain-English summary
Context7 can pass attacker-controlled Custom AI Instructions to connected coding agents. A routine documentation request may then cause the agent to expose credentials or delete files, depending on its permissions. This creates serious confidentiality, integrity, and availability risk for development environments.
Executive priority
Prioritize immediate exposure discovery and containment. Environments combining affected Context7 functionality with highly privileged coding agents warrant urgent action because a documentation workflow could cross into credential theft or destructive file operations. Escalate suspected activity to incident response.
Technical view
CVE-2026-75130 is an unsanitized prompt-injection flaw in Context7 through 2.1.2, delivered through its MCP server. The CVSS 3.1 score is 9.0, with network reachability, low complexity, required privileges and user interaction, changed scope, and high impact across confidentiality, integrity, and availability.
Likely exposure
Exposure is most likely where Context7 through 2.1.2 uses Custom AI Instructions with MCP-connected coding agents. Risk increases when those agents can read environment files, access valuable credentials, make outbound connections, or modify and delete local files.
Exploitation context
The cited technical disclosure describes credential exfiltration and destructive file deletion. However, the bundle marks this CVE as absent from KEV and provides no evidence of active exploitation in the wild. Treat the disclosed capability as demonstrated, not confirmed widespread abuse.
Researcher notes
CWE-1427 and the supplied narrative identify prompt injection through Custom AI Instructions. The structured affected entry lists version “0,” conflicting with the description stating through 2.1.2. No fixed version is named in the bundle, so confirm the authoritative affected range and remediation with the supplier.
Mitigation direction
Identify Context7 deployments and determine whether Custom AI Instructions are enabled.
Check current supplier guidance for a fixed release or officially supported mitigation.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-1427: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
3Timeline events
1ADP providers
4Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-1427 · source CWE mapping
Improper Neutralization of Input Used for LLM Prompting
Improper Neutralization of Input Used for LLM Prompting represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.