> CVE-2026-48061 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-08-03 21:16
MODIFIED
2026-08-03 21:16
CVSS_SCORE V3
5.9
EPSS (Prob. Exploit)
0.38%
Top 68.5%
DATA SOURCES:
NVD đź”— 2026-08-03 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-11-01 GITHUB đź”— 2026-10-15 OSV đź”— 2026-11-02

> 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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
EXPLOITABILITY
2.2
IMPACT
3.6

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-644

> CWE DETAILED DESCRIPTIONS

CWE-644: Improper Neutralization of HTTP Headers for Scripting Syntax - The product does not neutralize or incorrectly neutralizes web scripting syntax in HTTP headers that can be used by web browser components that can process raw headers, such as Flash.

> GITHUB SECURITY ADVISORY

GHSA-3qmc-cj7q-62hv MODERATE

Litestar: AllowedHostsMiddleware bypasses host validation via client-controlled X-Forwarded-Host header

AFFECTED PACKAGES:
PIP / litestar
< 2.22.0
Fixed in: 2.22.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Litestar: AllowedHostsMiddleware bypasses host validation via client-controlled X-Forwarded-Host header

AFFECTED PACKAGES:
Unknown / Unknown
184 versions affected
ALIASES:
GHSA-3qmc-cj7q-62hv, PYSEC-2026-2603

> HISTORIQUE DES MODIFICATIONS

Première apparition
03/08/2026 21:16
Source: NVD
📊 ENRICHISSEMENT 01/09/2026 06:02
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-644: Improper Neutralization of HTTP Headers for Scripting Syntax - The product does not neutralize or incorrectly neutralizes web scripting syntax in HTTP headers that can be used by web browser ...
Total des modifications: 1 Dernière mise à jour: 2 months ago

> REFERENCES

https://github.com/litestar-org/litestar/commit/6930a20ceb543912cd651b42deae5b9f...
https://github.com/litestar-org/litestar/security/advisories/GHSA-3qmc-cj7q-62hv
« BACK_TO_HOME