CVE-2026-116240: pgAdmin 4: File Manager and storage-path tools act on a different path from the one checked

Published Oct 30, 2026
·
Updated

In server mode pgAdmin 4 validates a path into the user's storage directory with checkaccesspermission(), which builds the absolute path with getabspath(). Several callers then acted on a path they built differently, so the path checked and the path used could name different files:

- Opening a file in the Query Tool, the Google client secret and, on Windows, Import/Export Data, Backup, Restore and saving a file joined the path to the storage directory after stripping leading slashes and backslashes. On POSIX a path checked as a name inside storage could become an absolute path once stripped, so any file the pgAdmin account can read could be opened; on Windows a path naming a drive discarded the storage directory, so these could read, or write, outside it. - Listing a folder decoded the path a second time after the check, so a folder named like an encoded "..", which a user can create, listed any directory on the host. - Download, delete, rename and the file-exists check appended the path to the storage directory without a separator, so in a deployment where one user's storage directory name is a prefix of another's, another user's files could be read, deleted or moved; download also checked the path appended to itself. - Creating a folder could create one in another user's directory.

The fix makes checkaccesspermission() return the path it checked and every caller act on that path, decodes folder paths once, and opens, deletes and renames files relative to directories opened from the storage directory without following symbolic links. Desktop mode is not affected.

This issue affects pgAdmin 4: before 9.19.

Affected Software

1 affected component
pgAdmin pgAdmin 4<9.19

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 9.19

Event History

Oct 30, 2026
CVE Published
via MITRE·07:55 PM
Data Sourced
via MITRE·07:55 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:17 PM
DescriptionSeverityWeakness
Nov 6, 2026
Data Sourced
via NVD·05:17 PM
RemedyAffected Software

Frequently Asked Questions

1

Which deployments and users are exposed?

The issue affects pgAdmin 4 running in server mode. Exploitation requires an account with low-level privileges; unauthenticated access is not indicated by the provided data.

2

What impact depends on the host platform?

On POSIX, affected file-opening behavior can expose any file readable by the pgAdmin account. On Windows, paths that name a drive can cause operations to read or write outside the user storage directory.

3

Are users' storage areas at risk from each other?

Yes, where one user's storage directory name is a prefix of another user's directory name. The affected download, delete, rename, and file-exists handling can then allow another user's files to be read, deleted, or moved.

4

Can an attacker access arbitrary host directories through folder listing?

A user able to create a folder whose name resembles an encoded ".." can trigger the affected double-decoding behavior. This can cause folder listing to target any directory on the host.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203