BreachSpiderVerified, not vibes

CVE-2020-1720 in Postgresql and 3 more products

Medium 6.5

A flaw was found in PostgreSQL's "ALTER ... DEPENDS ON EXTENSION", where sub-commands did not perform authorization checks. An authenticated attacker could use this flaw in certain configurations to perform drop objects such as function, triggers, et al., leading to database corruption. This issue affects PostgreSQL...

Affects 4 products from 2 vendors. Facts below cite their sources.

CVSS 3.16.5
EPSS1.2%
EPSS percentile68th
FixSee advisory

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Postgresql Postgresql ≥ 9.6, < 9.6.17 ≥ 10.0, < 10.12 ≥ 11.0, < 11.7 ≥ 12.0, < 12.2
Redhat Enterprise Linux 8.0
Redhat Software Collections No version listed by the source
Redhat Decision Manager 7.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

A flaw was found in PostgreSQL's "ALTER ... DEPENDS ON EXTENSION", where sub-commands did not perform authorization checks. An authenticated attacker could use this flaw in certain configurations to perform drop objects such as function, triggers, et al., leading to database corruption. This issue affects PostgreSQL versions before 12.2, before 11.7, before 10.12 and before 9.6.17.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2020-1720
BreachSpider IDBS-2020-GLOBAL-188740-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Published2020-03-17
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-285: CWE-285

CWE-862: Missing Authorization

Software does not check whether an authenticated actor has permission for the requested operation.

Related attack patterns (CAPEC)

CAPEC-5 Blue Boxing via CWE-285

CAPEC-13 Subverting Environment Variable Values via CWE-285

CAPEC-45 Buffer Overflow via Symbolic Links via CWE-285

CAPEC-51 Poison Web Service Registry via CWE-285

CAPEC-59 Session Credential Falsification through Prediction via CWE-285

Show all 18

CAPEC-60 Reusing Session IDs (aka Session Replay) via CWE-285

CAPEC-76 Manipulating Web Input to File System Calls via CWE-285

CAPEC-127 Directory Indexing via CWE-285

CAPEC-402 Bypassing ATA Password Security via CWE-285

CAPEC-647 Collect Data from Registries via CWE-285

CAPEC-665 Exploitation of Thunderbolt Protection Flaws via CWE-862

CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs via CWE-285

CAPEC-17 Using Malicious Files via CWE-285

CAPEC-39 Manipulating Opaque Client-based Data Tokens via CWE-285

CAPEC-77 Manipulating User-Controlled Variables via CWE-285

CAPEC-87 Forceful Browsing via CWE-285

CAPEC-104 Cross Zone Scripting via CWE-285

CAPEC-668 Key Negotiation of Bluetooth Attack (KNOB) via CWE-285

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A flaw in PostgreSQL's 'ALTER ... DEPENDS ON EXTENSION' command allows authenticated attackers to perform unauthorized actions such as dropping database objects, potentially leading to database corruption.

The vulnerability exists due to a lack of proper authorization checks on sub-commands within the 'ALTER ... DEPENDS ON EXTENSION' command. An attacker with the necessary privileges can exploit this to drop functions, triggers, and other database objects.

Questions

What is CVE-2020-1720?

A flaw in PostgreSQL's 'ALTER ... DEPENDS ON EXTENSION' command allows authenticated attackers to perform unauthorized actions such as dropping database objects, potentially leading to database corruption.

What is the CVSS score for CVE-2020-1720?

CVE-2020-1720 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N. EPSS: 1.2%.

Is CVE-2020-1720 actively exploited?

No confirmed active exploitation of CVE-2020-1720 as of 2026-09-25.

How do I remediate CVE-2020-1720?

Priority: HIGH. Advisory: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1720 PSIRT: [email protected]

What systems are affected by CVE-2020-1720?

CVE-2020-1720 affects Postgresql Postgresql; Redhat Enterprise Linux, Software Collections, Decision Manager.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Postgresql","product":"Postgresql","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.