CVE-2026-116250: pgAdmin 4 Storage File-Handling TOCTOU Vulnerability
- Vendor
- Pgadmin
A time-of-check to time-of-use vulnerability affects pgAdmin 4 server mode before version 9.19. Storage file operations validate user-supplied paths with check_access_permission() but subsequently open those paths by name or pass them to utilities that open them later. Affected operations include server configuration export/import, import file listing, and file handling by Backup, Restore, and Import/Export Data using pg_dump, pg_dumpall, pg_restore, and psql. Substituting a symbolic link at the target file or any parent directory between validation and opening can redirect operations outside the user's storage directory. Hard links can also expose outside files, while FIFOs can block requests. Operations execute with the filesystem privileges of the pgAdmin operating-system account. This vulnerability covers remaining file-handling paths after CVE-2026-86861 addressed the File Manager save operation.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can compromise confidentiality and integrity by reading, writing, or overwriting files outside the user's storage directory, or loading outside-file contents into a database table, subject to the pgAdmin operating-system account's permissions. A FIFO can hang a request and cause denial of service. Exploitation is constrained by the requirement for operating-system-level write access to the storage backend; pgAdmin itself does not provide a way to create the required filesystem objects.
Mitigation
If you can’t patch tonight, do this now.
Prevent other operating-system users from writing to pgAdmin storage directories or their backing storage, particularly on shared or network-mounted storage. Restrict storage permissions and backend access so untrusted users cannot create or substitute symbolic links, hard links, or FIFOs. No explicit vendor workaround is identified.
Remediation
Patch, then assume compromise.
Upgrade pgAdmin 4 to version 9.19 or a later fixed release. The fix opens files by traversing each path component from the storage directory with O_NOFOLLOW, accepts only regular files with a single hard link, and passes already-open file descriptors to utilities on Linux instead of reopening validated paths. Error messages also stop disclosing server filesystem paths.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-116250 exploited in the wild?
- As of Nov 16, 2026, Mallory has no reports of CVE-2026-116250 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-116250?
- As of Nov 16, 2026, Mallory has found no public exploit for CVE-2026-116250.
- Is there a patch for CVE-2026-116250?
- Upgrade pgAdmin 4 to version 9.19 or a later fixed release. The fix opens files by traversing each path component from the storage directory with O_NOFOLLOW, accepts only regular files with a single hard link, and passes already-open file descriptors to utilities on Linux instead of reopening validated paths.
- What products are affected by CVE-2026-116250?
- Pgadmin 4.
- How severe is CVE-2026-116250?
- CVE-2026-116250 has a CVSS v4 score of 7.3 (High) and an EPSS score of 0.10% (1st percentile) as of Nov 16, 2026.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.