CVE Explorer
CVE-2026-48061
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 poi
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"litestar","vendor":"litestar-org","versions":[{"status":"affected","version":"< 2.22.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:9bcd421dab7c2c5840ee929da9654364fea0a76c9941fbcb234e517639066b57 · sha256:ebf06ec2264025d2… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"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"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:9bcd421dab7c2c5840ee929da9654364fea0a76c9941fbcb234e517639066b57 · sha256:ebf06ec2264025d2… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-644","description":"CWE-644: Improper Neutralization of HTTP Headers for Scripting Syntax","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:9bcd421dab7c2c5840ee929da9654364fea0a76c9941fbcb234e517639066b57 · sha256:ebf06ec2264025d2… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/litestar-org/litestar/commit/6930a20ceb543912cd651b42deae5b9f3637a262","tags":["x_refsource_MISC"],"url":"https://github.com/litestar-org/litestar/commit/6930a20ceb543912cd651b42deae5b9f3637a262"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:9bcd421dab7c2c5840ee929da9654364fea0a76c9941fbcb234e517639066b57 · sha256:ebf06ec2264025d2… · /containers/cna/references/1
{"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"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:9bcd421dab7c2c5840ee929da9654364fea0a76c9941fbcb234e517639066b57 · sha256:ebf06ec2264025d2… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.