Vulnerability 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.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://github.com/gramps-project/gramps-web-api/commit/3ed4342711e3ec849552df09
- https://github.com/gramps-project/gramps-web-api/releases/tag/v3.11.1
- https://github.com/gramps-project/gramps-web-api/security/advisories/GHSA-m5gr-8
FAQ
What is CVE-2026-40258?
CVE-2026-40258 is a vulnerability with a CVSS score of 9.1 (CRITICAL). 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....
How severe is CVE-2026-40258?
CVE-2026-40258 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-40258?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.