CVE-2026-39847: Emmett has a path traversal in internal assets handler
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.
Published Apr 8, 2026 · Updated Jun 6, 2026
Affected packages
emmett
- Ecosystem
- PyPI
- Affected
- >= 2.5.0, < 2.8.1
- Fixed in
- 2.8.1
- Check
pip show emmett
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
