# CVE-2020-14349: It was found that PostgreSQL versions before 12.4, before 11.9 and before 10.14 did not properly sanitize the searchpath during logical rep…

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.23%, higher than 83% of CVEs (2026-12-01)
- Published: 2020-08-24T12:32:13.000Z
- Modified: 2026-09-08T08:47:47.406Z
- Also known as: BIT-POSTGRESQL-2020-14349
- Weaknesses: CWE-89, CWE-427
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- PostgreSQL: PostgreSQL versions before 12.4, before 11.9 and before 10.14
- postgresql postgresql: from 10.0 before 10.14; from 11.0 before 11.9; from 12.0 before 12.4
- opensuse leap: 15.1; 15.2
- postgresql (Bitnami): from 10.0.0 before 10.14.0; from 11.0.0 before 11.9.0; from 12.0.0 before 12.4.0

## Every score

- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.6 Medium `AV:N/AC:H/Au:S/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00044.html> (advisory, broken-link, mailing-list, third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00049.html> (advisory, mailing-list, third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00050.html> (advisory, mailing-list, third-party-advisory, vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1865744> (advisory, issue-tracking, third-party-advisory)
- <https://security.gentoo.org/glsa/202008-13> (advisory, third-party-advisory, vendor-advisory)
- <https://usn.ubuntu.com/4472-1/> (advisory, third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00003.html> (advisory, mailing-list, third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00008.html> (advisory, mailing-list, third-party-advisory, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20200918-0002/> (advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-14349> (web)

## Sources

- CVE List: [CVE-2020-14349](https://www.cve.org/CVERecord?id=CVE-2020-14349), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-14349](https://nvd.nist.gov/vuln/detail/CVE-2020-14349), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-POSTGRESQL-2020-14349](https://osv.dev/vulnerability/BIT-POSTGRESQL-2020-14349), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2020-14349 · Whole record: https://cve.day/CVE-2020-14349.json · Rebuilt by cve.day 2026-11-25T22:57:54.334Z
