SecurityContext

CVE-2026-40258: Gramps Web API - Path Traversal

  • Cve: CVE-2026-40258
  • Name: Gramps Web API - Path Traversal
  • Description: 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.
  • Impact: Authenticated owner-level users can write arbitrary files outside intended directories, potentially leading to system compromise or data tampering.
  • Remediation: Update to version 3.11.1 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_write, data_tampering
  • Requirement type: logged_in
  • Requirements: Attacker must be authenticated with owner-level privileges
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
  • Epss score: 0.00408
  • Epss percentile: 0.35814
  • Assignee: [email protected]
  • Published at: 2026-04-17T22:16:32Z
  • Age in days: 221
  • Modified at: 2026-10-26T21:10:00Z
  • References total: 3
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-40258
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/gramps-project/gramps-web-api/commit/3ed4342711e3ec849552df09b1fe2fbf2ca5c29a
https://github.com/gramps-project/gramps-web-api/releases/tag/v3.11.1
https://github.com/gramps-project/gramps-web-api/security/advisories/GHSA-m5gr-86j6-99jp

Projects

RepositoryLink kindsIndexedUrl
gramps-project/gramps-web-apicommit, fix, package, releases, security_advisoryyes/v1/repositories/gramps-project/gramps-web-api

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts