CVE-2026-40258CWE-22

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

Critical · published April 17, 2026

CVSS v3.1
9.1
EPSS
1%
Percentile
48.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00611 · 48.6th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-04-17T21:12Z
EPSS history
Timeline
  • 17 APR 21:12Z
    Gramps Web API has Zip Slip Path Traversal in Media Archive Import
    cvelistv5