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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-7815— pgAdmin 4: SQL injection in Maintenance tool option values leading to remote code execution

CVSS 8.8 · High EPSS 0.05% · P16

Affected Version Matrix 1

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

I. Basic Information for CVE-2026-7815

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: SQL injection in Maintenance tool option values leading to remote code execution
Source: NVD (National Vulnerability Database)
Vulnerability Description
SQL injection vulnerability in pgAdmin 4 Maintenance Tool. Four user-supplied JSON fields (buffer_usage_limit, vacuum_parallel, vacuum_index_cleanup, reindex_tablespace) were concatenated directly into the rendered VACUUM/ANALYZE/REINDEX command and passed to psql --command. An authenticated user with the tools_maintenance permission could break out of the option syntax and execute arbitrary SQL on the connected PostgreSQL server. The injected SQL could in turn invoke COPY ... TO PROGRAM to escalate to operating-system command execution on the database host. Fix introduces server-side allow-listing of all four fields and switches reindex_tablespace from manual quoting to the qtIdent filter. This issue affects pgAdmin 4: before 9.15.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/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 SQL注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
pgAdmin是pgAdmin开源的一个用于开源数据库 PostgreSQL 的开源管理和开发平台。 pgAdmin 4 9.15之前版本存在SQL注入漏洞,该漏洞源于SQL注入漏洞,可能导致经过身份验证的用户在VACUUM/ANALYZE/REINDEX命令中注入任意SQL,进而通过COPY...TO PROGRAM升级到操作系统命令执行。
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 7.6 ~ 9.15 -

II. Public POCs for CVE-2026-7815

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-7815

登录查看更多情报信息。

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-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-78187.0 HIGHpgAdmin 4: Unsafe deserialization (CWE-502) in file-backed session manager leads to remote
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-7815

No comments yet


Leave a comment