Vulnerability · Published Jun 23, 2025 · Assigned by VulDB
CVE-2025-6518PySpur-Dev pyspur Jinja2 Template single_llm_call.py SingleLLMCallNode special elements used in a template engine
Medium 6.3
In plain English
A medium-severity security flaw in pyspur from PySpur-Dev. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 34% of all known vulnerabilities).
Official description
A vulnerability was found in PySpur-Dev pyspur up to 0.1.18. It has been classified as critical. Affected is the function SingleLLMCallNode of the file backend/pyspur/nodes/llm/single_llm_call.py of the component Jinja2 Template Handler. The manipulation of the argument user_message leads to improper neutralization of special elements used in a template engine. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | pyspur | no fix listed | GHSA-8gff-cf92-72pv |
| PyPI | pyspur | no fix listed | PYSEC-2026-1844 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| PySpur-Dev | pyspur | 0.1.00.1.10.1.20.1.30.1.40.1.50.1.60.1.7 |
Weakness: CWE-1336, CWE-791 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
References
- VDB-313638 | PySpur-Dev pyspur Jinja2 Template single_llm_call.py SingleLLMCallNode special elements used in a template engine vdb-entry, technical-description
- VDB-313638 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- Submit #593612 | PySpur-Dev pyspur <=v0.1.18 Remote Code Execute third-party-advisory
- https://github.com/PySpur-Dev/pyspur/issues/289 exploit, issue-tracking