Skip to main content
← All vulnerabilities
CVE-2026-40258PYSEC-2026-346GHSA-M5GR-86J6-99JP

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.11.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • gramps-project gramps-web-api

    From 1.6.0 · fixed in 3.11.1

  • gramps-webapiPyPI

    From 1.6.0 · fixed in 3.11.1

References 3

GitHub · gramps-project/gramps-web-api