CVE-2026-7818 Affecting pgadmin4 package, versions <9.15-r1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.13% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-PGADMIN4-16890718
  • published27 May 2026
  • disclosed11 May 2026

Introduced: 11 May 2026

CVE-2026-7818  (opens in a new tab)

How to fix?

Upgrade Chainguard pgadmin4 to version 9.15-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pgadmin4 package and not the pgadmin4 package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1