Skip to content
Noroxi
NVD / CVE Program· CNA redhat

CVE-2020-14350: It was found that some PostgreSQL extensions did not use search_path safely in their installation script.

HighCVSS 7.3 · v3.1—No exploit Fix available

Noroxi assessment

Priority: Monitor (action score 29/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.53% (FIRST EPSS).
  • Someone with local access to the system can trigger it. A low-privileged account is enough. A user must open a link or visit a page. No special conditions are required; it is repeatable.
  • Fixed version: postgres-decoderbufs (AlmaLinux:8) 0.10.0-2.module_el8.6.0+2758+4f4474df, 0.10.0-2.module_el8.6.0+2760+1746ec94; postgresql (Alpine:v3.10) 11.9-r0; postgresql (Alpine:v3.11) 12.4-r0.
  • Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).

Low priority for now. Upgrade to postgres-decoderbufs (AlmaLinux:8) 0.10.0-2.module_el8.6.0+2758+4f4474df, 0.10.0-2.module_el8.6.0+2760+1746ec94; postgresql (Alpine:v3.10) 11.9-r0; postgresql (Alpine:v3.11) 12.4-r0 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

It was found that some PostgreSQL extensions did not use search_path safely in their installation script. An attacker with sufficient privileges could use this flaw to trick an administrator into executing a specially crafted script, during the installation or update of such extension. This affects PostgreSQL versions before 12.4, before 11.9, before 10.14, before 9.6.19, and before 9.5.23.

Published
Aug 24, 2020
Updated
Jun 16, 2026
EPSS
0.5% · 45th percentile

Report tools

JSON

Action score

29

Monitor

Low priority for now.

CVSS
29 / 40 · 7.3 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.5%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2020-14350

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Is PostgreSQL on your server exposed to the internet?Run a port scan

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Is PostgreSQL on your server exposed to the internet?Run a port scan

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
postgresqlpostgresql
debiandebian linux
opensuseleap
canonicalubuntu linux

Using postgresql? Add it to your stack and be the first to know about CVEs like this one. (PostgreSQL)

Watch new CVEs for postgresql

When you'll hear from us

  • when a new CVE affecting this product is published
  • when a record in your stack enters KEV or is weaponized

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Is PostgreSQL on your server exposed to the internet?Run a port scan

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Is PostgreSQL on your server exposed to the internet?

The free port scanner finds the open ports on your server and matches the service versions it can read against known vulnerabilities. No account needed.

Run a port scan

Versions reported by the vendor

Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.

  • n/a PostgreSQL

    • PostgreSQL versions before 12.4, before 11.9, before 10.14, before 9.6.19, and before 9.5.23affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8postgres-decoderbufsbefore 0.10.0-2.module_el8.6.0+2758+4f4474df0.10.0-2.module_el8.6.0+2758+4f4474df
AlmaLinux:8postgres-decoderbufsbefore 0.10.0-2.module_el8.6.0+2760+1746ec940.10.0-2.module_el8.6.0+2760+1746ec94
Alpine:v3.10postgresqlfrom 9.5 · before 11.9-r011.9-r0
Alpine:v3.11postgresqlfrom 9.5 · before 12.4-r012.4-r0
Alpine:v3.15postgresql12before 12.4-r012.4-r0
Alpine:v3.15postgresql14before 12.4-r012.4-r0
Alpine:v3.17postgresql15before 12.4-r012.4-r0
Debian:9postgresql-9.6before 9.6.19-0+deb9u19.6.19-0+deb9u1
openSUSE:Leap 15.1postgresqlbefore 12.0.1-lp151.6.9.112.0.1-lp151.6.9.1
openSUSE:Leap 15.1postgresql10before 10.13-lp151.2.14.110.13-lp151.2.14.1
openSUSE:Leap 15.1postgresql10before 10.14-lp151.2.18.110.14-lp151.2.18.1
openSUSE:Leap 15.1postgresql12before 12.4-lp151.6.112.4-lp151.6.1
openSUSE:Leap 15.1postgresql12before 12.3-lp151.2.112.3-lp151.2.1
openSUSE:Leap 15.1postgresql96before 9.6.19-lp151.3.3.19.6.19-lp151.3.3.1
openSUSE:Leap 15.2postgresqlbefore 12.0.1-lp152.3.3.212.0.1-lp152.3.3.2
openSUSE:Leap 15.2postgresql10before 10.14-lp152.2.6.210.14-lp152.2.6.2
openSUSE:Leap 15.2postgresql10before 10.13-lp152.2.3.110.13-lp152.2.3.1
openSUSE:Leap 15.2postgresql11before 11.9-lp152.3.3.111.9-lp152.3.3.1
openSUSE:Leap 15.2postgresql12before 12.3-lp152.3.4.112.3-lp152.3.4.1
openSUSE:Leap 15.2postgresql12before 12.4-lp152.3.7.112.4-lp152.3.7.1
openSUSE:Leap 15.2postgresql96before 9.6.19-lp152.2.3.19.6.19-lp152.2.3.1
openSUSE:Tumbleweedpostgresql10before 10.18-1.310.18-1.3
openSUSE:Tumbleweedpostgresql11before 11.13-1.311.13-1.3
openSUSE:Tumbleweedpostgresql12before 12.8-1.312.8-1.3

+96

Other highest-scoring records for the same primary product.

  • CVE-2017-7546PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allowing remote…
    57Plan
  • CVE-2019-9193In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_server_program' group to…
    55Plan
  • CVE-2020-25695A flaw was found in PostgreSQL versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24.
    49Plan

Published before and after this one in the same product

  • ← EarlierCVE-2020-1720Mar 17, 2020 · A flaw was found in PostgreSQL's "ALTER ...
    26Monitor
  • ← EarlierCVE-2020-14349Aug 24, 2020 · 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…
    29Monitor
  • Later →CVE-2020-10733Sep 16, 2020 · The Windows installer for PostgreSQL 9.5 - 12 invokes system-provided executables that do not have fully-qualified paths.
    29Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:postgres-decoderbufs0.10.0-2.module_el8.6.0+2760+1746ec94 · AlmaLinux:8Package registry (OSV)
alpine:postgresql11.9-r0 · Alpine:v3.10Package registry (OSV)
alpine:postgresql1212.4-r0 · Alpine:v3.15Package registry (OSV)
alpine:postgresql1412.4-r0 · Alpine:v3.15Package registry (OSV)
alpine:postgresql1512.4-r0 · Alpine:v3.17Package registry (OSV)
debian:postgresql-9.69.6.19-0+deb9u1 · Debian:9Package registry (OSV)
opensuse:postgresql12.0.1-lp151.6.9.1 · openSUSE:Leap 15.1Package registry (OSV)
opensuse:postgresql1010.13-lp151.2.14.1 · openSUSE:Leap 15.1Package registry (OSV)
opensuse:postgresql1111.9-lp152.3.3.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:postgresql1212.3-lp151.2.1 · openSUSE:Leap 15.1Package registry (OSV)
opensuse:postgresql969.6.19-lp151.3.3.1 · openSUSE:Leap 15.1Package registry (OSV)
red hat:postgresql0:10.14-1.module+el8.2.0+7801+be0fed80 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:postgresql-contrib0:10.14-1.module+el8.2.0+7801+be0fed80 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:postgresql-contrib-debuginfo0:10.14-1.module+el8.2.0+7801+be0fed80 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:postgresql-debuginfo0:10.14-1.module+el8.2.0+7801+be0fed80 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:postgresql-debugsource0:10.14-1.module+el8.2.0+7801+be0fed80 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:postgresql-docs0:10.14-1.module+el8.2.0+7801+be0fed80 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:postgresql-docs-debuginfo0:10.14-1.module+el8.2.0+7801+be0fed80 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:postgresql-plperl0:10.14-1.module+el8.2.0+7801+be0fed80 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:postgresql-plperl-debuginfo0:10.14-1.module+el8.2.0+7801+be0fed80 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:postgresql-plpython30:10.14-1.module+el8.2.0+7801+be0fed80 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:postgresql-plpython3-debuginfo0:10.14-1.module+el8.2.0+7801+be0fed80 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:postgresql-pltcl0:10.14-1.module+el8.2.0+7801+be0fed80 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
rocky linux:pgaudit0:1.4.0-4.module+el8.4.0+545+ca56da2e · Rocky Linux:8Package registry (OSV)
rocky linux:postgres-decoderbufs0:0.10.0-2.module+el8.5.0+684+c3892ef9 · Rocky Linux:8Package registry (OSV)
suse:postgresql1010.14-4.25.1 · SUSE:Linux Enterprise High Performance Computing 15-ESPOSPackage registry (OSV)
suse:postgresql1212.4-8.6.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP2Package registry (OSV)
suse:postgresql969.6.20-6.8.1 · SUSE:HPE Helion OpenStack 8Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

National notice (Türkiye Cybersecurity Directorate / USOM)

Official security notices citing this record; remediation advice is on the agency's page.

All national notices →

Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • A user must open a link or visit a page.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
Required
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

References

All records