CVE-2025-25362
Python vulnerability analysis and mitigation

Overview

A Server-Side Template Injection (SSTI) vulnerability was discovered in Spacy-LLM version 0.7.2. The vulnerability was disclosed on March 5, 2025, and allows attackers to execute arbitrary code by injecting crafted payloads into the template field (NVD).

Technical details

The vulnerability stems from the unsafe usage of Jinja2 template engine functions in the software's codebase. The issue is specifically located in the template field processing, where the application uses vulnerable Jinja2 functions that can be exploited through template injection. The vulnerability has been assigned a CVSS v3.1 base score of 9.8 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, indicating its severe nature. The vulnerability is classified under CWE-94 (Improper Control of Generation of Code) (NVD, GitHub Issue).

Impact

The vulnerability allows attackers to execute arbitrary system commands without restrictions on the server host. Successful exploitation could lead to complete server takeover through techniques such as reverse shell implementation. The critical impact stems from the attacker's ability to execute any system command, potentially compromising the entire server infrastructure (GitHub Issue).

Mitigation and workarounds

The vulnerability has been fixed in versions newer than v0.7.2. Users are advised to upgrade to the latest version of Spacy-LLM to mitigate this vulnerability (GitHub Issue).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66471HIGH8.9
  • PythonPython
  • urllib3
NoYesDec 05, 2025
CVE-2025-66418HIGH8.9
  • PythonPython
  • python-urllib3
NoYesDec 05, 2025
CVE-2025-65958HIGH8.5
  • PythonPython
  • cpe:2.3:a:openwebui:open_webui
NoYesDec 04, 2025
CVE-2025-56427HIGH7.5
  • PythonPython
  • composio
NoNoDec 04, 2025
CVE-2025-63681MEDIUM4.3
  • PythonPython
  • open-webui
NoNoDec 04, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management