๐Ÿ” CVE Alert

CVE-2026-7818

HIGH 7.0

pgAdmin 4: Unsafe deserialization (CWE-502) in file-backed session manager leads to remote code execution

CVSS Score
7.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

Vendor pgadmin.org
Product pgadmin 4
Published May 11, 2026
Last Updated May 11, 2026
Stay Ahead of the Next One

Get instant alerts for pgadmin.org pgadmin 4

Be the first to know when new high vulnerabilities affecting pgadmin.org pgadmin 4 are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

pgadmin.org / pgAdmin 4
0 < 9.15

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/pgadmin-org/pgadmin4/issues/9901

Credits

Fernando Bortotti