Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

CVSS 7.0 · High EPSS 0.31% · P54

Affected Version Matrix 1

VendorProductVersion RangeStatus
pgadmin.orgpgAdmin 4< 9.15affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-7818

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
pgAdmin 4: Unsafe deserialization (CWE-502) in file-backed session manager leads to remote code execution
Source: NVD (National Vulnerability Database)
Vulnerability 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: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
pgAdmin 代码问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
pgAdmin是pgAdmin开源的一个用于开源数据库 PostgreSQL 的开源管理和开发平台。 pgAdmin 4 9.15之前版本存在代码问题漏洞,该漏洞源于反序列化不可信数据,可能导致经过身份验证的用户通过放置特制序列化有效载荷实现远程代码执行。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
pgadmin.orgpgAdmin 4 0 ~ 9.15 -

II. Public POCs for CVE-2026-7818

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-7818

登录查看更多情报信息。

Same Patch Batch · pgadmin.org · 2026-05-11 · 8 CVEs total

CVE-2026-78139.9 CRITICALpgAdmin 4: Cross-user data access and shared-server privilege escalation in server mode
CVE-2026-78158.8 HIGHpgAdmin 4: SQL injection in Maintenance tool option values leading to remote code executio
CVE-2026-78168.8 HIGHpgAdmin 4: OS command injection in Import/Export query export via psql metacommand breakou
CVE-2026-78198.1 HIGHpgAdmin 4: Symbolic-link path traversal in File Manager allows arbitrary file write
CVE-2026-78176.5 MEDIUMpgAdmin 4: Local file inclusion and server-side request forgery in LLM API configuration e
CVE-2026-78206.5 MEDIUMpgAdmin 4: Account-lockout bypass via Flask-Security default /login view
CVE-2026-78144.8 MEDIUMpgAdmin 4: Stored XSS via crafted PostgreSQL object names in Browser Tree and Explain Visu

IV. Related Vulnerabilities

V. Comments for CVE-2026-7818

No comments yet


Leave a comment