CVE-2025-9556: Langchaingo server-side template injection vulnerability
Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerability
Langchaingo incorrectly handles prompt templates through the gonja library, enabling server-side template injection. Attackers can leverage this vulnerability to read sensitive local files via specially crafted prompt statements.
disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why
Details
- type
- Attack on AIAn AI model, agent or AI-powered product was the thing exploited, abused or leaked.
- categories
- Infrastructure vulnerabilityCVEs and advisories in AI frameworks, inference servers, MCP servers, AI developer tools and hosting stacks.
- Infrastructure vulnerability
- owasp llm top 10
- mitre atlas
- no technique for these categoriesBoth rows are derived from the type and categories (OWASP 2025 edition, ATLAS release 2026.09), not classified per record. How
- severity
- 2 · Disclosed vulnerabilityCVE or vendor advisory, patched or patchable, no confirmed exploitation.
- targets
- Framework / tooling
- products
- Langchaingo
- incident date
- 12 Sep 2025
- first reported
- 12 Sep 2025
- origin
- NVDVulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
- classifier confidence
- 0.95 · published at or above 0.80; see the methodology
- tags
- CVE-2025-9556 · ssti · langchaingo
- record
- created 2026-10-18 10:04Z · updated 2026-10-18 10:04Z · json
Sources · 1
- 2025-09-12CVE-2025-9556: Langchaingo supports the use of jinja2 syntax when parsing prompts, which is in turn parsed using the gonja library v1.5.3.NVD · nvd.nist.gov/vuln/detail/CVE-2025-9556
Titles and links belong to their publishers. The summary above is written by GCD AI RADAR in its own words; data is CC BY-SA 4.0.
Related incidents
- 2025-10-10Flowise vulnerable to arbitrary file exposure2 Disclosedon AIInfra vuln1 src
- 2025-10-08CVE-2025-61913: Flowise File Path Traversal Vulnerability2 Disclosedon AIInfra vuln2 src
- 2025-10-07CVE-2025-61620: vLLM resource exhaustion via malicious Jinja template2 Disclosedon AIInfra vuln1 src
- 2025-10-07CVE-2025-59425: vLLM vulnerable to timing attack at bearer auth2 Disclosedon AIInfra vuln2 src
- 2025-10-07CVE-2025-6242: vLLM vulnerable to SSRF through MediaConnector2 Disclosedon AIInfra vuln2 src
- 2025-10-06CVE-2025-6985: XML External Entity vulnerability in langchain-text-splitters2 Disclosedon AIInfra vuln1 src