{"id":"CVE-2026-59823","aliases":["CVE-2026-59823","GHSA-hx8v-g79f-8w5f","PYSEC-2026-4070"],"related":[],"kind":"vulnerability","state":"published","title":"LiteLLM: Server-side request forgery via the `user_config` request parameter in LiteLLM Proxy","summary":"LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. Prior to 1.83.9, an authenticated LiteLLM Proxy caller with a valid virtual key can place api_base inside the user_config request body to bypass is_request_body_safe, which blocks top-level api_base and base_url but previously did not inspect or reject user_config. Because user_config constructs the outbound router, the nested destination redirects a server-side request to an internal or external host selected by the caller and can expose endpoints the caller cannot otherwise access. This issue is fixed in version 1.83.9.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. Prior to 1.83.9, an authenticated LiteLLM Proxy caller with a valid virtual key can place api_base inside the user_config request body to bypass is_request_body_safe, which blocks top-level api_base and base_url but previously did not inspect or reject user_config. Because user_config constructs the outbound router, the nested destination redirects a server-side request to an internal or external host selected by the caller and can expose endpoints the caller cannot otherwise access. This issue is fixed in version 1.83.9.","source":"cvelist"},{"lang":"en","text":"### Summary\nA server-side request forgery in LiteLLM Proxy lets an authenticated caller redirect the\nproxy's outbound request to a host of their choosing by smuggling an `api_base` inside the\n`user_config` request body, bypassing the existing parameter guard.\n\n### Details\nLiteLLM Proxy validates request bodies with `is_request_body_safe`, which blocks the\n`api_base` and `base_url` parameters but does not cover `user_config`. The `user_config`\nobject is used to build the outbound router for a request, so a caller can place an\n`api_base` inside it and reach an arbitrary host. The guard only inspected the two\ntop-level keys, so the same `api_base` nested inside `user_config` was never checked.\n\nExploitation requires a valid virtual key.\n\n### Impact\nAn authenticated caller can make the proxy issue server-side requests to internal or\nexternal hosts of their choosing, reaching endpoints the caller cannot otherwise access.\n\n### Affected / Patched\nAffected: `<= 1.83.8`\nPatched: `1.83.9`\n\n### Remediation\nUpgrade to 1.83.9 or later (released 2026-04-17).","format":"markdown","source":"ghsa"}],"published":"2026-09-16T18:36:21.105Z","modified":"2026-10-01T17:55:42.736Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N"}],"cwes":["CWE-918"],"affected":[{"ranges":[{"version":"< 1.83.9","status":"affected"}],"vendor":"BerriAI","product":"litellm","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.83.9"}],"ecosystem":"PyPI","package":"litellm","purl":"pkg:pypi/litellm","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.83.9"}],"ecosystem":"PyPI","package":"litellm","purl":"pkg:pypi/litellm","source":"pysec"}],"references":[{"url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-hx8v-g79f-8w5f","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/BerriAI/litellm/pull/25827","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/BerriAI/litellm/commit/47214be317f45a2d2ac08258362e0481411eb427","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59823","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/BerriAI/litellm","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/litellm","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-hx8v-g79f-8w5f","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-17T15:07:39.533Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-59823","url":"https://www.cve.org/CVERecord?id=CVE-2026-59823","licence":"CVE Terms of Use","modified":"2026-09-17T15:07:47.837Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hx8v-g79f-8w5f","url":"https://github.com/advisories/GHSA-hx8v-g79f-8w5f","licence":"CC-BY-4.0","modified":"2026-10-01T17:55:42.736Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-59823","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59823","licence":"Public domain","modified":"2026-09-30T17:43:24.057Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-4070","url":"https://osv.dev/vulnerability/PYSEC-2026-4070","licence":"CC-BY-4.0","modified":"2026-10-01T17:45:05.570Z"}],"updatedAt":"2026-11-25T22:59:39.093Z","epss":{"score":0.05467,"percentile":0.92927,"date":"2026-12-01T12:00:22.000Z"}}