PT-2026-50810 · Pgadmin.Org · Pgadmin 4

J3Seer

+1

·

Published

2026-06-18

·

Updated

2026-06-19

·

CVE-2026-12044

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions pgAdmin 4 versions 1.0 through 9.15
Description SQL injection is possible across multiple dialog templates that render descriptions for Domains, Foreign Tables, Languages, and Event Triggers, as well as the Views OID-lookup query. The issue occurs because user-supplied description fields are interpolated directly into single-quoted SQL literals instead of using the qtLiteral escape filter. An authenticated user with permissions to create or alter these objects can submit a description containing an apostrophe to execute arbitrary SQL. If the connected role has COPY ... TO/FROM PROGRAM permissions (typically a superuser), this can lead to OS command execution on the PostgreSQL host. Additionally, the pgstattuple and pgstatindex stats templates are affected because qtIdent does not escape apostrophes, allowing a user with CREATE privilege on a schema to trigger an unbalanced literal by naming a table or index with an apostrophe.
Recommendations Update pgAdmin 4 to version 9.16 or later.

Fix

SQL injection

Improper Encoding or Escaping of Output

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-12044

Affected Products

Pgadmin 4