PT-2025-37319 · Gonja+1 · Gonja+1
Published
2025-09-12
·
Updated
2025-09-17
·
CVE-2025-9556
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions:
langchaingo (affected versions not specified)
Description:
langchaingo utilizes the gonja library version 1.5.3 to parse prompts that support jinja2 syntax. The gonja library’s support for
include and extend syntax, which allows reading files, introduces a server-side template injection issue. This allows an attacker to inject a statement into a prompt to read arbitrary files, such as the /etc/passwd file.Recommendations:
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Gonja
Langchaingo