p PatchFirst

CVE-2026-40258

CVE-2026-40258 · Gramps Web API has Zip Slip Path Traversal in Media Archive Import

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 9.1 · Critical · EPSS 0.4% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • gramps-web-api

    Versions
    • >= 1.6.0, < 3.11.1: Affected

    No fix published

  • gramps-webapi PyPI

    Versions
    • 1.6.0
    • 2.0.0
    • 2.1.0
    • 2.2.0
    • 2.2.1
    • 2.3.0
    • 2.3.1
    • 2.4.0
    • 2.4.1
    • 2.4.2
    • 2.4.3
    • 2.5.0
    • 2.5.1
    • 2.5.2
    • 2.5.3
    • 2.6.0
    • 2.7.0
    • 2.8.0
    • 2.8.1
    • 2.8.2
    • 2.9.0
    • 2.9.1
    • 2.9.2
    • 3.0.0
    • 3.0.1
    • 3.0.2
    • 3.1.0
    • 3.10.0
    • 3.11.0
    • 3.2.0
    • 3.3.0
    • 3.4.0
    • 3.4.1
    • 3.5.0
    • 3.6.0
    • 3.7.0
    • 3.7.1
    • 3.8.0
    • 3.9.0
    • 3.9.1
    Affected ranges
    • ECOSYSTEM: ≥ 1.6.0, < 3.11.1

    Update to 3.11.1

Original sources

Check your server →