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

High 7.2 Published Updated

An authenticated user can exploit symbolic-link path traversal in pgAdmin 4 File Manager to write arbitrary files to the server.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-7819?

CVE-2026-7819 is a high-severity path traversal vulnerability in pgadmin.org pgAdmin 4, published on 11 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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

check_access_permission 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 _open_upload_target helper that opens the target with O_NOFOLLOW (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.

Weakness: CWE-61

Which versions are affected by CVE-2026-7819?

3 open source packages ship an affected version, including pgadmin4. It affects 1 product.

PackageAffectedFixed in
pgadmin4 PyPIAll versions9.15
pgadmin4 PyPIAll versions9.15
pgadmin4 PyPIAll versions9.15

Products include Pgadmin Pgadmin 4.

How do I fix CVE-2026-7819?

Upgrade pgadmin4 to 9.15 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-7819 being exploited?

There is no known exploitation of CVE-2026-7819 in the wild and no public exploit code.

Sources

Also known as GHSA-hr4r-fwpv-c95j, PYSEC-2026-2868.

Is CVE-2026-7819 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free