# CVE-2025-9556: CVE-2025-9556

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.68%, higher than 53% of CVEs (2026-12-01)
- Published: 2025-09-12T13:45:14.684Z
- Modified: 2026-10-19T17:10:00.173Z
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: certcc

## 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.

(As written by CVE List.)

## Affected

- Langchaingo Langchaingo: 0.1.14

## References

- <https://github.com/tmc/langchaingo/security/advisories/GHSA-mgcj-g55g-rf6h>
- <https://github.com/tmc/langchaingo/pull/1348>
- <https://www.kb.cert.org/vuls/id/949137>

## Sources

- CVE List: [CVE-2025-9556](https://www.cve.org/CVERecord?id=CVE-2025-9556), CVE Terms of Use, modified 2025-11-03
- NVD: [CVE-2025-9556](https://nvd.nist.gov/vuln/detail/CVE-2025-9556), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-9556 · Whole record: https://cve.day/CVE-2025-9556.json · Rebuilt by cve.day 2026-11-25T22:59:04.600Z
