Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-7818: Vulnerability in pgadmin.org pgAdmin 4

0
High
VulnerabilityCVE-2026-7818cvecve-2026-7818
Published: Mon May 11 2026 (05/11/2026, 14:35:52 UTC)
Source: CVE Database V5
Vendor/Project: pgadmin.org
Product: pgAdmin 4

Description

CVE-2026-7818 is a high-severity vulnerability in pgAdmin 4 before version 9. 15 involving unsafe deserialization of session files. The FileBackedSessionManager deserializes session data before verifying its integrity, allowing an authenticated user with write access to the sessions directory to execute arbitrary code as the pgAdmin process user by planting a crafted serialized payload. The vulnerability arises because no HMAC integrity check is performed prior to deserialization. The fix involves adding a SHA-256 HMAC verification step using a secret key before deserialization to prevent tampering.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/11/2026, 15:51:48 UTC

Technical Analysis

This vulnerability in pgAdmin 4's FileBackedSessionManager allows unsafe deserialization of untrusted session-file contents. The session manager uses Python's standard serialization module to deserialize session files without first verifying their integrity via HMAC. An attacker with authenticated write access to the sessions directory can place a malicious serialized payload that leads to remote code execution under the pgAdmin process identity. The issue affects all versions before 9.15. The remediation involves prepending a 64-byte hex SHA-256 HMAC over the session data, computed with a SECRET_KEY, and verifying it before deserialization using a timing-safe comparison function.

Potential Impact

Successful exploitation allows an authenticated user with write access to the sessions directory to achieve remote code execution at the operating system level with the privileges of the pgAdmin process. This can lead to full compromise of the pgAdmin environment and potentially the underlying system depending on the process privileges.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The described fix involves verifying a SHA-256 HMAC over session data before deserialization to prevent exploitation. Until an official patch or update is available, restrict write access to the sessions directory to trusted users only to mitigate risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
PostgreSQL
Date Reserved
2026-05-04T21:26:59.607Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a01f795cbff5d86102f2196

Added to database: 5/11/2026, 3:36:53 PM

Last enriched: 5/11/2026, 3:51:48 PM

Last updated: 5/11/2026, 5:57:56 PM

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses