{"id":78272,"date":"2026-05-11T19:47:37","date_gmt":"2026-05-11T16:17:37","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-7815-pgadmin-4-sql-injection-in-maintenance-tool-option-values-leading-to-remote-code-execution\/"},"modified":"2026-05-11T19:47:37","modified_gmt":"2026-05-11T16:17:37","slug":"cve-2026-7815-pgadmin-4-sql-injection-in-maintenance-tool-option-values-leading-to-remote-code-execution","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-7815-pgadmin-4-sql-injection-in-maintenance-tool-option-values-leading-to-remote-code-execution\/","title":{"rendered":"CVE-2026-7815 &#8211; pgAdmin 4: SQL injection in Maintenance tool option values leading to remote code execution"},"content":{"rendered":"<p>CVE ID :CVE-2026-7815<\/p>\n<p>  Published : May 11, 2026, 4:17 p.m. | 41\u00a0minutes ago<\/p>\n<p>  Description :SQL injection vulnerability in pgAdmin 4 Maintenance Tool.<\/p>\n<p>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 &#8211;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 &#8230; TO PROGRAM to escalate to operating-system command execution on the database host.<\/p>\n<p>Fix introduces server-side allow-listing of all four fields and switches reindex_tablespace from manual quoting to the qtIdent filter.<\/p>\n<p>This issue affects pgAdmin 4: before 9.15.<\/p>\n<p>  Severity: 8.8 | HIGH<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-7815 Published : May 11, 2026, 4:17 p.m. | 41\u00a0minutes ago 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 &#8211;command. An authenticated user with the tools_maintenance permission could break out of the &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-78272","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/78272","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=78272"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/78272\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=78272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=78272"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=78272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}