Sari la conținut
RedCVE

CVE-2026-86861Pgadmin 4 link following

pgadminpgadmin.orgPublicat:

Scor CVSS

6.0

Mediu

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

Probabilitate de exploatare (EPSS)

0.32%

Șansă de 0.32% să fie exploatată în următoarele 30 de zile, peste 25.9% 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 File Manager save_file endpoint, which backs saving from the Query Tool and ERD, validated the requested path with Filemanager.check_access_permission() and then opened the file for writing with a plain open() call. CVE-2026-7819 had previously hardened the separate file upload path by opening its target with O_NOFOLLOW, so that the kernel refuses to follow a symbolic link at the final path component, but save_file was left on an unprotected open(). A symbolic link already present when the check ran was rejected by the check itself; the remaining exposure was a link substituted at the final path component in the interval between the check and the write, at which point the write followed the link and landed outside the user's storage directory, creating or overwriting an arbitrary file as the operating-system account running pgAdmin. Exploitation requires the ability to create or replace a symbolic link inside the requesting user's storage directory. pgAdmin exposes no interface that creates symbolic links, so this requires filesystem access to the pgAdmin host or to a shared or network-mounted storage backend, together with winning the timing window. The reporter did not achieve a write against a released version, having attempted approximately 63,000 racing requests without success; the reported defect is the uncovered write path rather than a demonstrated sandbox escape. The fix routes save_file's write through the same O_NOFOLLOW-protected helper already used by the upload path, so both File Manager write sinks carry identical kernel-enforced protection, and reports a symbolic-link refusal explicitly instead of surfacing the underlying system error text. Note that files created by save_file are now given mode 0600, inheriting the behaviour introduced for uploads. The protection covers the final path component; substitution of an intermediate directory component is not addressed by this change. This issue affects pgAdmin 4: from the introduction of the containment check in the File Manager save path 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
Ridicat
Condiții de atac
Prezente
Privilegii necesare
Scăzut
Interacțiune cu utilizatorul
Niciunul
Confidențialitate
Niciunul
Integritate
Ridicat
Disponibilitate
Scăzut

Valorile în roșu fac vulnerabilitatea mai ușor de exploatat sau mai gravă. CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/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

  • CWE-59 link following
  • CWE-367 time-of-check time-of-use race condition

Cronologie

  1. Publicat:
  2. Ultima modificare:

Întrebări frecvente

Este CVE-2026-86861 exploatată?

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

Care este scorul CVSS pentru CVE-2026-86861?

CVE-2026-86861 are un scor de bază CVSS 4.0 de 6.0 (mediu).

Ce versiuni sunt afectate?

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

Există patch pentru CVE-2026-86861?

Î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.