SCA: security update for gramps-webapi (GHSA-m5gr-86j6-99jp)

critical Tenable Cloud Security Plugin ID 477644

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-40258)

Solution

Update the gramps-webapi library and its related packages to version 3.11.1 or later.

See Also

https://github.com/advisories/GHSA-m5gr-86j6-99jp

Plugin Details

Severity: Critical

ID: 477644

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 10/27/2026

Updated: 10/27/2026

Risk Information

VPR

Risk Factor: High

Score: 7

Percentile: 98

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: High

Base Score: 8.3

Temporal Score: 6.1

Vector: CVSS2#AV:N/AC:L/Au:M/C:C/I:C/A:C

CVSS Score Source: CVE-2026-40258

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/10/2026

Vulnerability Publication Date: 4/10/2026

Reference Information

CVE: CVE-2026-40258

cwe: CWE-22