CVE-2026-39847
JSON

9.1critical

Emmett has a path traversal in internal assets handler

Severity
9.1critical CVSS:3.1 by GitHub_M
Exploit likelihood
0.53% (higher than 45% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-pr46-2v3c-5356PYSEC-2026-59

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

Product or packageVersionsReported by
emmett-framework emmett>= 2.5.0, < 2.8.1CVE List
emmett (PyPI)from 2.5.0 before 2.8.1GitHub Advisory Database, PyPA Advisory Database
emmett emmettfrom 2.5.0 before 2.8.1NVD

All scores

GitHub_M9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
PyPA Advisory Database7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

Emmett es un framework web Python full-stack diseñado con simplicidad. Desde la versión 2.5.0 hasta antes de la 2.8.1, el gestor estático RSGI para los activos internos de Emmett (rutas /__emmett__) es vulnerable a ataques de salto de ruta. Un atacante puede usar secuencias ../ (ej. /__emmett__/../rsgi/handlers.py) para leer archivos arbitrarios fuera del directorio de activos. Esta vulnerabilidad está corregida en la versión 2.8.1.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-39847 changed 2026-04-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-pr46-2v3c-5356 changed 2026-06-06CC-BY-4.0
NVDCVE-2026-39847 changed 2026-07-24Public domain
PyPA Advisory DatabasePYSEC-2026-59 changed 2026-05-20CC-BY-4.0