CVE-2026-37737
Medium 6.5 No auth needed
Follow: this CVE We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- —
- Auth required
- No
- Published
- Jun 5, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Check whether you run any of the affected products and follow the vendor advisory.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | sanic-cors |
≤ 2.2.0 |
no fixed version | — |
| PyPI | sanic-cors |
≤ 2.2.0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-94jw-hqvj-vw74, PYSEC-2026-3539). Check the version in your lockfile before upgrading.
Official sources
References
Links published by the sources. Open them with care.