OS Command Injection in PostgreSQL - CVE-2007-3278

 

OS Command Injection in PostgreSQL - CVE-2007-3278

Published: June 23, 2025


Vulnerability identifier: #VU111761
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2007-3278
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: PostgreSQL Global Development Group
Affected software:
PostgreSQL

Detailed vulnerability description

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.


How to mitigate CVE-2007-3278

Install updates from vendor's website.

Sources