GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — SQL injection via unescaped object names in index Statistics and publication/subscription dependency views (CVE-2026-17346) · Issue #10193 · pgadmin-org/pgadmin4

SQL injection via unescaped object names in index Statistics and publication/subscription dependency views (CVE-2026-17346) #10193

New issue
Copy link
New issue
Copy link
Closed
Closed
SQL injection via unescaped object names in index Statistics and publication/subscription dependency views (CVE-2026-17346)#10193
Copy link
Milestone
9.17

Description

@asheshv
asheshv
opened on Jul 24, 2026
Issue body actions

Summary

The fix for CVE-2026-12044 in pgAdmin 4 9.16 switched sixteen COMMENT ON / pgstattuple / pgstatindex templates to qtLiteral, but missed several sinks: the index Statistics all-indexes listing (coll_stats.sql) and the Publications/Subscriptions Dependencies views still interpolated object names as bare '{{ name }}' without escaping. A low-privileged user who can create a table, index, publication, or subscription containing an apostrophe in its name could inject SQL that executes when another user views the corresponding Statistics or Dependencies panel. This is an incomplete fix for CVE-2026-12044.

The fix escapes the remaining name sinks with qtLiteral and adds a behavioral regression test for name-literal SQL escaping.

Affected versions

  • Index Statistics: pgAdmin 4 >= 1.0, < 9.17
  • Publications/Subscriptions Dependencies: pgAdmin 4 >= 5.0, < 9.17

Fix

Fixed in pgAdmin 4 9.17 by commits 73b321899 and f75452bfd.

Severity

  • CVSS 3.1: 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • CVSS 4.0: 8.7 HIGH — CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Credit

Reported by Hung Tran Quoc (@rampage0010).

References

  • CVE: CVE-2026-17346
  • Related: CVE-2026-12044
  • Release notes: pgAdmin 4 9.17

Activity

  1. asheshv
    added a commit that references this issue on Jul 28, 2026

    docs: correct reporter credit for #10193/#10194 to full name

    6e029ab
  2. asheshv
    changed the title [-]Internal tracking: pending fix for 9.17[/-] [+]SQL injection via unescaped object names in index Statistics and publication/subscription dependency views (CVE-2026-17346)[/+] on Jul 31, 2026
  3. asheshv
    added this to the 9.17 milestone on Jul 31, 2026
  4. asheshv commented on Jul 31, 2026

    @asheshv
    asheshv
    on Jul 31, 2026
    ContributorAuthor
    More actions

    Fixed in pgAdmin 4 9.17, released 2026-07-30.

  5. asheshv
    closed this as completedon Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      • 9.17

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.