Security mailing lists by PureSourceCode

CVE-2026-37004

CRITICAL 9.8CVSS 3.1

LiteLLM vulnerable to server-side template injection in the /prompts/test endpoint

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.

Published
27 Aug 2026
Last modified
10 Sep 2026
Assigned by
cve@mitre.org
NVD status
Deferred
Weakness
CWE-1336
Also known as
GHSA-6wvf-77m9-58rmPYSEC-2026-3861
Sources
NVDJSONOSV GHSA-6wvf-77m9-58rmJSONOSV PYSEC-2026-3861JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV PyPA CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV PyPI litellm < 1.83.7 1.83.7

References

History

  • 25 Nov 2026 21:05 UTC · NVD: first stored (published 27 Aug 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Sep 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 27 Aug 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.