{"data":{"id":"128ebf5f-466f-4816-870c-9f727681933d","title":"GHSA-xqmj-j6mv-4862: LiteLLM: Server-Side Template Injection in /prompts/test endpoint","summary":"LiteLLM's POST /prompts/test endpoint rendered user-supplied prompt templates without sandboxing, so a crafted template could run arbitrary code inside the LiteLLM Proxy process. Any caller with a valid proxy API key can reach the endpoint, which may expose environment secrets and allow host commands depending on deployment.","solution":"Fixed in 1.83.7-stable, which switches the prompt template renderer to a sandboxed environment. LiteLLM recommends upgrading to 1.83.7-stable or later. If upgrading is not immediately possible, block POST /prompts/test at your reverse proxy or API gateway, and review and rotate API keys that should not have access to prompt management routes.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-xqmj-j6mv-4862","publishedAt":"2026-04-24T16:02:42.000Z","cveId":null,"cweIds":null,"cvssScore":null,"cvssSeverity":"high","severity":"high","attackType":["other"],"issueType":"vulnerability","affectedPackages":["litellm@>= 1.80.5, < 1.83.7 (fixed: 1.83.7)"],"affectedPackageNames":["litellm"],"affectedPackageRefs":["pypi:litellm"],"affectedVendors":[],"affectedVendorsRaw":["LiteLLM","LiteLLM Proxy"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":null,"epssScore":null,"epssCheckedAt":null,"kevDateAdded":null,"advisoryAliases":["GHSA-xqmj-j6mv-4862"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-04-24T16:02:42.000Z","fixReleasedAt":"2026-04-13T17:34:58.360Z","daysToFix":-11,"fixCheckedAt":"2026-10-29T21:37:24.384Z","capecIds":null,"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity"],"aiComponentTargeted":"api","llmSpecific":true,"classifierConfidence":0.95,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"pypi","name":"litellm","fixedVersion":"1.83.7","matchedVersion":"1.83.7","fixReleasedAt":"2026-04-13T17:34:58.360Z","daysToFix":-11,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:37:24.238Z"}]}}