CVE-2026-7818: Pgadmin4 PgAdmin 4 Has Deserialization Of Vulnerability
HIGHCVE-2026-7818 is a HIGH (CVSS 7.0) pgadmin 4 has deserialization of vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Pgadmin4 libraries in the PyPI ecosystem. The issue involves pgadmin 4 has deserialization of untrusted data in its filebackedsessionmanager. Remediation is available by upgrading affected packages to version 9.15.
CVE-2026-7818 at a Glance
Security Impact
CVSS: 7.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2026-7818
To remediate this vulnerability, upgrade all affected Pgadmin4 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install pgadmin4>=9.15
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show pgadmin4
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-7818, inspect your installed packages using pip:
pip show pgadmin4
Analyze the terminal output to locate any version of Pgadmin4 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 9.15), your application is affected.
Note: The pip show pgadmin4 command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Pgadmin4, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-7818 Affected Pgadmin4 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
pgadmin4
|
PyPI |
< 9.15
|
9.15
|
References
Frequently Asked Questions
What is CVE-2026-7818?
Which Pgadmin4 versions are affected?
What version fixes CVE-2026-7818?
Is pgadmin4 affected?
What is the CVSS score of CVE-2026-7818?
What CWE is associated with CVE-2026-7818?
How can I check PyPI dependencies for CVE-2026-7818?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4rhg-h8f2-v4jm",
"modified" : "2026-05-18T15:12:48Z",
"published" : "2026-05-11T18:31:44Z",
"aliases" : [ "CVE-2026-7818" ],
"summary" : "pgAdmin 4 has deserialization of untrusted data in its FileBackedSessionManager",
"details" : "Deserialization of untrusted data (CWE-502) in pgAdmin 4 FileBackedSessionManager.\n\nThe 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.\n\nFix 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.\n\nThis issue affects pgAdmin 4: before 9.15.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "pgadmin4"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "9.15"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-7818"
}, {
"type" : "WEB",
"url" : "https://github.com/pgadmin-org/pgadmin4/issues/9901"
}, {
"type" : "WEB",
"url" : "https://github.com/pgadmin-org/pgadmin4/commit/30a890337"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/pgadmin-org/pgadmin4"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-18T15:12:48Z",
"nvd_published_at" : "2026-05-11T16:17:38Z"
}
}