{"id":"CVE-2026-17348","published":"2026-07-31T15:59:18Z","modified":"2026-07-31T17:23:08Z","title":"pgAdmin 4: Missing authentication decorator on Constraints, preferences, Debugger and Schema Diff routes allows…","vendor":"pgadmin.org","product":"pgAdmin 4","tier":"tail","description":{"text":"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).\n\nA 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.\n\nFix 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.\n\nThis 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00422,"percentile":0.37387,"provenance":"source"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"references":[{"url":"https://github.com/pgadmin-org/pgadmin4/issues/10194","tags":["issue-tracking"]},{"url":"https://github.com/pgadmin-org/pgadmin4/commit/24fdcf0f58591c87ada31366c01e1af180eceb05","tags":["patch"]}],"priority":{"score":12.0,"factors":[{"name":"EPSS percentile","points":7.48},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"pgadmin-org","affectedVersions":[{"vendor":"pgadmin.org","product":"pgAdmin 4","versions":[">= 1.0, < 9.17"]},{"vendor":"pgadmin.org","product":"pgAdmin 4","versions":[">= 4.18, < 9.17"]},{"vendor":"pgadmin.org","product":"pgAdmin 4","versions":[">= 8.2, < 9.17"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-31T17:22:27.726914Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-51561","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-pgadmin-org-pgadmin-4-cve-2022-0959","parents":[{"from":"CVE-2026-12046","to":"CVE-2026-17348","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"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 stat…","from":"CVE.org","in":"CVE-2026-17348"}]},{"from":"CVE-2024-4215","to":"CVE-2026-17348","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["web/pgadmin/preferences/__init__.py","web/pgadmin/tools/debugger/__init__.py","web/pgadmin/tools/schema_diff/__init__.py"],"commits":["https://github.com/pgadmin-org/pgadmin4/commit/f4761f55f7cf6d56d6c5129f921393b0b47fd976","https://github.com/pgadmin-org/pgadmin4/commit/24fdcf0f58591c87ada31366c01e1af180eceb05"],"basis":"rarely changed file"}]}]}}