Skip to content

CVE-2026-40258 Gramps Web API has Zip Slip Path Traversal in Media Archive Import

CriticalCVSS 9.1 EPSS 0.41%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

Description

The Gramps Web API is a Python REST API for the genealogical research software Gramps. Versions 1.6.0 through 3.11.0 have a path traversal vulnerability (Zip Slip) in the media archive import feature. An authenticated user with owner-level privileges can craft a malicious ZIP file with directory-traversal filenames to write arbitrary files outside the intended temporary extraction directory on the server's local filesystem. Startig in version 3.11.1, ZIP entry names are now validated against the resolved real path of the temporary directory before extraction. Any entry whose resolved path falls outside the temporary directory raises an error and aborts the import.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
pypi gramps-webapi(PyPI) = 1.6.0; = 2.0.0; = 2.1.0; = 2.2.0 +38 more 3.11.1 Fixed
gramps-project gramps-web-api = >= 1.6.0, < 3.11.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi gramps-webapi(PyPI) >= 1.6.0, < 3.11.1 3.11.1
pypi gramps-webapi(PyPI) = 1.6.0 No fix listed
pypi gramps-webapi(PyPI) = 2.0.0 No fix listed
pypi gramps-webapi(PyPI) = 2.1.0 No fix listed
pypi gramps-webapi(PyPI) = 2.2.0 No fix listed
pypi gramps-webapi(PyPI) = 2.2.1 No fix listed
pypi gramps-webapi(PyPI) = 2.3.0 No fix listed
pypi gramps-webapi(PyPI) = 2.3.1 No fix listed
pypi gramps-webapi(PyPI) = 2.4.0 No fix listed
pypi gramps-webapi(PyPI) = 2.4.1 No fix listed
pypi gramps-webapi(PyPI) = 2.4.2 No fix listed
pypi gramps-webapi(PyPI) = 2.4.3 No fix listed
pypi gramps-webapi(PyPI) = 2.5.0 No fix listed
pypi gramps-webapi(PyPI) = 2.5.1 No fix listed
pypi gramps-webapi(PyPI) = 2.5.2 No fix listed
pypi gramps-webapi(PyPI) = 2.5.3 No fix listed
pypi gramps-webapi(PyPI) = 2.6.0 No fix listed
pypi gramps-webapi(PyPI) = 2.7.0 No fix listed
pypi gramps-webapi(PyPI) = 2.8.0 No fix listed
pypi gramps-webapi(PyPI) = 2.8.1 No fix listed
pypi gramps-webapi(PyPI) = 2.8.2 No fix listed
pypi gramps-webapi(PyPI) = 2.9.0 No fix listed
pypi gramps-webapi(PyPI) = 2.9.1 No fix listed
pypi gramps-webapi(PyPI) = 2.9.2 No fix listed
pypi gramps-webapi(PyPI) = 3.0.0 No fix listed
Show 18 more
ProductAffected versionsFixed in
pypi gramps-webapi(PyPI) = 3.0.1 No fix listed
pypi gramps-webapi(PyPI) = 3.0.2 No fix listed
pypi gramps-webapi(PyPI) = 3.1.0 No fix listed
pypi gramps-webapi(PyPI) = 3.10.0 No fix listed
pypi gramps-webapi(PyPI) = 3.11.0 No fix listed
pypi gramps-webapi(PyPI) = 3.2.0 No fix listed
pypi gramps-webapi(PyPI) = 3.3.0 No fix listed
pypi gramps-webapi(PyPI) = 3.4.0 No fix listed
pypi gramps-webapi(PyPI) = 3.4.1 No fix listed
pypi gramps-webapi(PyPI) = 3.5.0 No fix listed
pypi gramps-webapi(PyPI) = 3.6.0 No fix listed
pypi gramps-webapi(PyPI) = 3.7.0 No fix listed
pypi gramps-webapi(PyPI) = 3.7.1 No fix listed
pypi gramps-webapi(PyPI) = 3.8.0 No fix listed
pypi gramps-webapi(PyPI) = 3.9.0 No fix listed
pypi gramps-webapi(PyPI) = 3.9.1 No fix listed
gramps-project gramps-web-api = >= 1.6.0, < 3.11.1 No fix listed
pypi gramps-webapi(PyPI) >= 1.6.0, <= 3.11.0 No fix listed

References