CVE 9.1 CRITICAL

Gramps Web API has Zip Slip Path Traversal in Media Archive Import_CVE-2026-40258

9.1 / 10
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

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.

AI Analysis

Path traversal vulnerability (Zip Slip) in the media archive import feature

Basic Information

ID CVE-2026-40258
Source GitHub_M
Published Apr 17, 2026 at 21:12

Affected Product

Vendor gramps-project
Product gramps-web-api
Version >= 1.6.0, < 3.11.1
Affected Versions gramps-project gramps-web-api >= 1.6.0, < 3.11.1

CWE Classification

AI Assessment

AI Score 9.1 / 10
AI Severity Critical
Vendor Gramps Project
Product Gramps Web API
Version 1.6.0-3.11.0

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.