CVE-2026-40258

Source
https://cve.org/CVERecord?id=CVE-2026-40258
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40258.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-40258
Aliases
Published
2026-04-17T21:12:54Z
Modified
2026-08-12T03:51:15Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
Gramps Web API has Zip Slip Path Traversal in Media Archive Import
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40258.json"
}
References

Affected packages

Git / github.com/gramps-project/gramps-web-api

Affected ranges

Type
GIT
Repo
https://github.com/gramps-project/gramps-web-api
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "1.6.0"
        },
        {
            "fixed": "3.11.1"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

v1.*
v1.6.0
v2.*
v2.0.0
v2.1.0
v2.2.0
v2.2.1
v2.3.0
v2.3.1
v2.4.0
v2.4.1
v2.4.2
v2.5.0
v2.5.1
v2.5.2
v2.5.3
v2.6.0
v2.7.0
v2.8.0
v2.8.1
v2.8.2
v2.9.0
v2.9.1
v2.9.2
v3.*
v3.0.0
v3.0.1
v3.0.2
v3.1.0
v3.10.0
v3.11.0
v3.2.0
v3.3.0
v3.4.0
v3.4.1
v3.5.0
v3.6.0
v3.7.0
v3.7.1
v3.7.1.1
v3.8.0
v3.9.0
v3.9.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40258.json"