gcdRadar
archive/Patch now/AIR-2025-0480
closedclosed 12 Sep 2025Patch now2 Disclosed vulnerabilityAI

CVE-2025-9556: Langchaingo server-side template injection vulnerability

Langchaingo

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

CVSS
9.8
EPSS
0.01 · top 47% · 2026-11-13
fix status
Fix status unknown
first report
12 Sep 2025
last update
12 Sep 2025

Timeline · 1

  1. 12 Sep 2025CVE-2025-9556: Langchaingo supports the use of jinja2 syntax when parsing prompts, which is in turn parsed using the gonja library v1.5.3.

Sources · 1

Titles and links belong to their publishers. The summary above is written by gcdRadar in its own words; data is CC BY-SA 4.0.

Classification

AI role
Attack on AI
categories
Infrastructure vulnerability
severity
2 · Disclosed vulnerability
fix status
Fix status unknown
targets
Framework / tooling
owasp llm top 10
LLM03:2025 Supply Chain
mitre atlas
no technique for these categories
dates
happened 12 Sep 2025 · first reported 12 Sep 2025
origin
NVD
Vulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
record
confidence 0.95 · created 2026-10-18 10:04Z · updated 2026-10-18 10:04Z

Lane, AI role, categories and severity come from the classifier; the OWASP and ATLAS rows are derived from the categories. How these are assigned

Copy a brief

This record as a short Markdown brief, for a ticket, a chat or a coding agent.

the brief as text
# CVE-2025-9556: Langchaingo server-side template injection vulnerability

https://gcdradar.vercel.app/incidents/cve-2025-9556-langchaingo-server-side-template-injection-vul · AIR-2025-0480 · closed 2025-09-12

- Lane: Patch now
- Severity: 2 (Disclosed vulnerability)
- Fix status: Fix status unknown
- First reported: 2025-09-12
- AI role: Attack on AI
- Products: Langchaingo
- CVE ids: CVE-2025-9556
- CVSS: 9.8

## Summary

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.

## What to do

No action recorded; read the sources below and the vendor's advisory.

## Latest updates

- 2025-09-12: CVE-2025-9556: Langchaingo supports the use of jinja2 syntax when parsing prompts, which is in turn parsed using the gonja library v1.5.3. (https://nvd.nist.gov/vuln/detail/CVE-2025-9556)

## Sources

- 2025-09-12 NVD: CVE-2025-9556: Langchaingo supports the use of jinja2 syntax when parsing prompts, which is in turn parsed using the gonja library v1.5.3. https://nvd.nist.gov/vuln/detail/CVE-2025-9556

Verify against the vendor's advisory before changing production. Data CC BY-SA 4.0, https://gcdradar.vercel.app.

Related

  1. closed
    Flowise Flowise vulnerable to arbitrary file exposure

    Patch now · Disclosed · since 10 Oct 2025

    AI
  2. closed9.9
    Flowise CVE-2025-61913: Flowise File Path Traversal Vulnerability

    Patch now · Disclosed · since 8 Oct 2025 · updated 9 Oct 2025 · CVE-2025-61913

    AI
  3. closed6.5
    vLLM CVE-2025-61620: vLLM resource exhaustion via malicious Jinja template

    Patch now · Disclosed · since 7 Oct 2025 · CVE-2025-61620

    AI
  4. closed7.5
    vLLM CVE-2025-59425: vLLM vulnerable to timing attack at bearer auth

    Patch now · Disclosed · since 7 Oct 2025 · CVE-2025-59425

    AI
  5. closed7.1
    vLLM CVE-2025-6242: vLLM vulnerable to SSRF through MediaConnector

    Patch now · Disclosed · since 7 Oct 2025 · CVE-2025-6242

    AI
  6. closed7.5
    AI