~ / search / GHSA-pr46-2v3c-5356

GHSA-pr46-2v3c-5356

Emmett has a path traversal in internal assets handler

Source: GitHub Advisory Database (reviewed) High CVE-2026-39847

Packages

EcosystemPackageAffectedFixed in
PyPI emmett >= 2.5.0, < 2.8.1 2.8.1

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.