{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-48061","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-05-20T18:25:25.707Z","datePublished":"2026-08-03T20:47:34.673Z","dateUpdated":"2026-08-04T15:05:11.301Z"},"containers":{"cna":{"title":"Litestar: AllowedHostsMiddleware bypasses host validation via client-controlled X-Forwarded-Host header","problemTypes":[{"descriptions":[{"cweId":"CWE-644","lang":"en","description":"CWE-644: Improper Neutralization of HTTP Headers for Scripting Syntax","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"}}],"references":[{"name":"https://github.com/litestar-org/litestar/security/advisories/GHSA-3qmc-cj7q-62hv","tags":["x_refsource_CONFIRM"],"url":"https://github.com/litestar-org/litestar/security/advisories/GHSA-3qmc-cj7q-62hv"},{"name":"https://github.com/litestar-org/litestar/commit/6930a20ceb543912cd651b42deae5b9f3637a262","tags":["x_refsource_MISC"],"url":"https://github.com/litestar-org/litestar/commit/6930a20ceb543912cd651b42deae5b9f3637a262"}],"affected":[{"vendor":"litestar-org","product":"litestar","versions":[{"version":"< 2.22.0","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-08-03T20:47:34.673Z"},"descriptions":[{"lang":"en","value":"Litestar is an Asynchronous Server Gateway Interface (ASGI) framework. In versions prior to 2.22.0, an attacker can bypass the allowed hosts validation by omitting the Host header and supplying an X-Forwarded-Host header set to a whitelisted domain. The AllowedHostsMiddleware trusts the X-Forwarded-Host header as a fallback when the Host header is absent. Since X-Forwarded-Host is a client-controllable header, this enables host header injection attacks such as password reset poisoning, cache poisoning, and server-side request routing manipulation. Any application using AllowedHostsConfig is affected when deployed without a reverse proxy that strips X-Forwarded-Host, or when accepting HTTP/1.0 connections. This issue has been fixed in version 2.22.0."}],"source":{"advisory":"GHSA-3qmc-cj7q-62hv","discovery":"UNKNOWN"}},"adp":[{"references":[{"url":"https://github.com/litestar-org/litestar/security/advisories/GHSA-3qmc-cj7q-62hv","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-04T13:33:39.144833Z","id":"CVE-2026-48061","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-08-04T15:05:11.301Z"}}]}}