#VU114095 Code Injection in PostgreSQL - CVE-2025-8714
Published: August 14, 2025 / Updated: November 7, 2025
PostgreSQL
PostgreSQL Global Development Group
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.