ID:12084 - Exploit for Code Injection in PostgreSQL - CVE-2025-8714
Published: November 7, 2025
PostgreSQL
Link to public exploit:
Vulnerability description
The vulnerability allows a remote user to execute arbitrary psql code on the target system.
The vulnerability exists due to improper input validation in pg_dump. A malicious superuser of the origin server to inject arbitrary psql code for restore-time execution as the client operating system account running psql to restore the dump, via psql meta-commands, such as pg_dump, pg_dumpall, and pg_restore.