Advisory record · GHSA-m5gr-86j6-99jp

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

CVSS 9.1 CriticalCriticalEPSS 0.0041 · 35th percentile

Critical, because:

  • CVSS score 9.1: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 10 Apr 2026, 21:00 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
gramps-webapiPyPI>=1.6.0, <3.11.13.11.1
Identifiers
GHSA-m5gr-86j6-99jp · CVE-2026-40258 · PYSEC-2026-346
Weakness (CWE)
CWE-22
Published
10 Apr 2026
Updated
27 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The gramps-webapi package, versions 1.6.0 up to but not including 3.11.1, has a Zip Slip path traversal flaw in its media archive import feature. An authenticated user with owner-level permission can upload a crafted ZIP file whose entry names use directory traversal to write files outside the temporary extraction directory, with the most serious impact in multi-tree deployments where tree owners differ from server administrators. Upgrade to version 3.11.1, which validates ZIP entry paths before extraction.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.1 Critical 3.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0041, the 35th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:07 UTC First seen by agentprime
  2. 31 Oct 2026, 14:07 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.