CVE Explorer
CVE-2026-37737
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 3 assertions
{"cweId":"CWE-625","description":"CWE-625 Permissive Regular Expression","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:190e792e02d93ee8b959e6f200d2f0d67391f08250fb0d79aa87e74e697dbba0 · sha256:92cc08ef6eceacab… · /containers/adp/0/problemTypes/0/descriptions/0
{"cweId":"CWE-346","description":"CWE-346 Origin Validation Error","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:190e792e02d93ee8b959e6f200d2f0d67391f08250fb0d79aa87e74e697dbba0 · sha256:92cc08ef6eceacab… · /containers/adp/0/problemTypes/1/descriptions/0
{"description":"n/a","lang":"en","type":"text"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:190e792e02d93ee8b959e6f200d2f0d67391f08250fb0d79aa87e74e697dbba0 · sha256:92cc08ef6eceacab… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:190e792e02d93ee8b959e6f200d2f0d67391f08250fb0d79aa87e74e697dbba0 · sha256:92cc08ef6eceacab… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:190e792e02d93ee8b959e6f200d2f0d67391f08250fb0d79aa87e74e697dbba0 · sha256:92cc08ef6eceacab… · /containers/adp/0/metrics/0/cvssV3_1
CWE assertions
3 source assertions{"cweId":"CWE-625","description":"CWE-625 Permissive Regular Expression","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:190e792e02d93ee8b959e6f200d2f0d67391f08250fb0d79aa87e74e697dbba0 · sha256:92cc08ef6eceacab… · /containers/adp/0/problemTypes/0/descriptions/0
{"cweId":"CWE-346","description":"CWE-346 Origin Validation Error","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:190e792e02d93ee8b959e6f200d2f0d67391f08250fb0d79aa87e74e697dbba0 · sha256:92cc08ef6eceacab… · /containers/adp/0/problemTypes/1/descriptions/0
{"description":"n/a","lang":"en","type":"text"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:190e792e02d93ee8b959e6f200d2f0d67391f08250fb0d79aa87e74e697dbba0 · sha256:92cc08ef6eceacab… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"url":"https://github.com/ashleysommer/sanic-cors"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:190e792e02d93ee8b959e6f200d2f0d67391f08250fb0d79aa87e74e697dbba0 · sha256:92cc08ef6eceacab… · /containers/cna/references/1
{"url":"https://github.com/ashleysommer/sanic-cors/blob/master/sanic_cors/core.py"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:190e792e02d93ee8b959e6f200d2f0d67391f08250fb0d79aa87e74e697dbba0 · sha256:92cc08ef6eceacab… · /containers/cna/references/0
{"url":"https://github.com/npbhatter17/security-advisories/blob/main/CVE-2026-37737-sanic-cors-advisory.md"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:190e792e02d93ee8b959e6f200d2f0d67391f08250fb0d79aa87e74e697dbba0 · sha256:92cc08ef6eceacab… · /containers/cna/references/3
{"url":"https://pypi.org/project/Sanic-Cors/"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:190e792e02d93ee8b959e6f200d2f0d67391f08250fb0d79aa87e74e697dbba0 · sha256:92cc08ef6eceacab… · /containers/cna/references/2
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.