{"id":"CVE-2026-7819","published":"2026-05-11T14:35:52Z","modified":"2026-05-11T16:06:03Z","title":"pgAdmin 4: Symbolic-link path traversal in File Manager allows arbitrary file write","vendor":"pgadmin.org","product":"pgAdmin 4","tier":"tail","description":{"text":"Symbolic-link path traversal (CWE-61, CWE-22) in pgAdmin 4 File Manager.\n\ncheck_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.\n\nFix 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.\n\nThis issue affects pgAdmin 4: before 9.15.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00325,"percentile":0.2619,"provenance":"source"},"cwes":[{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following"}],"references":[{"url":"https://github.com/pgadmin-org/pgadmin4/issues/9902","tags":["issue-tracking"]}],"priority":{"score":10.9,"factors":[{"name":"EPSS percentile","points":5.24},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"pgadmin-org","affectedVersions":[{"vendor":"pgadmin.org","product":"pgAdmin 4","versions":["< 9.15"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-05-11T16:05:59.150165Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pgadmin4","vulnerableRanges":["<9.15"],"patched":["9.15"],"from":["GHSA-hr4r-fwpv-c95j","PYSEC-2026-2868"],"provenance":"source"}],"summary":{"text":"The flaw is a symbolic-link path traversal in the File Manager component of pgAdmin 4, where the access check resolves '..' sequences but not symbolic links, so writes can be redirected outside the user's storage directory. An attacker with network access and a valid pgAdmin account can plant a symbolic link in their own storage directory and induce pgAdmin to write to any path the pgAdmin process can reach, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:56:10Z"},"euvd":{"id":"EUVD-2026-29087","exploited":false,"provenance":"source"}}