CVE-2026-116240: Storage-directory traversal in pgAdmin 4
- Vendor
- Pgadmin
pgAdmin 4 before version 9.19 contains path-validation inconsistencies in server-mode File Manager and storage-path operations. The check_access_permission() function validates a path constructed by get_abs_path(), but several callers reconstruct or decode the path differently before using it. These discrepancies allow file operations to escape the validated user storage directory. Affected functionality includes Query Tool file opening, Google client secret loading, folder listing and creation, downloads, deletion, renaming, file-existence checks, and certain Windows file-saving, Import/Export Data, Backup and Restore operations. Exploitation can expose host files and enable cross-user file manipulation. Desktop mode is unaffected.
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.
Attackers can read files accessible to the pgAdmin service account and list arbitrary host directories. Certain Windows operations permit reads or writes outside the user's storage directory. When one user's storage directory name is a prefix of another's, affected operations can read, delete or move the other user's files. Folder creation can also occur in another user's directory. These flaws compromise filesystem confidentiality and integrity within the permissions available to the pgAdmin process.
Mitigation
If you can’t patch tonight, do this now.
No temporary workaround is specified. Desktop-mode deployments are unaffected.
Remediation
Patch, then assume compromise.
Upgrade pgAdmin 4 to version 9.19 or a later fixed release. The fix makes check_access_permission() return the validated path and requires callers to operate on that same path, decodes folder paths only once, and performs file opening, deletion and renaming relative to directories opened from the storage directory without following symbolic links.
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-116240 exploited in the wild?
- As of Nov 14, 2026, Mallory has no reports of CVE-2026-116240 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-116240?
- As of Nov 14, 2026, Mallory has found no public exploit for CVE-2026-116240.
- Is there a patch for CVE-2026-116240?
- Upgrade pgAdmin 4 to version 9.19 or a later fixed release. The fix makes check_access_permission() return the validated path and requires callers to operate on that same path, decodes folder paths only once, and performs file opening, deletion and renaming relative to directories opened from the storage directory without following symbolic links.
- What products are affected by CVE-2026-116240?
- Pgadmin 4.
- How severe is CVE-2026-116240?
- CVE-2026-116240 has a CVSS v4 score of 7.1 (High) and an EPSS score of 0.26% (18th percentile) as of Nov 14, 2026.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.