PyPI (Python)Worst: High4 advisories

sanic: known vulnerabilities

sanic has 4 reviewed security advisories in the GitHub Advisory Database — 3 high, 1 moderate. The most recent was published 2026-09-17. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the sanic versions running across your servers, containers and images, and ranks what to patch first.

How to fix sanic

Upgrade sanic to a release at or above the fixed version shown for each advisory below. For PyPI (Python):

pip install --upgrade sanic (pin sanic>=25.12.1)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (4)

sanic chunked trailer request smuggling allows hidden second request execution Moderate 6.5 CWE-444 — Affected: from 25.12.0 up to 25.12.1. Fixed in 25.12.1. Published 2026-09-17. GHSA-wmj6-g64g-j7q5 · CVE-2026-85078
sanic vulnerable to Path Traversal when using `app.static` if using encoded `%2F` URLs High 8.3 CWE-22 — Affected: before 20.12.7. Fixed in 20.12.7. Published 2022-08-01. GHSA-8cw9-5hmv-77w6 · CVE-2022-35920
Server crash if running Python 3.10 w/ Sanic 20.12 High — Affected: from 0.1.7 up to 20.12.6. Fixed in 20.12.6. Published 2022-02-16. GHSA-7p79-6x2v-5h88
Sanic arbitrary file read and directory traversal High 7.5 CWE-22 — Affected: before 0.5.1. Fixed in 0.5.1. Published 2017-11-10. GHSA-mpmf-hr8p-p49g · CVE-2017-16762

Find sanic across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.