CVE-2026-37737
6.5 MEDIUMsanic-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...
Published: 2026-06-05 · Last updated: 2026-06-05
Severity and scoring
- CVSS
- 6.5 MEDIUM
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- CWE
- CWE-346, CWE-625
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.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2026-37737
- [Other]https://github.com/ashleysommer/sanic-cors
- [Other]https://github.com/ashleysommer/sanic-cors/blob/master/sanic_cors/core.py
- [Other]https://github.com/npbhatter17/security-advisories/blob/main/CVE-2026-37737-sanic-cors-advisory.md
- [Other]https://pypi.org/project/Sanic-Cors/
Related CVEs
Same CWE
- CVE-2026-42558 — Xibo is an open source digital signage platform with a web content management system and Windows display player software (7.6 HIGH)
- CVE-2026-10846 — NLnet Labs ldns 1.2.0 up to and including versions 1.9.0, when used in applications as (stub) resolver over UDP, lacks matching the query...
- CVE-2026-44755 — SAP Business Objects Business Intelligence Platform does not sufficiently validate email sending parameters supplied by authenticated use... (4.3 MEDIUM)
- CVE-2026-11693 — Inappropriate implementation in Plugins in Google Chrome prior to 149.0.7827.103 allowed a remote attacker who had compromised the render... (8.1 HIGH)
- CVE-2026-43972 — Origin Validation Error vulnerability in ninenines gun (gun_http2 module) allows cross-origin cookie injection via unvalidated HTTP/2 PUS...