Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. emmett
  4. ›
  5. CVE-2026-39847

CVE-2026-39847: Emmett has a path traversal in internal assets handler

April 8, 2026 (updated April 24, 2026)

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

  • github.com/advisories/GHSA-pr46-2v3c-5356
  • github.com/emmett-framework/emmett
  • github.com/emmett-framework/emmett/security/advisories/GHSA-pr46-2v3c-5356
  • nvd.nist.gov/vuln/detail/CVE-2026-39847

Code Behaviors & Features

Detect and mitigate CVE-2026-39847 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.5.0 before 2.8.1

Fixed versions

  • 2.8.1

Solution

Upgrade to version 2.8.1 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/emmett/CVE-2026-39847.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:02 +0000.