PyPA Advisory Database
PYSEC-2026-1844
pyspur Incomplete Filtering of Special Elements allowed by SingleLLMCallNode function
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | pyspur | All versions up to and including 0.1.18 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-6518
- https://github.com/PySpur-Dev/pyspur/issues/289
- https://github.com/PySpur-Dev/pyspur
- https://vuldb.com/?ctiid.313638
- https://vuldb.com/?id.313638
- https://vuldb.com/?submit.593612
- https://pypi.org/project/pyspur
- https://github.com/advisories/GHSA-8gff-cf92-72pv