CVE-2026-48061
Last modified
CVE-2026-48061 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| litestar-org | litestar | < 2.22.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-48061?
How severe is CVE-2026-48061?
How do I fix CVE-2026-48061?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-48054OpenZeppelin Contracts Wizardis a web application to interac…8.8
- CVE-2026-48055Streambert is a cross-platform Electron Desktop App to strea…10
- CVE-2026-48056Streambert is a cross-platform Electron Desktop App to strea…10
- CVE-2026-48058nebula-mesh is a self-hosted control plane for Slack Nebula …4.6
- CVE-2026-48059Netty is a network application framework for development of …7.5
- CVE-2026-48060Litestar is an Asynchronous Server Gateway Interface (ASGI) …8.1
- CVE-2026-48062CodeIgniter is a PHP full-stack web framework. Prior to 4.7.…9.8
- CVE-2026-48063Baileys is a cocket-based TS/JavaScript API for WhatsApp Web…9.3
- CVE-2026-48064pam_usb provides hardware authentication for Linux using ord…8.1
- CVE-2026-48065pam_usb provides hardware authentication for Linux using ord…6.7
- CVE-2026-48066pam_usb provides hardware authentication for Linux using ord…5.7
- CVE-2026-48067Filament is a collection of full-stack components for accele…6.5
Are you affected by CVE-2026-48061?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
