LiveActive security incident?Get immediate response
CVE Record

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.

CriticalCVSS 9Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

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.
  • Pending supplier guidance, disable untrusted custom instructions or suspend affected MCP integrations.
  • Restrict connected agents' filesystem, credential, network, and deletion permissions.
  • Rotate credentials if logs suggest environment files or secrets were accessed unexpectedly.

Validation and detection

  • Confirm installed Context7 versions and document all MCP-connected agents.
  • Review custom instruction records for untrusted content or unexpected modifications.
  • Inspect agent and filesystem logs for unusual secret access or file deletion.
  • Review outbound network logs for unexpected destinations following documentation requests.
  • Verify agents operate with least privilege and cannot access unnecessary environment files.
Prepared
Confidence
medium
Sources
5

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.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-75130 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

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.

ScoreVersionSeverityVectorExploitImpactSource
9CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H2.36VulnCheck
6.4CVSS 4.0MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H——VulnCheck

Vulnerability scoring details

Base CVSS 4.0 score

6.4Medium
CVSS 4.0 vector shape for CVE-2026-75130Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
UptashContext70affected
Weakness

CWE details

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.