Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
The gramps-webapi package, versions 1.6.0 up to but not including 3.11.1, has a Zip Slip path traversal flaw in its media archive import feature. An authenticated user with owner-level permission can upload a crafted ZIP file whose entry names use directory traversal to write files outside the temporary extraction directory, with the most serious impact in multi-tree deployments where tree owners differ from server administrators. Upgrade to version 3.11.1, which validates ZIP entry paths before extraction.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 9.1 | Critical | 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0041, the 35th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:07 UTC First seen by agentprime
- 31 Oct 2026, 14:07 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-m5gr-86j6-99jp
- OSV: GHSA-m5gr-86j6-99jp
- github.com/gramps-project/gramps-web-api/security/advisories/GHSA-m5gr-86j6-99jp
- nvd.nist.gov/vuln/detail/CVE-2026-40258
- github.com/gramps-project/gramps-web-api/commit/3ed4342711e3ec849552df09b1fe2fbf2ca5c29a
- github.com/gramps-project/gramps-web-api
- github.com/gramps-project/gramps-web-api/releases/tag/v3.11.1
- github.com/pypa/advisory-database/tree/main/vulns/gramps-webapi/PYSEC-2026-346.yaml
- pypi.org/project/gramps-webapi