---
cve: "CVE-2026-40258"
severity: "CRITICAL"
cvss: 9.1
epss: "0.6%"
vendor: "gramps-project"
kev: false
exploited: false
published: "2026-04-17 22:16:32"
tags: [cve, security, critical]
source: tsecurity.de CVE-Dossier
exported: "2026-10-08T01:50:04+02:00"
---

# CVE-2026-40258

> 9.1 CRITICAL · 🧪 PoC

## Beschreibung

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-Vektor

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

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Hoch | good |
| UI Interaktion | Keine | bad |
| S Scope | Verändert | bad |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Hoch | bad |

## Patch verfügbar (OSV)

- 844da630efb35768ef9382bc87d1fa4a420f2a21 (Commit)

## Referenzen

- <https://github.com/gramps-project/gramps-web-api/security/advisories/GHSA-m5gr-86j6-99jp>
- <https://github.com/gramps-project/gramps-web-api/commit/3ed4342711e3ec849552df09b1fe2fbf2ca5c29a>
- <https://github.com/gramps-project/gramps-web-api/releases/tag/v3.11.1>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/sicherheitsluecken/cve-2026-40258/) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI WID (CSAF)_
