Advisory

GHSA-pr46-2v3c-5356

Also known as: CVE-2026-39847, PYSEC-2026-59

Summary

Emmett has a path traversal in internal assets handler

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-04-08 00:18 UTC
Modified
2026-06-06 00:30 UTC

Affected packages and fixes

emmett

PyPI · All systems

Affected

  • introduced 2.5.0, fixed 2.8.1 (ecosystem)

Fixed versions

2.8.1

Fix

  • Fixed version 2.8.1
    pip install --upgrade emmett==2.8.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences