๐Ÿ” CVE Alert

CVE-2026-40258

CRITICAL 9.1

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

CVSS Score
9.1
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-22
Vendor gramps-project
Product gramps-web-api
Published Apr 17, 2026
Stay Ahead of the Next One

Get instant alerts for gramps-project gramps-web-api

Be the first to know when new critical vulnerabilities affecting gramps-project gramps-web-api are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

gramps-project / gramps-web-api
>= 1.6.0, < 3.11.1

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/gramps-project/gramps-web-api/security/advisories/GHSA-m5gr-86j6-99jp github.com: https://github.com/gramps-project/gramps-web-api/commit/3ed4342711e3ec849552df09b1fe2fbf2ca5c29a github.com: https://github.com/gramps-project/gramps-web-api/releases/tag/v3.11.1