{"api_version":"1","generated_at":"2026-06-05T17:38:50+00:00","cve":"CVE-2026-37737","urls":{"html":"https://cve.report/CVE-2026-37737","api":"https://cve.report/api/cve/CVE-2026-37737.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-37737","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-37737"},"summary":{"title":"CVE-2026-37737","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.","state":"PUBLISHED","assigner":"mitre","published_at":"2026-06-05 15:16:51","updated_at":"2026-06-05 16:07:55"},"problem_types":["n/a"],"metrics":[],"references":[{"url":"https://pypi.org/project/Sanic-Cors/","name":"https://pypi.org/project/Sanic-Cors/","refsource":"cve@mitre.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/ashleysommer/sanic-cors","name":"https://github.com/ashleysommer/sanic-cors","refsource":"cve@mitre.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/ashleysommer/sanic-cors/blob/master/sanic_cors/core.py","name":"https://github.com/ashleysommer/sanic-cors/blob/master/sanic_cors/core.py","refsource":"cve@mitre.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/npbhatter17/security-advisories/blob/main/CVE-2026-37737-sanic-cors-advisory.md","name":"https://github.com/npbhatter17/security-advisories/blob/main/CVE-2026-37737-sanic-cors-advisory.md","refsource":"cve@mitre.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-37737","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-37737","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2026-06-05T13:56:15.693Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"url":"https://github.com/ashleysommer/sanic-cors/blob/master/sanic_cors/core.py"},{"url":"https://github.com/ashleysommer/sanic-cors"},{"url":"https://pypi.org/project/Sanic-Cors/"},{"url":"https://github.com/npbhatter17/security-advisories/blob/main/CVE-2026-37737-sanic-cors-advisory.md"}]}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2026-37737","datePublished":"2026-06-05T00:00:00.000Z","dateReserved":"2026-04-06T00:00:00.000Z","dateUpdated":"2026-06-05T13:56:15.693Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-06-05 15:16:51","lastModifiedDate":"2026-06-05 16:07:55","problem_types":["n/a"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"37737","Ordinal":"1","Title":"CVE-2026-37737","CVE":"CVE-2026-37737","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"37737","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2026-37737"}]}}}