{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-25478",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-02-02T16:31:35.820Z",
        "datePublished": "2026-02-09T18:46:56.445Z",
        "dateUpdated": "2026-02-10T16:01:16.807Z"
    },
    "containers": {
        "cna": {
            "title": "Litestar has a CORS origin allowlist bypass due to unescaped regex metacharacters in allowed origins",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-942",
                            "lang": "en",
                            "description": "CWE-942: Permissive Cross-domain Policy with Untrusted Domains",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 7.4,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "NONE",
                        "scope": "CHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/litestar-org/litestar/security/advisories/GHSA-2p2x-hpg8-cqp2",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/litestar-org/litestar/security/advisories/GHSA-2p2x-hpg8-cqp2"
                },
                {
                    "name": "https://github.com/litestar-org/litestar/commit/eb87703b309efcc0d1b087dcb12784e76b003d5a",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/litestar-org/litestar/commit/eb87703b309efcc0d1b087dcb12784e76b003d5a"
                },
                {
                    "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:46:56.445Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "source": {
                "advisory": "GHSA-2p2x-hpg8-cqp2",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-02-10T15:30:25.275815Z",
                                "id": "CVE-2026-25478",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "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:16.807Z"
                }
            }
        ]
    }
}