A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /ashleysommer/sanic-cors
- github.com /ashleysommer/sanic-cors/blob/master/sanic_cors/core.py
- github.com /npbhatter17/security-advisories/blob/main/CVE-2026-37737-s…
- pypi.org /project/Sanic-Cors/
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning