Vulnocalypse
Back to feed
28impact

pgAdmin 4: File Manager save_file writes through a symbolic link planted after the containment check

pgadmin.org pgAdmin 4 · CVE-2026-86861
0 news outlets1 CERTs and agencies0 researchers

What is it?

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 n

Evidence

CERTs and agencies (1)

Exploitation

  • Public proof of concept
  • Exploited in the wild
  • Listed as known exploited
CVSS
5.9
EPSS
0.3%
First seen
6 h ago
Status
confirmed

All pgadmin.org vulnerabilities