CVE Professor — Güvenlik Açığı Takip & Analiz
›
CVE-2026-86861

CWE-59 · CWE-367

ORTA CVSS 5.9 ⚡ EPSS 0.3% NVD

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.

Yayınlanma 17.09.2026
ISO Tarih 2026-09-17
CVSS Sürüm v3.1
Kaynak NVD
CVSS v3.1 Metrikleri
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L
Attack Vector Network AV:N
Attack Complexity High AC:H
Privileges Req. Low PR:L
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality None C:N
Integrity High I:H
Availability Low A:L
EPSS — Exploit Olasılık Skoru
0.3%
30 günlük olasılık
Tüm CVElerin 26. yüzdeliğinde — Bu açığın istismar edilme ihtimali çoğu CVEden yüksek.
AI Güvenlik Analizi

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-86861
CVSS 5.9/10 · ORTA · 17.09.2026
CWE: CWE-59, CWE-367
Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 AÇIK NEDİR?
Unrestricted File Upload
Açıklama: 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 fi…
Etkilenen: pgadmin:pgadmin_4

⚡ SALDIRI ZİNCİRİ
Saldırı adımları:
1. Upload endpoint tespit edilir.
2. PHP web shell yüklenir: shell.php
3. MIME bypass: Content-Type: image/png ile PHP dosyası gönderilir.
4. Dosya uzantısı bypass: .php.jpg, .phtml, .php5
5. Shell URL'si tespit edilip RCE sağlanır: /uploads/shell.php?cmd=id

🔧 Araçlar: Burp Suite, weevely, msfvenom (webshell generation)
🗺️ MITRE ATT&CK: T1105 (Ingress Tool Transfer), T1059

🌍 GERÇEK DÜNYA ETKİSİ
Tüm gizli veriler okunabilir/çalınabilir; sistem verileri değiştirilebilir/silinebilir.

🛡️ ÇÖZÜM VE MİTİGASYON
→ pgadmin:pgadmin_4 için üretici güvenlik güncellemesini uygula.
→ Yüklenen dosyaları web root dışına kaydet.
→ WAF kuralı ekle, anormal trafik için IDS alert oluştur.

⚠️ ACİLİYET
📋 Rutin güncelleme (30 gün)

────────────────────────────────────────
[Kural Tabanlı Analiz] [💡 config.json dosyasına ai_key (Claude: sk-ant-... veya Groq: gsk_...) ekleyerek gerçek AI analizi kullanabilirsiniz]

[⚠️ AI key mevcut ancak istek başarısız — kural tabanlı analiz kullanıldı]

Hedef Keşif Sorguları

FOFA Sorgusu

app="pgadmin pgadmin_4"
CVSS Skoru
5.9 / 10 · CVSS ORTA
Zayıflık Türleri (CWE)
CWE-59 CWE-367
Etkilenen Ürünler (1)
pgadmin:pgadmin_4 (tüm sürümler)
Referanslar (1)
github.com patch exploit advisory
İlgili CVE'ler
10.0
CVE-2026-110063
Improper link resolution before file access ('link following') in VM Inspector for Azure Virtual Machines allo
9.9
CVE-2026-120307
The Beta9 worker serves the sandbox file API from outside the container. getHostPathFromContainerPath turns th
9.9
CVE-2026-115377
Incus before 6.0.7, 6.1.0 before 7.0.2, and 7.1.0 before 7.5.0 contains an arbitrary file write vulnerability
9.9
CVE-2026-113678
Froxlor before 2.3.15 contains a symlink following vulnerability in Statistics::makeChownWithNewStats that all
9.9
CVE-2026-87799
Improper link resolution in the migration receive path in Canonical LXD versions 4.0 and later (fixed in 4.0.1