CVE-2026-7818
published high CVSS 4.0 · 7.3pgAdmin 4: Unsafe deserialization (CWE-502) in file-backed session manager leads to remote code execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pgadmin.org | — | pgAdmin 40 to < 9.15 · Other versions: affected | Affected | Not stated | PostgreSQL |
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4aarch64 | Advisory build | 9.17-1.1 | OPENSUSE-SU-2026:11508-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4ppc64le | Advisory build | 9.17-1.1 | OPENSUSE-SU-2026:11508-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4s390x | Advisory build | 9.17-1.1 | OPENSUSE-SU-2026:11508-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4x86_64 | Advisory build | 9.17-1.1 | OPENSUSE-SU-2026:11508-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4-desktopaarch64 | Advisory build | 9.17-1.1 | OPENSUSE-SU-2026:11508-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4-desktopppc64le | Advisory build | 9.17-1.1 | OPENSUSE-SU-2026:11508-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4-desktops390x | Advisory build | 9.17-1.1 | OPENSUSE-SU-2026:11508-1 |
Show 13 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4-desktopx86_64 | Advisory build | 9.17-1.1 | OPENSUSE-SU-2026:11508-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4-docaarch64 | Advisory build | 9.17-1.1 | OPENSUSE-SU-2026:11508-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4-docppc64le | Advisory build | 9.17-1.1 | OPENSUSE-SU-2026:11508-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4-docs390x | Advisory build | 9.17-1.1 | OPENSUSE-SU-2026:11508-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4-docx86_64 | Advisory build | 9.17-1.1 | OPENSUSE-SU-2026:11508-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4-web-uwsgiaarch64 | Advisory build | 9.17-1.1 | OPENSUSE-SU-2026:11508-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4-web-uwsgippc64le | Advisory build | 9.17-1.1 | OPENSUSE-SU-2026:11508-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4-web-uwsgis390x | Advisory build | 9.17-1.1 | OPENSUSE-SU-2026:11508-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4-web-uwsgix86_64 | Advisory build | 9.17-1.1 | OPENSUSE-SU-2026:11508-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | system-user-pgadminaarch64 | Advisory build | 9.17-1.1 | OPENSUSE-SU-2026:11508-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | system-user-pgadminppc64le | Advisory build | 9.17-1.1 | OPENSUSE-SU-2026:11508-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | system-user-pgadmins390x | Advisory build | 9.17-1.1 | OPENSUSE-SU-2026:11508-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | system-user-pgadminx86_64 | Advisory build | 9.17-1.1 | OPENSUSE-SU-2026:11508-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- PostgreSQL · cna
- Vector string
- 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
- Scenarios
- en: Authenticated pgAdmin user with prior write access to the sessions directory. Standalone exploitation requires this unusual prerequisite (sessions directory is normally writable only by the pgAdmin process). AV:L and AC:H reflect the chain dependency for non-local exploitation. S:U reflects that RCE in the pgAdmin process is the same security authority as the application itself.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.0 | high | PostgreSQL · cna | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | en: Authenticated pgAdmin user with prior write access to the sessions directory. Standalone exploitation requires this unusual prerequisite (sessions directory is normally writable only by the pgAdmin process). AV:L and AC:H reflect the chain dependency for non-local exploitation. S:U reflects that RCE in the pgAdmin process is the same security authority as the application itself. |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pgadmin.org | pgAdmin 4 | 0 to < 9.15 (affected · custom)Default: affected | PostgreSQL · cna |
Weaknesses
1- CWE-502 CWE-502 Deserialization of Untrusted Data
References
1Provider assertions
2PostgreSQL · cna
pgAdmin 4: Unsafe deserialization (CWE-502) in file-backed session manager leads to remote code execution
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1a56ccedfe8d1e5bb5651097c1ba6c5edf65a2bda0a11c2e5aaed6f99dafe9cb
- Ingested
- 23 Sep 2026, 09:34:17 UTC
- Source record
- Official CVE record