CVE-2026-7819: pgAdmin 4: Symbolic-link path traversal in File Manager allows arbitrary file write

Published May 11, 2026
·
Updated

Symbolic-link path traversal (CWE-61, CWE-22) in pgAdmin 4 File Manager.

checkaccesspermission used os.path.abspath, which resolves '..' but does not resolve symbolic links, while the subsequent kernel write follows symlinks. An authenticated user could plant a symbolic link inside their own storage directory pointing outside it and induce pgAdmin to write to any path reachable by the pgAdmin process.

Fix switches the access check to os.path.realpath for both source and destination, and adds an openuploadtarget helper that opens the target with ONOFOLLOW (mode 0o600) to close the leaf-component TOCTOU between the access check and the open. File mode is hardened from 0o644 to 0o600.

This issue affects pgAdmin 4: before 9.15.

Affected Software

2 affected components
pgAdmin pgAdmin 4<9.15
pgAdmin Pgadmin 4 Postgresql<9.15

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pgAdmin 4 File Manager to a version that resolves this vulnerability.

    Fixed in 9.15
  2. Configuration

    In File Manager, use an _open_upload_target helper to open the upload target with O_NOFOLLOW and create it with mode 0o600 to prevent following symlinks between the access check and the open.

    pgAdmin 4 File Manager open_upload_target symlink handling = O_NOFOLLOW (mode 0o600)
  3. Configuration

    Update check_access_permission to use os.path.realpath for both the source and destination (replacing os.path.abspath, which resolves '..' but not symlinks) so symlink traversal outside the allowed directory is rejected.

    pgAdmin 4 File Manager check_access_permission path resolution = os.path.realpath for both source and destination
  4. Configuration

    Ensure the upload/write file mode is hardened from 0o644 to 0o600 so created/modified files are not world-readable.

    pgAdmin 4 File Manager file mode = 0o600

Event History

May 11, 2026
CVE Published
via MITRE·02:35 PM
Data Sourced
via MITRE·02:35 PM
DescriptionSeverity
Data Sourced
via NVD·04:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 23, 58372
Event
via FIRST·11:17 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-7819?

The severity of CVE-2026-7819 is high with a CVSS score of 7.2.

2

What does CVE-2026-7819 affect?

CVE-2026-7819 affects pgAdmin 4 and its File Manager feature.

3

How do I fix CVE-2026-7819?

You can fix CVE-2026-7819 by applying the available patch for pgAdmin 4.

4

What kind of vulnerability is CVE-2026-7819?

CVE-2026-7819 is a symbolic-link path traversal vulnerability that allows arbitrary file write.

5

Who can exploit CVE-2026-7819?

An authenticated user can exploit CVE-2026-7819 to manipulate files using symbolic links.

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