🔍 CVE-2026-17348

6.5
CVSS Score
MEDIUM
2026-07-31
2026-10-23 23:10
✅ 완료

🇰🇷 한글 설명

pgAdmin 4의 SERVER 모드에서 특정 경로에 인증 확인 데코레이터(@pga_login_required)가 누락되어 인증 없이 접근 가능한 취약점입니다. 공격자는 이를 통해 제약 조건 메타데이터를 열람하거나, 테이블 제약 조건을 삭제하고, 설정 값을 읽거나 디버거 세션을 강제로 종료할 수 있습니다.

💡 쉬운 설명

로그인하지 않은 외부 사용자가 관리자 권한이 필요한 기능에 마음대로 접근할 수 있는 보안 구멍이 발견되었습니다. 이를 통해 데이터 설정을 바꾸거나 중요한 정보를 몰래 훔쳐볼 위험이 있습니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

pgAdmin 4 (SERVER mode): Constraints/Debugger routes (1.0~), Schema Diff close route (4.18~), preferences.get_all_cli (8.2~) 미만 버전

⚔️ 공격 벡터

인증이 누락된 특정 API 경로(Constraints, Debugger, Schema Diff 등)에 인증 없이 직접 HTTP 요청을 전송

🛡️ 대응 방법

pgAdmin 4를 최신 버전(9.17 이상)으로 업데이트하여 누락된 인증 데코레이터가 적용된 패치를 적용하십시오.

🔧 검증 코드

출력된 버전 번호가 9.17 미만인 경우 해당 취약점에 노출되어 있으므로 즉시 업데이트가 필요합니다.

Shell / Script
python3 -c 'import pgadmin; print(pgadmin.__version__)' 2>/dev/null || echo 'Check installed pgAdmin version manually'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

💻 영향받는 소프트웨어

IBM WebSphere Application Server