Home / CVE DB / CVE-2026-40258
Standard
Vulnerability Identifier

CVE-2026-40258

2026-04-17
Severity Assessment
9.1
CRITICAL
CVSS v3.x Score
Clinical Analysis (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.

Vector Sequencing

Attack Parameters

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Impact Consequences

Technical Impact

Changed
Scope
High
Confidentiality
High
Integrity
High
Availability
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Weakness Classification

CWE-CWE-22

Timeline

Time Line

PUBLICATION
17 Apr 2026
Impact Statistics

Key Metrics

CVSS Score
9.1
CRITICAL
Remediation Protocol

Recommended Solution

No automatic solution found. Check vendor references.
Patch Library
No direct patch listed in database.
Recommended Actions for Administrators

Immediate Action Plan

1. Inventory

Identify all affected systems in your infrastructure.

2. Assessment

Assess exposure and criticality for your organization.

3. Mitigation

Apply patches or available workarounds.

4. Verification

Test and confirm effectiveness of applied measures.

⚠️ MAXIMUM PRIORITY - Immediate action required