---
id: CVE-2026-75130
title: >-
  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…
summary: >-
  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…
severity: critical
cvss: 9
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H'
published: '2026-08-18'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T20:06:30.133'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-75130'
references:
  - url: >-
      https://noma.security/blog/contextcrush-context7-the-mcp-server-vulnerability/
    label: disclosure@vulncheck.com
  - url: >-
      https://www.linkedin.com/posts/upstash_mcp-server-vulnerability-in-context-7-activity-7435686676049387520-PBVo/
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/context7-prompt-injection-via-custom-ai-instructions
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.0049
epssPercentile: 0.39461
ingestedAt: '2026-09-24T20:51:40.208Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
