PT-2026-66771
CVE-2026-17346
·
Published
2026-07-24
·
Updated
2026-09-22
Description by
CVSS 2.0
9.0
HighMetricsAV:N/AC:L/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions
pgAdmin 4 versions 1.0 through 9.16
pgAdmin 4 versions 5.0 through 9.16
Description
An issue exists where schema, table, publication, and subscription names sourced from
pg catalog via the browser tree are not properly escaped. Because PostgreSQL allows arbitrary characters in quoted identifiers, a low-privileged user with permissions to create tables, publications, or subscriptions can use an object name containing an apostrophe to break out of the {{ name }} template interpolation. This occurs when a user, potentially one with higher privileges, opens the Statistics or Dependencies tab of the affected object, leading to arbitrary SQL statement injection within the viewing user's database session.The affected components include the Index Statistics query for all-indexes listing (
coll stats.sql) and the publication and subscription templates (dependencies.sql and get position.sql).Recommendations
Update pgAdmin 4 to version 9.17 or later.
Found an issue in the description? Have something to add? Feel free to write us 👾