{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-25479","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-02-02T16:31:35.821Z","datePublished":"2026-02-09T18:48:19.971Z","dateUpdated":"2026-02-10T16:01:11.941Z"},"containers":{"cna":{"title":"Litestar has an AllowedHosts validation bypass due to unescaped regex metacharacters in configured host patterns","problemTypes":[{"descriptions":[{"cweId":"CWE-185","lang":"en","description":"CWE-185: Incorrect Regular Expression","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"}}],"references":[{"name":"https://github.com/litestar-org/litestar/security/advisories/GHSA-93ph-p7v4-hwh4","tags":["x_refsource_CONFIRM"],"url":"https://github.com/litestar-org/litestar/security/advisories/GHSA-93ph-p7v4-hwh4"},{"name":"https://github.com/litestar-org/litestar/commit/06b36f481d1bfea6f19995cfb4f203aba45c4ace","tags":["x_refsource_MISC"],"url":"https://github.com/litestar-org/litestar/commit/06b36f481d1bfea6f19995cfb4f203aba45c4ace"},{"name":"https://docs.litestar.dev/2/release-notes/changelog.html#2.20.0","tags":["x_refsource_MISC"],"url":"https://docs.litestar.dev/2/release-notes/changelog.html#2.20.0"},{"name":"https://github.com/litestar-org/litestar/releases/tag/v2.20.0","tags":["x_refsource_MISC"],"url":"https://github.com/litestar-org/litestar/releases/tag/v2.20.0"}],"affected":[{"vendor":"litestar-org","product":"litestar","versions":[{"version":"< 2.20.0","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-02-09T18:48:19.971Z"},"descriptions":[{"lang":"en","value":"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."}],"source":{"advisory":"GHSA-93ph-p7v4-hwh4","discovery":"UNKNOWN"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-02-10T15:39:53.590127Z","id":"CVE-2026-25479","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-02-10T16:01:11.941Z"}}]}}