Proof-of-concept exploit for CVE-2025-59470, a command injection vulnerability in PostgreSQL's pg_backup extension, allowing authenticated backup operators to execute arbitrary commands.
Affected Software: PostgreSQL 15.x before 15.7, 16.x before 16.3.
Vulnerability Type: Command injection in the pg_backup extension.
Description: The pg_backup extension fails to properly sanitize user‑supplied parameters, allowing a backup operator to inject arbitrary commands that are executed as the PostgreSQL user.