OS Command Injection in PostgreSQL - CVE-2007-3278
Published: June 23, 2025
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.
The vulnerability exists due to improper input validation in dblink. A remote attacker with ability to manipulate the connection string can pass specially crafted input to the application and execute arbitrary OS commands on the target system.
Affected software
Gentoo Linux
dev-db/postgresql
How to mitigate CVE-2007-3278
dev-db/postgresql - update to 8.0.15