Server‑Side Template Injection in BerriAI litellm Enables Remote Code Execution
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | n/a | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Berriai | Litellm |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-6wvf-77m9-58rm | LiteLLM vulnerable to server-side template injection in the /prompts/test endpoint |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.799% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Server‑Side Template Injection in BerriAI litellm Enables Remote Code Execution |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Litellm SSTI Vulnerability Enabling Unauthenticated Remote Code Execution | |
| Weaknesses | CWE-94 |
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-1336 | |
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Litellm SSTI Vulnerability Enabling Unauthenticated Remote Code Execution | |
| Weaknesses | CWE-94 |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Berriai
Berriai litellm |
|
| Vendors & Products |
Berriai
Berriai litellm |
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| References |
|