Skip to content
LLMMedium

CVE-2025-9556: Langchaingo supports the use of jinja2 syntax when parsing prompts, which is in turn parsed using th…

Occurred
Sep 12, 2025
Published
Sep 12, 2025
Source
NVD CVE

Summary

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.

Tags

  • CVE
  • CVE-2025-9556
  • cvss:CRITICAL

Classification

Category confidence: 90%
Severity confidence: 80%

Rationale: LLM framework vulnerability allows server-side template injection to read sensitive files.

Classifier: Qwen/Qwen3.5-35B-A3B-FP8

Visit source