CVE-2026-37737

MEDIUM CVSS 3.1: 6.5 EPSS 0.16%
Updated Jun 17, 2026
sanic-cors
Parameter Value
CVSS 6.5 (MEDIUM)
Type CWE-625, CWE-346 (Origin Validation Error)
Vendor sanic-cors
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v3.1