Loading advisory.
Loading advisory.
sanic-cors contains an improper regular expression in the try_match() function
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.
Published 2026-06-05 00:00 UTC · Modified 2026-07-23 15:11 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| sanic-cors | PyPI | <= 2.2.0 versions 0.10.0, 0.10.0.post1, 0.10.0.post2, 0.10.0.post3, 0.10.0b1, 0.4.1, 0.4.1.2, 0.4.1.4, 0.5.1.0, 0.5.4.1, 0.5.4.2, 0.6.0.0, 0.6.0.1, 0.6.0.2, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5 and 18 more | No patch yet | No command until a fix exists. |
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.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.002 on 2026-11-24 to 0.002 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.002 | first score | v2026.06.15 |
| 2026-11-26 | 0.002 | 0.002 | v2026.06.15 |