CVE-2026-17348: pgAdmin 4: Missing authentication decorator on Constraints, preferences, Debugger and Schema Diff routes allows unauthenticated access in SERVER mode (incomplete fix for CVE-2026-12046)

Published Jul 31, 2026
·
Updated

In SERVER mode, pgAdmin 4 enforces authentication per route via the @pgaloginrequired decorator; the application's beforerequest hook only handles desktop-mode auto-login and the Kerberos/Webserver-auth redirect, so any route shipped without the decorator is reachable without authentication (CWE-306). This is the same defect class previously fixed as CVE-2026-12046 (the sqleditor close/updateconnection routes).

A follow-up sweep, prompted by a report describing an incomplete fix for CVE-2026-12046, found further routes missing @pgaloginrequired: the Constraints blueprint's nodes and proplist (object listing) routes and its delete route (a state-mutating DELETE that removes table constraints); preferences.getallcli (GET, discloses all CLI-settable preference values); debugger.close (DELETE); and schemadiff.close (DELETE). An unauthenticated network client could therefore enumerate constraint metadata, delete table constraints, read preference values, and force-close debugger or schema-diff sessions belonging to other users, without ever authenticating.

Fix adds the missing @pgaloginrequired decorator (and the corresponding import to the Constraints module) to each of these routes. The change is decorator-only; no behavioral changes to the underlying handlers.

This issue affects pgAdmin 4 in SERVER mode: the Constraints and Debugger routes from 1.0, the Schema Diff close route from 4.18, and preferences.getallcli from 8.2, all before 9.17.

Affected Software

2 affected components
pgAdmin pgAdmin 4<9.17
pgAdmin Pgadmin 4 Postgresql>=1.0<9.17

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pgAdmin 4 to a version that resolves this vulnerability.

    Fixed in 9.17
  2. Configuration

    In pgAdmin 4 SERVER mode, add the @pga_login_required decorator (and the corresponding import to the Constraints module) to the Constraints blueprint's nodes, proplist (object listing) routes, and its state-mutating DELETE route that removes table constraints.

    pgAdmin 4 Constraints blueprint routes (nodes/proplist/object-listing routes and delete route) @pga_login_required decorator = added
  3. Configuration

    Add the @pga_login_required decorator to preferences.get_all_cli (GET route disclosing all CLI-settable preference values) in SERVER mode.

    pgAdmin 4 preferences.get_all_cli route @pga_login_required decorator = added
  4. Configuration

    Add the @pga_login_required decorator to debugger.close (DELETE route that force-closes debugger sessions) in SERVER mode.

    pgAdmin 4 debugger.close route @pga_login_required decorator = added
  5. Configuration

    Add the @pga_login_required decorator to schema_diff.close (DELETE route that force-closes schema-diff sessions) in SERVER mode.

    pgAdmin 4 schema_diff.close route @pga_login_required decorator = added

Event History

Jul 31, 2026
CVE Published
via MITRE·03:59 PM
Data Sourced
via MITRE·03:59 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-17348?

The severity of CVE-2026-17348 is medium with a score of 6.5.

2

How do I fix CVE-2026-17348?

To fix CVE-2026-17348, ensure that all routes in pgAdmin 4 that require authentication are decorated with the @pga_login_required decorator.

3

What components are affected by CVE-2026-17348?

CVE-2026-17348 affects the Constraints, preferences, Debugger, and Schema Diff routes in pgAdmin 4 when operating in SERVER mode.

4

What does CVE-2026-17348 allow an attacker to do?

CVE-2026-17348 allows unauthenticated access to certain routes in pgAdmin 4 when not properly secured with the authentication decorator.

5

Is CVE-2026-17348 a new vulnerability?

CVE-2026-17348 is related to an incomplete fix for CVE-2026-12046, highlighting ongoing issues with authentication in pgAdmin 4.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203