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.

Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)0.5%top 56.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
PyPIemmett2.8.1GHSA-pr46-2v3c-5356
PyPIemmett2.8.1PYSEC-2026-59

Affected products (as reported)

VendorProductVersions
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

References