CVE-2025-9556
CRITICAL EPSS 47.2%
Published Sep 12, 20259mo ago · Modified Jun 17, 20262w ago
9.8 CVSS 3.1
Published Sep 12, 2025 9mo ago
Last Modified Jun 17, 2026 2w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High
Threat Intelligence
EPSS Exploit Probability
47.2% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available
References 3
- github.com https://github.com/tmc/langchaingo/pull/1348
- github.com https://github.com/tmc/langchaingo/security/advisories/GHSA-mgcj-g55g-rf6h
- kb.cert.org https://www.kb.cert.org/vuls/id/949137
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.