CVE-2026-40258: Vulnerability in gramps-webapi

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. 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...

PyPI, CWE-22

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
0.4 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-m5gr-86j6-99jp
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-22
Published
10 Apr 2026
Last change
27 Oct 2026
Likelihood rank
Higher than 38 % of all rated vulnerabilities
Analysis status
Deferred
Ecosystem
PyPI

Affected packages

Vulnerable version ranges and fixed releases

  • gramps-webapi PyPI, Affected from 1.6.0 through 3.11.0. Fixed in 3.11.1

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes