{"cve":"CVE-2026-37737","nvd":{"published":"2026-06-05T15:16:51.720","modified":"2026-06-17T10:41:38.747","status":"Deferred","description":"sanic-cors version 2.2.0 and prior contains an improper regular expression in the try_match() function in sanic_cors/core.py that uses re.match without end-anchoring. This allows an attacker to bypass CORS origin allowlists by registering a domain that begins with a trusted origin string, to gain unauthorized access to cross-origin requests for authenticated resources.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5},"cwes":["CWE-346","CWE-625"],"references":["https://github.com/ashleysommer/sanic-cors","https://github.com/ashleysommer/sanic-cors/blob/master/sanic_cors/core.py","https://github.com/npbhatter17/security-advisories/blob/main/CVE-2026-37737-sanic-cors-advisory.md","https://pypi.org/project/Sanic-Cors/"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:37:48.043517290+00:00"},"epss":{"cve":"CVE-2026-37737","score":0.00164,"percentile":0.05651,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-94jw-hqvj-vw74","url":"https://osv.dev/vulnerability/GHSA-94jw-hqvj-vw74","summary":"sanic-cors contains an improper regular expression in the try_match() function","modified":"2026-07-23T15:11:37.862120010Z","packages":[{"ecosystem":"PyPI","name":"sanic-cors","purl":"pkg:pypi/sanic-cors","ranges":["<=2.2.0"],"fixed":[]}]},{"id":"PYSEC-2026-3539","url":"https://osv.dev/vulnerability/PYSEC-2026-3539","summary":"sanic-cors contains an improper regular expression in the try_match() function","modified":"2026-07-23T15:00:23.754390138Z","packages":[{"ecosystem":"PyPI","name":"sanic-cors","purl":"pkg:pypi/sanic-cors","ranges":["<=2.2.0"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}