All vulnerabilities

Servers and applications

CVE-2007-3278

PostgreSQL 8.1 and probably later versions, when local trust authentication is enabled and the Database Link library (dblink) is installed, allows remote attackers to access arbitrary accounts and execute arbitrary SQL queries via a dblink host parameter that proxies the connection from 127.0.0.1.

Severity
Medium 6.9
Published
19 Jun 2007
Last changed
16 Jun 2026
Added to UpHeron
16 Oct 2026
Fixed in
7.3.21, 7.4.19, 8.0.15, 8.1.11, 8.2.6
Exploit chance
1.3% in the next 30 daysHigher than 69% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
CWE-264
Attack
Needs local access · No login needed
Attacker can
Read data · Change data · Take it down
CVSS vector
AV:L/AC:M/Au:N/C:C/I:C/A:C
Sources
NVD

Affected software

SoftwareAffected versions
PostgreSQLServers and applications · cpe:a:postgresql:postgresql
  • From 7.3 before 7.3.21
  • From 7.4 before 7.4.19
  • From 8.0 before 8.0.15
  • From 8.1 before 8.1.11
  • From 8.2 before 8.2.6

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2007-3278
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2007-3278