CVE-2025-9556
CRITICAL 9.8CVSS 3.1Langchaingo 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.
- Published
- 12 Sep 2025
- Last modified
- 19 Oct 2026
- Assigned by
- cret@cert.org
- NVD status
- Deferred
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
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
History
- 25 Nov 2026 20:58 UTC ยท NVD: first stored (published 12 Sep 2025)