VDB
Sign up
HIGH7.5

PYSEC-2026-59

Quick fix

PYSEC-2026-59 — emmett: upgrade to the fixed version with the command below.

pip install --upgrade 'emmett>=2.8.1'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/emmett
Introduced in: 2.5.0Fixed in: 2.8.1
Fixpip install --upgrade 'emmett>=2.8.1'

References