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 June 6, 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/security/advisories/GHSA-pr46-2v3c-5356
  • github.com/pypa/advisory-database/tree/main/vulns/emmett/PYSEC-2026-59.yaml
  • 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. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

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 7.5 HIGH

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

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 Sun, 08 Nov 2026 00:15:35 +0000.