{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-37737","id":"CVE-2026-37737","title":"sanic-cors contains an improper regular expression in the try_match() function","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.","descriptionLong":"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.","published":"2026-06-05T00:00:00.000Z","updated":"2026-10-28T02:31:08.226569201Z","reserved":"2026-04-06T00:00:00.000Z","status":"Deferred","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"sanic-cors","purl":"pkg:pypi/sanic-cors","ranges":["<=2.2.0"],"fixed":[],"advisory":"GHSA-94jw-hqvj-vw74"}],"cwes":["CWE-625","CWE-346"],"aliases":["GHSA-94jw-hqvj-vw74","PYSEC-2026-3539"],"references":[{"url":"https://github.com/ashleysommer/sanic-cors/blob/master/sanic_cors/core.py","tags":["web"]},{"url":"https://github.com/ashleysommer/sanic-cors","tags":["package"]},{"url":"https://pypi.org/project/Sanic-Cors/","tags":["package"]},{"url":"https://github.com/npbhatter17/security-advisories/blob/main/CVE-2026-37737-sanic-cors-advisory.md","tags":["advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/37xxx/CVE-2026-37737.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-37737","tags":["advisory"]},{"url":"https://pypi.org/project/Sanic-Cors","tags":["web"]},{"url":"https://pypi.org/project/sanic-cors","tags":["package"]},{"url":"https://github.com/advisories/GHSA-94jw-hqvj-vw74","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00164,"epssPercentile":0.0574,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-37737","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-37737","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-37737","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-94jw-hqvj-vw74","ok":true,"note":"GHSA-94jw-hqvj-vw74"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-37737","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}