CVE-2026-40258gramps-project gramps-web-api
Critical 9.1
Follow: this CVE · gramps-project · gramps-project gramps-web-api We alert you by email or Slack (account required).
- Priority
- 55
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- Yes
- Published
- Apr 17, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for gramps-web-api.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | gramps-webapi |
≥ 1.6.0 < 3.11.1 |
3.11.1 |
pip install "gramps-webapi>=3.11.1" |
| PyPI | gramps-webapi |
≥ 1.6.0 < 3.11.1 |
3.11.1 |
pip install "gramps-webapi>=3.11.1" |
Per OSV / GitHub Advisories (GHSA-m5gr-86j6-99jp, PYSEC-2026-346). Check the version in your lockfile before upgrading.
Affected products
- gramps-project · gramps-web-api
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.