Skip to content
OpenAdvisories
Critical · 9.1 CVE-2026-39847 EUVD-2026-19974GHSA-pr46-2v3c-5356PYSEC-2026-59

Emmett has a path traversal in internal assets handler

Published Apr 7, 2026 · Updated Apr 8, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
emmett-framework emmett >= 2.5.0, < 2.8.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI emmett >= 2.5.0, < 2.8.1 2.8.1 GHSA-pr46-2v3c-5356

References