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.

INFO

Published Date :

2025-09-12T13:45:14.684Z

Last Modified :

2025-11-03T18:14:18.939Z

Source :

certcc
AFFECTED PRODUCTS

The following products are affected by CVE-2025-9556 vulnerability.

Vendors Products
Langchain
  • Langchain
REFERENCES

Here, you will find a curated list of external links that provide in-depth information to CVE-2025-9556.

CVSS Vulnerability Scoring System

Detailed values of each vector for above chart.
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact