{"resourceId":"litellm-ghsa-w4c7-enterprise-proxy-master-key-leak-20261027","versions":[{"version":"external-fef3bce0cce9f999c246961b6058b74166be5197fc848b1f5dee2f2ca8ef0db1","resource":{"id":"litellm-ghsa-w4c7-enterprise-proxy-master-key-leak-20261027","title":"LiteLLM critical advisory: unauthenticated requests to Enterprise-licensed proxies could leak the master key and provider keys from the process environment","organization":"BerriAI (LiteLLM maintainers)","sector":"Cross-SLED AI gateway operations","geography":"Global open-source software advisory","publishedAt":"2026-10-27","publicationDate":"2026-10-27","eventDate":"2026-10-27","sourceName":"GitHub Security Advisory (BerriAI/litellm)","sourceLabel":"GHSA-w4c7-34wj-hqm8: Unauthenticated file read leaks master key on Enterprise proxy","sourceUrl":"https://github.com/BerriAI/litellm/security/advisories/GHSA-w4c7-34wj-hqm8","evidenceClass":"independent-research","outcomeClass":"cautionary","topics":["data-security","developers-agents","governance-procurement"],"finding":"LiteLLM's critical advisory, published October 27, 2026, says an unauthenticated request to any LLM route on a proxy running with an Enterprise license could make it read a local file such as /proc/self/environ and send it to an attacker URL, exposing LITELLM_MASTER_KEY and provider keys and, in some configurations, allowing code execution as root. Patched versions are 1.103.10, 1.104.8, 1.105.6 and 1.106.5. Open-source deployments without a license are not affected. Why now: AWS's November 12 gateway post requires the Enterprise edition for self-service keys and sets the master key as an environment variable, and Amazon's November 13 report shows attackers hunting LiteLLM master keys.","sledRelevance":"Any agency or campus that follows AWS's new gateway guidance would be running the affected edition and the environment-variable key pattern the advisory warns against. The advisory's mitigations (patch, load the key from a secret manager rather than the process environment, restrict egress, keep the proxy off the internet) are directly actionable for SLED platform teams. It is not specific to public sector.","evidence":"Maintainer security advisory with affected and patched versions and mitigations. It does not report exploitation counts. Not AWS-authored; independent of AWS's guidance.","architectureImplications":"Affects Enterprise-licensed LiteLLM proxies whose LLM routes accept certain callback-related JSON keys. Exfiltration requires outbound access from the proxy to an attacker-controlled endpoint.","governanceImplications":"Organizations adopting AI gateways need a patch-tracking owner and should require vendor advisories to be monitored as part of the gateway's operating model.","securityPrivacyImplications":"Defense in depth: load the master key from a secret manager instead of the process environment, set a separate LITELLM_SALT_KEY, allowlist egress to provider endpoints, block request bodies containing callback keys at a WAF, and keep the proxy behind VPN, mTLS or authenticated ingress. Rotate master and provider keys if exposed.","caveats":"Advisory predates the last run; included because two AWS sources in this edition make it newly relevant. No exploitation data; credit section truncated in retrieved text.","streamIds":["aws"],"roles":{"sales":"Interpretation: this is a due-diligence point, not a sales hook. The customer problem is that a widely recommended AI gateway had a critical key-leak flaw in exactly the licensed edition AWS's guide requires. Stakeholders are the CISO, platform owner and procurement. Discovery should ask whether LiteLLM is deployed, which version and license, and where the master key lives. Offer a quick configuration and patch review; the advisory provides no exploitation figures, so avoid implying agencies were hit.","engineering":"Interpretation: fit is any LiteLLM Enterprise proxy, including deployments following AWS's November 12 post. Engineers should confirm a patched version, move the master key out of process environment variables where possible, set LITELLM_SALT_KEY, allowlist egress to Bedrock endpoints, and block callback keys in request bodies at the WAF. Constraint: the AWS post's environment-variable pattern conflicts with the advisory's defense-in-depth advice. Proof of value is a version check, an egress test and key rotation evidence.","delivery":"Interpretation: deliver as a patch and hardening change. Dependencies are an inventory of LiteLLM instances, a change window and Secrets Manager integration. Ownership sits with the platform team, with security verifying. Governance checkpoints include patch SLA tracking and key rotation records. Proposed acceptance criteria are all instances on patched versions, egress restricted and keys rotated. Risks are forgotten pilot instances, breaking changes in upgrades and incomplete rotation of downstream provider keys."},"roleDetails":{"sales":{"customerProblem":"A popular AI gateway's licensed edition could leak its master key and provider keys to unauthenticated requests.","stakeholders":["CISO","Platform owner","Procurement","AI program lead"],"discoveryQuestions":["Is LiteLLM running anywhere, and on which version and license?","Where is the master key loaded from?","Can the proxy reach arbitrary internet endpoints?","Were keys rotated after patching?"],"valueHypothesis":"A patch and hardening review closes a known critical path to AI and cloud keys; it does not prove no prior compromise.","potentialEngagement":"A bounded LiteLLM patch, egress and secret-handling review.","unsupportedClaims":["That exploitation occurred in SLED environments","That open-source unlicensed deployments are affected","That patching alone removes keys already leaked"]},"engineering":{"fit":"Fits teams running LiteLLM Enterprise in front of Bedrock or other providers.","architectureIntegration":"Patch the proxy, load secrets from a secret manager, allowlist egress to provider endpoints and front the proxy with authenticated ingress and WAF rules.","prerequisites":["Instance inventory","Change window","Secrets manager integration"],"constraints":["Conflicts with environment-variable key pattern in AWS guide","Upgrades may change behavior","No exploitation telemetry"],"security":"Rotate master and provider keys after patching; block callback keys in request bodies; keep proxy off the public internet.","proofOfValue":["Version check on every instance","Egress test to an unapproved endpoint fails","Key rotation evidence recorded"]},"delivery":{"work":"Inventory, patch, harden egress and secret loading, rotate keys and document.","dependencies":["Platform team availability","Provider key owners","Security verification"],"ownership":"Platform engineering team, with security verifying","skillsAdoption":"Platform staff need to track advisories for open-source AI components.","governanceCheckpoints":["Patch SLA tracking","Key rotation record","Egress policy approval"],"acceptanceCriteria":["Proposed: 100% of instances on patched versions","Proposed: egress limited to provider endpoints","Proposed: master and provider keys rotated"],"risks":["Forgotten pilot instances","Upgrade regressions","Incomplete key rotation"]}},"retrievedAt":"2026-11-14T04:01:07Z","enrichedAt":"2026-11-14T04:06:32Z","enrichmentBasis":"retrieved source","accessibilityWorkforceImplications":"No accessibility content.","procurementImplications":"Enterprise licenses bring features but also this exposure; procurement should require security advisory notification and patch SLAs from the gateway vendor.","operatingModelImplications":"Add the gateway to vulnerability management with version pinning, and rotate keys after patching if exposure is possible.","sourceVerification":{"openedUrl":"https://github.com/BerriAI/litellm/security/advisories/GHSA-w4c7-34wj-hqm8","referenceExcerpt":"Reading a file like /proc/self/environ exposes LITELLM_MASTER_KEY and provider API keys, which gives the attacker full admin access to the proxy.","promptVersion":"sled-research-v4.0","model":null,"basis":"agent-reported inspection"}}}]}