Vulnerability details
CVE-2026-40258
gramps-project gramps-web-api
Gramps Web API has Zip Slip Path Traversal in Media Archive Import
CVSS 3.1
9.1Critical
Official 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 scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 9.1Critical | 3.1 | CVEProject cvelistV5 (CNA) (GitHub_M) | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
Affected products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| gramps-project | gramps-web-api | >= 1.6.0, < 3.11.1 | CVEProject cvelistV5 (CNA) |
References and advisories
3- https://github.com/gramps-project/gramps-web-api/security/advisories/GHSA-m5gr-86j6-99jp x_refsource_CONFIRM
- https://github.com/gramps-project/gramps-web-api/commit/3ed4342711e3ec849552df09b1fe2fbf2ca5c29a x_refsource_MISC
- https://github.com/gramps-project/gramps-web-api/releases/tag/v3.11.1 x_refsource_MISC
Kolun on Telegram @kolunsec
Exploited CVEs, key news and a daily digest
Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.
Details
- Published
- 2026-04-18
- Last updated
- 2026-04-20
- State
- Published
- Assigner (CNA)
- GitHub_M
Exploit prediction (EPSS)
0.4%
Probability of exploitation in 30 days
34.4%
Percentile (among all CVEs)
SSVC assessment (CISA)
- Automatable
- No
- Exploitation
- None
- Technical impact
- Total
Weaknesses (CWE)
- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')