Skip to content
OpenAdvisories
Critical · 9.1 CVE-2026-40258 EUVD-2026-23541GHSA-m5gr-86j6-99jpPYSEC-2026-346

Gramps Web API has Zip Slip Path Traversal in Media Archive Import

Published Apr 17, 2026 · Updated Apr 20, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
gramps-project gramps-web-api >= 1.6.0, < 3.11.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI gramps-webapi >= 1.6.0, < 3.11.1 3.11.1 GHSA-m5gr-86j6-99jp

References