CVE-2026-17348: CWE-306 Missing Authentication for Critical Function in pgadmin.org pgAdmin 4
In SERVER mode, pgAdmin 4 enforces authentication per route via the @pga_login_required decorator; the application's before_request 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/update_connection routes). A follow-up sweep, prompted by a report describing an incomplete fix for CVE-2026-12046, found further routes missing @pga_login_required: the Constraints blueprint's nodes and proplist (object listing) routes and its delete route (a state-mutating DELETE that removes table constraints); preferences.get_all_cli (GET, discloses all CLI-settable preference values); debugger.close (DELETE); and schema_diff.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 @pga_login_required 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.get_all_cli from 8.2, all before 9.17.
AI Analysis
Technical Summary
In SERVER mode, pgAdmin 4 enforces authentication per route using the @pga_login_required decorator. However, some routes were shipped without this decorator, making them accessible without authentication (CWE-306). This vulnerability affects routes in the Constraints blueprint (nodes, proplist, delete), preferences.get_all_cli, debugger.close, and schema_diff.close. An unauthenticated attacker can enumerate metadata, delete constraints, read preferences, and close sessions of other users. The issue affects versions from 1.0 up to but not including 9.17. The remediation is to add the missing @pga_login_required decorator to these routes.
Potential Impact
An unauthenticated attacker can perform unauthorized actions including enumerating database constraint metadata, deleting table constraints, reading all CLI-settable preference values, and forcibly closing debugger or schema-diff sessions belonging to other users. This leads to information disclosure, integrity loss, and availability impact on affected pgAdmin 4 SERVER mode deployments.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The fix involves adding the missing @pga_login_required decorator to the affected routes. Until an official patch or update is available, restrict network access to pgAdmin 4 SERVER mode instances and monitor for unusual activity related to these routes.
CVE-2026-17348: CWE-306 Missing Authentication for Critical Function in pgadmin.org pgAdmin 4
Description
In SERVER mode, pgAdmin 4 enforces authentication per route via the @pga_login_required decorator; the application's before_request 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/update_connection routes). A follow-up sweep, prompted by a report describing an incomplete fix for CVE-2026-12046, found further routes missing @pga_login_required: the Constraints blueprint's nodes and proplist (object listing) routes and its delete route (a state-mutating DELETE that removes table constraints); preferences.get_all_cli (GET, discloses all CLI-settable preference values); debugger.close (DELETE); and schema_diff.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 @pga_login_required 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.get_all_cli from 8.2, all before 9.17.
CVSS v3.1
Score 6.5medium
Affected software
pgadmin.org
pgAdmin 4
pgadmin.org
pgAdmin 4
pgadmin.org
pgAdmin 4
pkg:github/pgAdmin 4Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
In SERVER mode, pgAdmin 4 enforces authentication per route using the @pga_login_required decorator. However, some routes were shipped without this decorator, making them accessible without authentication (CWE-306). This vulnerability affects routes in the Constraints blueprint (nodes, proplist, delete), preferences.get_all_cli, debugger.close, and schema_diff.close. An unauthenticated attacker can enumerate metadata, delete constraints, read preferences, and close sessions of other users. The issue affects versions from 1.0 up to but not including 9.17. The remediation is to add the missing @pga_login_required decorator to these routes.
Potential Impact
An unauthenticated attacker can perform unauthorized actions including enumerating database constraint metadata, deleting table constraints, reading all CLI-settable preference values, and forcibly closing debugger or schema-diff sessions belonging to other users. This leads to information disclosure, integrity loss, and availability impact on affected pgAdmin 4 SERVER mode deployments.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The fix involves adding the missing @pga_login_required decorator to the affected routes. Until an official patch or update is available, restrict network access to pgAdmin 4 SERVER mode instances and monitor for unusual activity related to these routes.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- PostgreSQL
- Date Reserved
- 2026-07-25T02:52:55.455Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a6cf74dbf32cb7a34294b11
Added to database: 07/31/2026, 19:28:13 UTC
Last enriched: 07/31/2026, 19:39:57 UTC
Last updated: 09/13/2026, 10:01:29 UTC
Views: 61
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.