VDB
Sign up
MEDIUM5.3

PYSEC-2026-1681

MPXJ has a Potential Path Traversal Vulnerability

Quick fix

PYSEC-2026-1681 — mpxj: upgrade to the fixed version with the command below.

pip install --upgrade 'mpxj>=13.5.1'

Details

### Impact The patch for the historical vulnerability CVE-2020-35460 in MPXJ is incomplete as there is still a possibility that a malicious path could be constructed which would not be picked up by the original fix and allow files to be written to arbitrary locations.

### Patches The issue is addressed in MPXJ version 13.5.1

### Workarounds Do not pass zip files to MPXJ.

### References N/A

### Credits Issue report and patch provided by yyjLF and sprinkle

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/mpxj
Introduced in: 8.3.5Fixed in: 13.5.1
Fixpip install --upgrade 'mpxj>=13.5.1'

References