Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
CVE Vulnerability Details :
CVE-2026-25479
PUBLISHED
More InfoOfficial Page
Assigner-GitHub_M
Assigner Org ID-a0819718-46f1-4df5-94e2-005712e83aaa
View Known Exploited Vulnerability (KEV) details
Published At-09 Feb, 2026 | 18:48
Updated At-10 Feb, 2026 | 16:01
Rejected At-
▼CVE Numbering Authority (CNA)
Litestar has an AllowedHosts validation bypass due to unescaped regex metacharacters in configured host patterns

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.

Affected Products
Vendor
litestar-org
Product
litestar
Versions
Affected
  • < 2.20.0
Problem Types
TypeCWE IDDescription
CWECWE-185CWE-185: Incorrect Regular Expression
Type: CWE
CWE ID: CWE-185
Description: CWE-185: Incorrect Regular Expression
Metrics
VersionBase scoreBase severityVector
3.16.5MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Version: 3.1
Base score: 6.5
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/litestar-org/litestar/security/advisories/GHSA-93ph-p7v4-hwh4
x_refsource_CONFIRM
https://github.com/litestar-org/litestar/commit/06b36f481d1bfea6f19995cfb4f203aba45c4ace
x_refsource_MISC
https://docs.litestar.dev/2/release-notes/changelog.html#2.20.0
x_refsource_MISC
https://github.com/litestar-org/litestar/releases/tag/v2.20.0
x_refsource_MISC
Hyperlink: https://github.com/litestar-org/litestar/security/advisories/GHSA-93ph-p7v4-hwh4
Resource:
x_refsource_CONFIRM
Hyperlink: https://github.com/litestar-org/litestar/commit/06b36f481d1bfea6f19995cfb4f203aba45c4ace
Resource:
x_refsource_MISC
Hyperlink: https://docs.litestar.dev/2/release-notes/changelog.html#2.20.0
Resource:
x_refsource_MISC
Hyperlink: https://github.com/litestar-org/litestar/releases/tag/v2.20.0
Resource:
x_refsource_MISC
▼Authorized Data Publishers (ADP)
CISA ADP Vulnrichment
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
Details not found