CVE-2025-9556
Last modified
CVE-2025-9556 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 0.67% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-9556?
How severe is CVE-2025-9556?
How do I fix CVE-2025-9556?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-9549Missing Authorization vulnerability in Drupal Facets allows …6.5
- CVE-2025-9550Improper Neutralization of Input During Web Page Generation …6.1
- CVE-2025-9551Improper Restriction of Excessive Authentication Attempts vu…6.5
- CVE-2025-9552Vulnerability in Drupal Synchronize composer.Json With Contr…5.3
- CVE-2025-9553Vulnerability in Drupal API Key manager.This issue affects A…5.3
- CVE-2025-9554Vulnerability in Drupal Owl Carousel 2.This issue affects Ow…5.3
- CVE-2025-9557An out-of-bound write can lead to an arbitrary code executi…7.6
- CVE-2025-9558There is a potential OOB Write vulnerability in the gen_prov…7.6
- CVE-2025-9559Pega Platform versions 8.7.5 to Infinity 24.2.2 are affected…6.5
- CVE-2025-9560The Colibri Page Builder plugin for WordPress is vulnerable …6.4
- CVE-2025-9561The AP Background plugin for WordPress is vulnerable to arbi…8.8
- CVE-2025-9562The Redirection for Contact Form 7 plugin for WordPress is v…6.4
Are you affected by CVE-2025-9556?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
