# CVE-2026-116243: pgAdmin 4: Utility binary path can point at a shared storage directory

- Severity: High 7.7 (CVSS:4.0, scored by PostgreSQL) `CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Published: 2026-10-30T19:55:14.513Z
- Modified: 2026-11-06T17:17:15.043Z
- Weaknesses: CWE-426, CWE-427
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: PostgreSQL

## Description

pgAdmin 4 runs pg_dump, pg_restore, pg_dumpall and psql from the binary path a user sets in their preferences. In server mode the binary path was refused only when it lay under the per-user storage directory (STORAGE_DIR), not under a SHARED_STORAGE directory, which ordinary users can upload files to. A user could therefore upload an executable to shared storage, point their binary path at it, and have pgAdmin run it as the operating-system account running pgAdmin. On POSIX, files created through pgAdmin are not executable, so this is exploitable where any file with an executable name can run, such as Windows server mode.

The fix checks the binary path against every SHARED_STORAGE directory as well, after expanding $DIR, collapsing ".." and resolving symbolic links, compares directories in a way a different spelling on a case-insensitive filesystem cannot bypass, refuses a path containing a NUL, and enforces the check wherever binary paths are resolved, including for the PSQL tool.

This issue affects pgAdmin 4: before 9.19.

(As written by CVE List.)

## Affected

- pgadmin.org pgAdmin 4: before 9.19
- pgadmin pgadmin_4: before 9.19

## Every score

- PostgreSQL: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- PostgreSQL: CVSS:4.0 7.7 High `CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/pgadmin-org/pgadmin4/issues/10656> (issue-tracking)
- <https://github.com/pgadmin-org/pgadmin4/commit/9e95d9a72155beb40d3735cadf6ae754f627cac7> (patch)

## Sources

- CVE List: [CVE-2026-116243](https://www.cve.org/CVERecord?id=CVE-2026-116243), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-116243](https://nvd.nist.gov/vuln/detail/CVE-2026-116243), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-116243 · Whole record: https://cve.day/CVE-2026-116243.json · Rebuilt by cve.day 2026-11-25T22:59:48.010Z
