CVE-2025-9556Langchaingo
Critical 9.8 No auth needed
Follow: this CVE · Langchaingo · Langchaingo We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Sep 12, 2025
- Updated
- Oct 19, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Langchaingo supports the use of jinja2 syntax when parsing prompts, which is in turn parsed using the gonja library v1.5.3.
Gonja supports include and extends syntax to read files, which leads to a server side template injection vulnerability within langchaingo, allowing an attacker to insert a statement into a prompt to read the "etc/passwd" file.
What to do
- Apply the vendor's security update for Langchaingo.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- Langchaingo · Langchaingo
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.