{"cve":"CVE-2026-7819","nvd":{"published":"2026-05-11T16:17:39.113","modified":"2026-10-26T18:10:00.173","status":"Analyzed","description":"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.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","score":7.2},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":8.1},"cwes":["CWE-61"],"references":["https://github.com/pgadmin-org/pgadmin4/issues/9902"],"products":["pgadmin:pgadmin_4"],"source":"nvd","synced_at":"2026-10-26T18:27:13.530666824+00:00"},"epss":{"cve":"CVE-2026-7819","score":0.00325,"percentile":0.25301,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-hr4r-fwpv-c95j","url":"https://osv.dev/vulnerability/GHSA-hr4r-fwpv-c95j","summary":" pgAdmin 4 File Manager has symbolic-link path traversal","modified":"2026-09-10T03:51:06.034301368Z","packages":[{"ecosystem":"PyPI","name":"pgadmin4","purl":"pkg:pypi/pgadmin4","ranges":["<9.15"],"fixed":["9.15"]}]},{"id":"PYSEC-2026-2868","url":"https://osv.dev/vulnerability/PYSEC-2026-2868","summary":" pgAdmin 4 File Manager has symbolic-link path traversal","modified":"2026-07-13T16:32:56.106139825Z","packages":[{"ecosystem":"PyPI","name":"pgadmin4","purl":"pkg:pypi/pgadmin4","ranges":["<9.15"],"fixed":["9.15"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}