Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. gramps-webapi
  4. ›
  5. CVE-2026-40258

CVE-2026-40258: gramps-webapi: Zip Slip Path Traversal in Media Archive Import

April 10, 2026 (updated October 27, 2026)

A path traversal vulnerability (Zip Slip) exists 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.

References

  • github.com/advisories/GHSA-m5gr-86j6-99jp
  • github.com/gramps-project/gramps-web-api/commit/3ed4342711e3ec849552df09b1fe2fbf2ca5c29a
  • github.com/gramps-project/gramps-web-api/releases/tag/v3.11.1
  • github.com/gramps-project/gramps-web-api/security/advisories/GHSA-m5gr-86j6-99jp
  • github.com/pypa/advisory-database/tree/main/vulns/gramps-webapi/PYSEC-2026-346.yaml
  • nvd.nist.gov/vuln/detail/CVE-2026-40258
  • pypi.org/project/gramps-webapi

Code Behaviors & Features

Detect and mitigate CVE-2026-40258 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.6.0 before 3.11.1

Fixed versions

  • 3.11.1

Solution

Upgrade to version 3.11.1 or above.

Impact 9.1 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/gramps-webapi/CVE-2026-40258.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:11 +0000.