CVE-2026-37737

MEDIUM EPSS 6.0%
Published Jun 5, 20263w ago · Modified Jun 17, 20262w ago
6.5 CVSS 3.1
Medium
Find Similar
Published Jun 5, 2026 3w ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
6.5
Exploitability
2.8
Impact
3.6
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality High
Integrity None
Availability None

Threat Intelligence

EPSS Exploit Probability
6.0% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available

Weaknesses 2

CWE-346
CWE-625

References 4

  • github.com https://github.com/ashleysommer/sanic-cors
  • github.com https://github.com/ashleysommer/sanic-cors/blob/master/sanic_cors/core.py
  • github.com https://github.com/npbhatter17/security-advisories/blob/main/CVE-2026-37737-sanic-cors-advisory.md
  • pypi.org https://pypi.org/project/Sanic-Cors/

Remediation

No remediation data recorded yet

Check vendor advisories and the NVD entry for patch availability.