CVE-2026-40258

Critical

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.

SeverityCritical
CVSS9.1
Exploit probability—
ProductGramps-webapi
PublishedApr 17, 2026
First seenApr 17, 2026

How to fix

Update
  • gramps-webapi3.11.1 or later

Affected products

ProductAffected versionsFixed in
gramps-webapiPyPI1.6.0 ≤ v < 3.11.13.11.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.