CVE-2026-39847: Vulnerability in Emmett
Critical. 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.
PyPI, CWE-22
- Exploitation
- None confirmed
- Severity
- 9.1 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-pr46-2v3c-5356
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- Weakness
- CWE-22
- Published
- 7 Apr 2026
- Last change
- 24 Jul 2026
- Ecosystem
- PyPI
Affected products
Affected versions and the first fixed release
- Emmett From 2.5.0 before 2.8.1. Fixed in 2.8.1
Affected packages
Vulnerable version ranges and fixed releases
- emmett PyPI, Affected from 2.5.0 before 2.8.1. Fixed in 2.8.1
Advisories
Vendor and security advisories
- github.com/emmett-framework/emmett/security/advisories/GHSA-pr46-2v3c-5356
- github.com/pypa/advisory-database/tree/main/vulns/emmett/PYSEC-2026-59.yaml
Related
- Emmett vulnerabilities Recent advisories, watch this product