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
Configurations
No configuration.
History
05 Jun 2026, 21:16
| Type | Values Removed | Values Added |
|---|---|---|
| CWE | CWE-625 CWE-346 |
|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.5 |
05 Jun 2026, 15:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-06-05 15:16
Updated : 2026-06-17 10:41
NVD link : CVE-2026-37737
Mitre link : CVE-2026-37737
CVE.ORG link : CVE-2026-37737
JSON object : View
Products Affected
No product.
