PT-2025-37319 · Gonja+1 · Gonja+1

Published

2025-09-12

·

Updated

2025-09-17

·

CVE-2025-9556

CVSS v3.1

9.8

Critical

VectorAV: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.

Related Identifiers

CVE-2025-9556
GHSA-MGCJ-G55G-RF6H

Affected Products

Gonja
Langchaingo