What’s Vulnerable › Vulnerabilities
CVE-2025-9556: CVE-2025-9556
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-09-12 · updated 2026-10-19
Description
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.
Affected products
- Langchaingo: 0.1.14
References
- https://github.com/tmc/langchaingo/pull/1348
- https://github.com/tmc/langchaingo/security/advisories/GHSA-mgcj-g55g-rf6h
- https://www.kb.cert.org/vuls/id/949137
Get alerted when CVE-2025-9556 or the next vulnerability affects your stack