CVE-2020-14349

It was found that PostgreSQL versions before 12.4, before 11.9 and before 10.14 did not properly sanitize the search_path during logical replication. An authenticated attacker could use this flaw in an attack similar to CVE-2018-1058, in order to execute arbitrary SQL command in the context of the user used for replication.

Published: 2020-08-24 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2020-14349 is rated Moderate Risk (58.3/100): CVSS High severity, with medium exploitation likelihood (EPSS 2.23%). Core evidence: EPSS rose +1.71% over the last day, indicating growing attacker interest. 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-2020-14349

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.53% 2.23% +1.71%
2 2026-06-10 1.55% 0.53% -1.02%
3 2026-01-24 1.55%

Full EPSS history (18 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2020-14349

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.1 3.1 HIGH
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.2 5.9 [email protected]
4.6 2.0 MEDIUM
AV:N/AC:H/Au:S/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:H)
Exploitation requires uncommon or highly specific conditions.
Authentication (AU:S)
A single authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
3.9 6.4 [email protected]

Weakness enumeration for CVE-2020-14349

OS Trackers for CVE-2020-14349

vendor priority summary link
alpine high CVE-2020-14349: 4 source package rows (postgresql, postgresql12, postgresql14, postgresql15); 29 state rows across 13 repos (3.10-main, 3.11-main, 3.12-main, 3.17-community, 3.17-main, 3.18-community, 3.18-main, 3.19-community, 3.19-main, 3.20-community, 3.20-main, edge-community, edge-main); fixed 19, open 10. https://security.alpinelinux.org/vuln/CVE-2020-14349
gentoo normal CVE-2020-14349: 1 GLSA(s) (202008-13), 1 atom(s) (dev-db/postgresql); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2020-14349
redhat medium https://access.redhat.com/security/cve/CVE-2020-14349
suse high CVE-2020-14349 severity important: SUSE including 246 source package names (10.19:libpq5-12.4-8.6.1, 10.19:postgresql10-10.14-8.19.1, …), 1015 product×package rows across 92 product lines (Container suse/postgres, Container trento/trento-db, … (92 product lines)): Fixed 587, Known Not Affected 428. https://www.suse.com/security/cve/CVE-2020-14349/
ubuntu medium CVE-2020-14349 medium priority: Ubuntu including 5 source packages (postgresql-10, postgresql-12, postgresql-9.1, postgresql-9.3, postgresql-9.5), 25 status rows across 5 suites (bionic, focal, trusty, upstream, xenial): DNE 16, released 5, needs-triage 2, not-affected 2. https://ubuntu.com/security/CVE-2020-14349

Affected software / configurations for CVE-2020-14349

Vendor Product Version Raw CPE
postgresql postgresql >= 10.0, < 10.14 cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
postgresql postgresql >= 11.0, < 11.9 cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
postgresql postgresql >= 12.0, < 12.4 cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
opensuse leap 15.1 cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
opensuse leap 15.2 cpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:*

References for CVE-2020-14349

URL Tags
http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00044.html Broken Link Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00049.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00050.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00003.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00008.html Mailing List Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1865744 Issue Tracking Third Party Advisory
https://security.gentoo.org/glsa/202008-13 Third Party Advisory
https://security.netapp.com/advisory/ntap-20200918-0002/ Third Party Advisory
https://usn.ubuntu.com/4472-1/ Third Party Advisory
cvelogic Threat Intelligence