CVE-2026-37737
MEDIUMsanic-cors <= 2.2.0 - CORS Origin Bypass via Improper Regular Expression
Title source: llmDescription
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.
References (4)
Core 4
Core References
Scores
CVSS v3
6.5
EPSS
0.0016
EPSS Percentile
6.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-346
CWE-625
Status
published
Published
Jun 05, 2026
Tracked Since
Jun 05, 2026