Advisory

PYSEC-2026-1681

Also known as: CVE-2024-49771, GHSA-j945-c44v-97g6

Summary

MPXJ has a Potential Path Traversal Vulnerability

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

Severity

Medium Basis: CVSS v3 score 5.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Dates

Published
2026-07-07 14:34 UTC
Modified
2026-07-07 17:47 UTC

Affected packages and fixes

mpxj

PyPI · All systems

Affected

  • introduced 8.3.5, fixed 13.5.1 (ecosystem)

Fixed versions

13.5.1

Fix

  • Fixed version 13.5.1
    pip install --upgrade mpxj==13.5.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: PyPA Advisory Database · CC BY 4.0

Sources & licences