The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2020-1720

CVE-2020-1720: PostgreSQL Authorization Bypass Vulnerability

CVE-2020-1720 is an authorization bypass flaw in PostgreSQL that allows authenticated attackers to drop database objects without proper checks. This article covers technical details, affected versions, and mitigation strategies.

Updated: May 16, 2026

CVE-2020-1720 Overview

CVE-2020-1720 is an authorization bypass vulnerability in PostgreSQL's ALTER ... DEPENDS ON EXTENSION command. Sub-commands processed under this statement fail to perform authorization checks [CWE-862, CWE-285]. An authenticated attacker can abuse this flaw to drop database objects they do not own, including functions and triggers, leading to database corruption.

The vulnerability affects PostgreSQL versions before 12.2, 11.7, 10.12, and 9.6.17. Downstream distributions including Red Hat Enterprise Linux 8, Red Hat Decision Manager 7.0, and Red Hat Software Collections are also impacted.

Critical Impact

Authenticated database users can drop functions, triggers, and other objects they do not own, corrupting database integrity without triggering authorization failures.

Affected Products

  • PostgreSQL versions before 12.2, 11.7, 10.12, and 9.6.17
  • Red Hat Enterprise Linux 8 and Red Hat Software Collections
  • Red Hat Decision Manager 7.0

Discovery Timeline

  • 2020-03-17 - CVE-2020-1720 published to the National Vulnerability Database (NVD)
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-1720

Vulnerability Analysis

The flaw resides in PostgreSQL's handling of the ALTER ... DEPENDS ON EXTENSION SQL statement. This command marks a database object as dependent on an extension, so the object is dropped when the extension is dropped. PostgreSQL processes the dependency change through internal sub-commands that act on the target object.

Those sub-commands omit the authorization checks normally enforced on direct ALTER and DROP operations. As a result, an authenticated user with the ability to invoke the dependency statement can register dependencies that lead to the deletion of objects they do not own. The integrity impact is high, while confidentiality and availability are not directly affected per the CVSS vector.

Root Cause

The root cause is missing authorization enforcement [CWE-862] within the sub-command path invoked by ALTER ... DEPENDS ON EXTENSION. PostgreSQL's standard permission model requires object ownership or explicit privileges to alter or drop catalog objects such as functions and triggers. The dependency code path bypasses those checks, breaking the privilege model [CWE-285].

Attack Vector

Exploitation requires an authenticated PostgreSQL session with the ability to execute ALTER ... DEPENDS ON EXTENSION against a target object. The attack proceeds over the network through a normal database connection and does not require user interaction. An attacker uses the statement to bind a victim-owned object to an extension, then drops or manipulates the extension to remove the dependent object. Successful exploitation results in database corruption through the unauthorized removal of functions, triggers, or related objects.

No public proof-of-concept exploit is recorded for this issue, and it is not listed in the CISA Known Exploited Vulnerabilities catalog. Refer to the Red Hat Bugzilla CVE-2020-1720 entry for vendor analysis.

Detection Methods for CVE-2020-1720

Indicators of Compromise

  • Unexpected DROP FUNCTION, DROP TRIGGER, or similar object removal events in PostgreSQL logs without a corresponding authorized administrator session.
  • Audit entries showing ALTER ... DEPENDS ON EXTENSION issued by non-privileged roles against objects they do not own.
  • Catalog inconsistencies where extensions reference objects owned by multiple unrelated roles.

Detection Strategies

  • Enable PostgreSQL statement logging with log_statement = 'ddl' to capture every ALTER and DROP event, then alert on dependency changes issued by non-superuser roles.
  • Deploy the pgaudit extension to record object-level DDL activity with attribution to the executing role.
  • Correlate database audit logs with endpoint and network telemetry in a centralized SIEM to identify abnormal DDL patterns originating from application service accounts.

Monitoring Recommendations

  • Monitor PostgreSQL server version reporting and flag instances running releases earlier than 12.2, 11.7, 10.12, or 9.6.17.
  • Track creation and modification of extension dependencies in pg_depend for unexpected role activity.
  • Alert on privilege-sensitive SQL keywords (ALTER, DEPENDS ON EXTENSION, DROP EXTENSION) executed by application or low-privilege accounts.

How to Mitigate CVE-2020-1720

Immediate Actions Required

  • Upgrade PostgreSQL to version 12.2, 11.7, 10.12, 9.6.17, or later on every affected instance.
  • Apply vendor updates from Red Hat for Enterprise Linux 8, Software Collections, and Decision Manager 7.0 where applicable.
  • Audit existing pg_depend entries and revoke unnecessary roles from databases that host sensitive extensions.
  • Restrict the ability to create or alter extensions to trusted administrative roles only.

Patch Information

PostgreSQL fixed the issue in versions 12.2, 11.7, 10.12, and 9.6.17. Review the PostgreSQL News Release for upstream release notes and the openSUSE Security Announcement for distribution-specific package updates. Red Hat customers should consult the Red Hat Bugzilla CVE-2020-1720 advisory for errata details.

Workarounds

  • Limit database login privileges so untrusted users cannot issue ALTER ... DEPENDS ON EXTENSION against shared objects.
  • Separate application schemas and extensions across distinct roles to constrain the blast radius of dependency-based object drops.
  • Take regular logical and physical backups so any corruption caused by unauthorized object drops can be reverted quickly.
bash
# Verify PostgreSQL version and apply patched release
psql -U postgres -c "SHOW server_version;"

# Example: upgrade on RHEL 8 via dnf
sudo dnf update postgresql postgresql-server

# Enable DDL logging in postgresql.conf
# log_statement = 'ddl'
# log_line_prefix = '%m [%p] %q%u@%d '
sudo systemctl restart postgresql

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechPostgresql

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.35%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-285

  • CWE-862
  • Technical References
  • openSUSE Security Announcement
  • Vendor Resources
  • Red Hat Bugzilla CVE-2020-1720

  • PostgreSQL News Release
  • Related CVEs
  • CVE-2024-10976: PostgreSQL Auth Bypass Vulnerability

  • CVE-2025-49146: PostgreSQL JDBC Driver Auth Bypass Issue

  • CVE-2025-1094: PostgreSQL libpq SQL Injection Vulnerability

  • CVE-2026-32286: PostgreSQL DataRow DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English