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.

Published: 2007-06-19 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2007-3278 is rated Moderate Risk (51.2/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.26%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2007-3278

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.64% 1.26% +0.62%
2 2026-02-25 0.77% 0.64% -0.13%
3 2026-02-05 0.77%

Full EPSS history (16 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2007-3278

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.9 2.0 MEDIUM
AV:L/AC:M/Au:N/C:C/I:C/A:C Click to expand
Access vector (AV:L)
Requires local access to the target system.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:C)
Complete confidentiality impact.
Integrity impact (I:C)
Complete integrity impact.
Availability impact (A:C)
Complete availability impact.
3.4 10.0 [email protected]

Weakness enumeration for CVE-2007-3278

OS Trackers for CVE-2007-3278

vendor priority summary link
gentoo high CVE-2007-3278: 1 GLSA(s) (200801-15), 1 atom(s) (dev-db/postgresql); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2007-3278
redhat https://access.redhat.com/security/cve/CVE-2007-3278
ubuntu medium CVE-2007-3278 medium priority: Ubuntu including 2 source packages (postgresql-8.1, postgresql-8.2), 8 status rows across 4 suites (dapper, edgy, feisty, upstream): not-affected 4, DNE 2, needs-triage 2. https://ubuntu.com/security/CVE-2007-3278

Vendor comments (NVD) for CVE-2007-3278

  • Red Hat (2008-02-01T00:00:00)

    Red Hat does not consider this do be a security issue. dblink is disabled in default configuration of PostgreSQL packages as shipped with Red Hat Enterprise Linux versions 2.1, 3, 4 and 5, and it is a configuration decision whether to grant local users arbitrary access. Fixes to correct this bug were included in PostgreSQL updates: http:rhn.redhat.comcveCVE-2007-3278.html

Affected software / configurations for CVE-2007-3278

Vendor Product Version Raw CPE
postgresql postgresql >= 7.3, < 7.3.21 cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
postgresql postgresql >= 7.4, < 7.4.19 cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
postgresql postgresql >= 8.0, < 8.0.15 cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
postgresql postgresql >= 8.1, < 8.1.11 cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
postgresql postgresql >= 8.2, < 8.2.6 cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
debian debian_linux 3.1 cpe:2.3:o:debian:debian_linux:3.1:*:*:*:*:*:*:*
debian debian_linux 4.0 cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:*

References for CVE-2007-3278

URL Tags
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01420154 Third Party Advisory
http://osvdb.org/40899 Broken Link
http://secunia.com/advisories/28376 Broken Link
http://secunia.com/advisories/28437 Broken Link
http://secunia.com/advisories/28438 Broken Link
http://secunia.com/advisories/28445 Broken Link
http://secunia.com/advisories/28454 Broken Link
http://secunia.com/advisories/28477 Broken Link
http://secunia.com/advisories/28479 Broken Link
http://secunia.com/advisories/28679 Broken Link
http://secunia.com/advisories/29638 Broken Link
http://security.gentoo.org/glsa/glsa-200801-15.xml Third Party Advisory
http://sunsolve.sun.com/search/document.do?assetkey=1-26-103197-1 Broken Link
http://sunsolve.sun.com/search/document.do?assetkey=1-66-200559-1 Broken Link
http://www.debian.org/security/2008/dsa-1460 Third Party Advisory
http://www.debian.org/security/2008/dsa-1463 Third Party Advisory
http://www.leidecker.info/pgshell/Having_Fun_With_PostgreSQL.txt Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDKSA-2007:188 Third Party Advisory
http://www.portcullis.co.uk/uplds/whitepapers/Having_Fun_With_PostgreSQL.pdf Third Party Advisory
http://www.redhat.com/support/errata/RHSA-2008-0038.html Third Party Advisory
http://www.redhat.com/support/errata/RHSA-2008-0039.html Third Party Advisory
http://www.redhat.com/support/errata/RHSA-2008-0040.html Third Party Advisory
http://www.securityfocus.com/archive/1/471541/100/0/threaded Third Party Advisory VDB Entry
http://www.securityfocus.com/archive/1/471644/100/0/threaded Third Party Advisory VDB Entry
http://www.vupen.com/english/advisories/2008/0109 Permissions Required
http://www.vupen.com/english/advisories/2008/1071/references Permissions Required
https://exchange.xforce.ibmcloud.com/vulnerabilities/35142 Third Party Advisory VDB Entry
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10334 Third Party Advisory
https://usn.ubuntu.com/568-1/ Third Party Advisory
cvelogic Threat Intelligence