BreachSpiderVerified, not vibes

CVE-2026-7818 in Pgadmin 4

High 7.8

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 deserial...

Affects 1 product from 2 vendors. Facts below cite their sources.

CVSS 3.17.8
CVSS v47.3
EPSS0.4%
EPSS percentile21th
FixUnknown

Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Pgadmin Pgadmin 4 < 9.15
Python — —

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-7818
BreachSpider IDBS-2026-GLOBAL-154448-H
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2026-05-11
Last modified2026-10-26
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-502: Deserialization of Untrusted Data

Software deserializes untrusted data without validation, allowing crafted objects to execute arbitrary code.

Related attack patterns (CAPEC)

CAPEC-586 Object Injection via CWE-502

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2026-7818 involves an unsafe deserialization of untrusted data in the FileBackedSessionManager of pgAdmin 4, which could allow an authenticated user with write access to the sessions directory to execute arbitrary code.

An attacker with authenticated access and write permissions to the sessions directory can place a maliciously crafted session file. This file, when deserialized by the FileBackedSessionManager, can lead to arbitrary code execution due to the lack of HMAC integrity checks before deserialization.

Questions

What is CVE-2026-7818?

CVE-2026-7818 involves an unsafe deserialization of untrusted data in the FileBackedSessionManager of pgAdmin 4, which could allow an authenticated user with write access to the sessions directory to execute arbitrary code.

What is the CVSS score for CVE-2026-7818?

CVE-2026-7818 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.4%.

Is CVE-2026-7818 actively exploited?

No confirmed active exploitation of CVE-2026-7818 as of 2026-11-03.

How do I remediate CVE-2026-7818?

Priority: HIGH.

What systems are affected by CVE-2026-7818?

CVE-2026-7818 affects Pgadmin Pgadmin 4; Python.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Pgadmin","product":"Pgadmin 4","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-26.