# CVE-2024-3116: Remote Code Execution Vulnerability through the validate binary path API in pgAdmin 4

- Severity: High 7.4 (CVSS:3.1, scored by PostgreSQL) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L`
- 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): 65.8%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2024-04-04T14:59:37.280Z
- Modified: 2026-07-07T17:56:44.492Z
- Also known as: GHSA-27jx-ffw8-xrqv, PYSEC-2026-1767
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: PostgreSQL

## Description

pgAdmin <= 8.4 is affected by a  Remote Code Execution (RCE) vulnerability through the validate binary path API. This vulnerability allows attackers to execute arbitrary code on the server hosting PGAdmin, posing a severe risk to the database management system's integrity and the security of the underlying data.

(As written by CVE List.)

## Affected

- pgadmin.org pgAdmin 4: before 8.5
- postgresql pgadmin_4: before 8.5
- pgadmin4 (PyPI): before 8.5
- pgadmin pgadmin_4: up to 8.4
- fedoraproject fedora: 39

## Every score

- PostgreSQL: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L`
- GitHub: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L`

## References

- <https://github.com/pgadmin-org/pgadmin4/issues/7326> (exploit, issue-tracking, web)
- <https://gist.github.com/aelmokhtar/689a8be7e3bd535ec01992d8ec7b2b98> (exploit, mitigation, third-party-advisory, web)
- <https://www.vicarius.io/vsociety/posts/remote-code-execution-vulnerability-in-pgadmin-cve-2024-3116> (exploit, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GIF5T34JTTYRGIN5YPT366BDFG6452A2/> (mailing-list)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-3116> (advisory)
- <https://github.com/pgadmin-org/pgadmin4/commit/fbbbfe22dd468bcfef1e1f833ec32289a6e56a8b> (web)
- <https://github.com/pgadmin-org/pgadmin4> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GIF5T34JTTYRGIN5YPT366BDFG6452A2> (web)
- <https://pypi.org/project/pgadmin4> (package)
- <https://github.com/advisories/GHSA-27jx-ffw8-xrqv> (advisory)

## Sources

- CVE List: [CVE-2024-3116](https://www.cve.org/CVERecord?id=CVE-2024-3116), CVE Terms of Use, modified 2025-03-14
- GitHub Advisory Database: [GHSA-27jx-ffw8-xrqv](https://github.com/advisories/GHSA-27jx-ffw8-xrqv), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2024-3116](https://nvd.nist.gov/vuln/detail/CVE-2024-3116), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1767](https://osv.dev/vulnerability/PYSEC-2026-1767), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2024-3116 · Whole record: https://cve.day/CVE-2024-3116.json · Rebuilt by cve.day 2026-11-25T22:58:38.761Z
