VDB
Sign up
HIGH7.5

PYSEC-2026-1065

Pallets Werkzeug vulnerable to Path Traversal

Quick fix

PYSEC-2026-1065 — werkzeug: upgrade to the fixed version with the command below.

pip install --upgrade 'werkzeug>=0.15.5'

Details

In Pallets Werkzeug before 0.15.5, SharedDataMiddleware mishandles drive names (such as C:) in Windows pathnames.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/werkzeug
Introduced in: 0Fixed in: 0.15.5
Fixpip install --upgrade 'werkzeug>=0.15.5'

References