Approved changes feed: RSS · Atom

cpe:2.3:a:litestar-org:litestar:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorLitestar Org (34ff73a2-b8f5-5f79-826a-8d0660a1f60b)
ProductLitestar (4fca9cd3-171d-59d8-b458-d9769d973cd9)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*

Notes

Imported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
No PURL mappings for this CPE yet.

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-48061 vulnerable 2026-09-16 04:33:04.899940 Litestar: AllowedHostsMiddleware bypasses host validation via client-controlled X-Forwarded-Host header
MEDIUM (5.9)
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.
Published: 2026-08-03T20:47:34.673Z
Updated: 2026-08-04T15:05:11.301Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-48060 vulnerable 2026-09-16 04:33:04.831559 Litestar: HTML Injection Through CSRF Token
HIGH (8.1)
Litestar is an Asynchronous Server Gateway Interface (ASGI) framework. Prior to version 2.20.0, Litestar instances which use a template engine in conjunction with CSRF protection are vulnerable to HTML Injection which can be escalated to Cross Site Scripting due to the contents of the CSRF cookie being excluded from automatic escaping by the template engine when configured inline with documentation recommendations. This issue has been patched in version 2.20.0.
Published: 2026-07-28T19:02:40.207Z
Updated: 2026-07-28T19:39:13.421Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-25480 vulnerable 2026-06-08 07:53:19.856548 FileStore key canonicalization collisions allow response cache mixup/poisoning (ASCII ord + Unicode NFKD)
MEDIUM (6.5)
Litestar is an Asynchronous Server Gateway Interface (ASGI) framework. Prior to 2.20.0, FileStore maps cache keys to filenames using Unicode NFKD normalization and ord() substitution without separators, creating key collisions. When FileStore is used as response-cache backend, an unauthenticated remote attacker can trigger cache key collisions via crafted paths, causing one URL to serve cached responses of another (cache poisoning/mixup). This vulnerability is fixed in 2.20.0.
Published: 2026-02-09T18:49:34.305Z
Updated: 2026-02-10T16:01:06.327Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-25479 vulnerable 2026-06-08 07:53:19.856014 Litestar has an AllowedHosts validation bypass due to unescaped regex metacharacters in configured host patterns
MEDIUM (6.5)
Litestar is an Asynchronous Server Gateway Interface (ASGI) framework. Prior to 2.20.0, in litestar.middleware.allowed_hosts, allowlist entries are compiled into regex patterns in a way that allows regex metacharacters to retain special meaning (e.g., . matches any character). This enables a bypass where an attacker supplies a host that matches the regex but is not the intended literal hostname. This vulnerability is fixed in 2.20.0.
Published: 2026-02-09T18:48:19.971Z
Updated: 2026-02-10T16:01:11.941Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-25478 vulnerable 2026-06-08 07:53:19.854430 Litestar has a CORS origin allowlist bypass due to unescaped regex metacharacters in allowed origins
HIGH (7.4)
Litestar is an Asynchronous Server Gateway Interface (ASGI) framework. Prior to 2.20.0, CORSConfig.allowed_origins_regex is constructed using a regex built from configured allowlist values and used with fullmatch() for validation. Because metacharacters are not escaped, a malicious origin can match unexpectedly. The check relies on allowed_origins_regex.fullmatch(origin). This vulnerability is fixed in 2.20.0.
Published: 2026-02-09T18:46:56.445Z
Updated: 2026-02-10T16:01:16.807Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-59152 vulnerable 2026-06-08 07:35:20.060925 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-52581 vulnerable 2026-06-08 06:52:16.111969 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-42370 vulnerable 2026-06-08 06:43:56.537106 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-32982 vulnerable 2026-06-08 06:37:24.853646 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.