Vulnerability · Published Apr 7, 2026 · Assigned by GitHub_M
CVE-2026-39847Emmett has a path traversal in internal assets handler
Critical 9.1
In plain English
A critical-severity path traversal in emmett from emmett-framework. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Emmett is a full-stack Python web framework designed with simplicity. From 2.5.0 to before 2.8.1, the RSGI static handler for Emmett's internal assets (/__emmett__ paths) is vulnerable to path traversal attacks. An attacker can use ../ sequences (eg /__emmett__/../rsgi/handlers.py) to read arbitrary files outside the assets directory. This vulnerability is fixed in 2.8.1.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | emmett | 2.8.1 | GHSA-pr46-2v3c-5356 |
| PyPI | emmett | 2.8.1 | PYSEC-2026-59 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| emmett-framework | emmett | >= 2.5.0, < 2.8.1 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H