S4E just found a medium-severity finding from [ai] private ip disclosure detection scanner
Platform
PlansPartners
Resources
ToolsBlogDocs
Sign Up →
critical·Product Based Network Vulnerabilities·Updated Nov 30, 2026

CVE-2026-37004 Scanner

CVE-2026-37004 Scanner - Server Side Template Injection (SSTI) vulnerability in LiteLLM

How to fix it
Est. Time~10 seconds
Scan TypeGroup Scan
Targetsdomain, subdomain, ipv4
CostFree
0
Times Used
continuous scan runs
4.8k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
9.8
CVSScritical
Exploitable remotely over the internet · no authentication required.
Description

BerriAI litellm <=1.82.4 is vulnerable to Server-Side Template Injection (SSTI), which allows unauthenticated remote attackers to execute arbitrary OS commands via a crafted dotprompt_content parameter in the /prompts/test endpoint due to use of an unsandboxed jinja2.Environment.

Attack Vector
Network
Privileges Req.
None
User Interaction
None
Affected
n/aby n/a
n/a
Updated Dec 2, 2026View on NVD →
Detail

LiteLLM is a lightweight machine learning model proxy used by developers and businesses within the AI development sector. It is designed to simplify communication with large language models (LLMs) by providing an easy-to-use interface. Organizations leveraging AI for automation and data insights typically utilize LiteLLM to handle complex language model interactions. Its primary use is in environments where developers need to swiftly connect and manage requests and responses with various AI models seamlessly. Version dependencies and security configurations are crucial for optimal performance and security of platforms using LiteLLM. Proper configuration and version updates prevent vulnerabilities and ensure that the proxy remains secure in various environments.

The detected Server Side Template Injection (SSTI) vulnerability in LiteLLM allows remote attackers to execute arbitrary commands. This vulnerability arises because of using unsandboxed jinja2 environments, leading to potential security breaches. Attackers can exploit this by injecting malicious templates through request endpoints. The unsandboxed nature of the jinja2 environment allows access to sensitive functions and potentially harmful activities. Organizations using affected versions are at risk of having their systems compromised by unauthorized command executions. The vulnerability poses a critical risk to data integrity and security.

Technical details of the vulnerability reveal that the POST /prompts/test endpoint is particularly susceptible. The dotprompt_content parameter within this endpoint is not properly sandboxed, allowing attackers to leverage this input to perform command injections. Utilizing jinja2 templates, attackers can reach os.popen through template globals. This mechanism enables arbitrary operating system command execution by unauthorized entities. These vulnerabilities, particularly due to missing master keys in configurations, facilitate unauthenticated access for attackers. Organizations need to be vigilant about the version and configuration of their LiteLLM installations to prevent exploitation.

Exploitation of this vulnerability could lead to severe repercussions, including unauthorized access and control over the host system. Attackers might execute harmful system commands, access sensitive data, or disrupt service operations. The integrity, confidentiality, and availability of systems using affected LiteLLM versions could be compromised. Such breaches could result in data loss, unauthorized disclosure, and potentially high recovery and reputational costs. Securing the server by proper configurations and updates is essential to prevent these potential threats from materializing.

REFERENCES

Solution Advice
  • Upgrade LiteLLM to version 1.83.7 or later to ensure vulnerabilities are patched.
  • Ensure configurations include a master key to restrict unauthorized access.
  • Regularly review and update security measures and configurations based on the latest guidelines for LiteLLM.
  • Conduct continuous monitoring and auditing of systems to detect and respond to potential threats promptly.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

12,000+ scanners. Free to start. No credit card required.

Browse All Tools