SCA: security update for pgadmin4 (GHSA-4rhg-h8f2-v4jm)

high Tenable Cloud Security Plugin ID 442092

Description

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

- Deserialization of untrusted data (CWE-502) in pgAdmin 4 FileBackedSessionManager. The session manager
performed unsafe deserialization of session-file contents (using Python's standard object-serialization
module) before performing any HMAC integrity check. Any file dropped into the sessions directory was
deserialized unconditionally. An authenticated user with write access to the sessions directory (whether
by misconfiguration or in combination with another path-traversal flaw) could plant a crafted serialized
payload to achieve operating-system level remote code execution under the pgAdmin process identity. Fix
prepends a 64-byte hex SHA-256 HMAC over the session body, computed with SECRET_KEY, and verifies it via
hmac.compare_digest before any deserialization. The check is raised (rather than asserted) on empty
SECRET_KEY so it is not stripped under -O. This issue affects pgAdmin 4: before 9.15. (CVE-2026-7818)

Solution

Update the pgadmin4 library and its related packages to version 9.15 or later.

See Also

https://github.com/advisories/GHSA-4rhg-h8f2-v4jm

Plugin Details

Severity: High

ID: 442092

Version: Revision 1.3

Type: Local

Family: SCA Checks

Published: 5/18/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.85

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

CVSS Score Source: CVE-2026-7818

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

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

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

CVSS v4

Risk Factor: High

Base Score: 7.3

Threat Score: 4.4

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/11/2026

Vulnerability Publication Date: 5/11/2026

Reference Information

CVE: CVE-2026-7818

cwe: CWE-502