CLEANSTART-2026-BS01554: Untrusted data inclusion in pg_dump in PostgreSQL allows a malicious superuser of the origin server to inject arbitrary code for restore-time execution as the client operating system account runnin...
Security vulnerability affects the postgresql15 package. Untrusted data inclusion in pgdump in PostgreSQL allows a malicious superuser of the origin server to inject arbitrary code for restore-time execution as the client operating system account running psql to restore the dump, via psql meta-commands.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
cleanstart/postgresql15to a version that resolves this vulnerability.Fixed in 15.14-r0
Event History
Frequently Asked Questions
Who is exposed to this issue?
Systems are exposed when they restore a pg_dump output obtained from an origin PostgreSQL server controlled by a malicious superuser. The code executes on the restore client, rather than necessarily on the origin server.
What does an attacker need to exploit it?
The attacker needs superuser privileges on the origin PostgreSQL server so they can place malicious psql meta-commands into dump content. A user must then restore that dump using psql.
What is the impact on the restore system?
The injected code can execute with the privileges of the client operating system account that runs psql for the restore. The stated impact includes confidentiality, integrity, and availability.