cve.bz

CVE-2026-48061 litestar-org litestar

5.9 mediumEPSS 0.4%Fix available

Medium (5.9) in litestar-org litestar. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in litestar 2.22.0.

On this page
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.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 32nd percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-08-04. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-644 Improper Neutralization of HTTP Headers for Scripting Syntax
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • litestar (PyPI): fixed in 2.22.0

Ask an AI about this CVE

Show the promptExplain CVE-2026-48061 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-48061?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-48061?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-48061 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
litestar-org litestar< 2.22.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3qmc-cj7q-62hvPyPIlitestar<2.22.02.22.0
PYSEC-2026-2603PyPIlitestar<2.22.02.22.0

References

Check your stackJSON