LiveActive security incident?Get immediate response
CVE Record

CVE-2020-25695: A flaw was found in PostgreSQL versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20...

A 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. An attacker having permission to create non-temporary objects in at least one schema can execute arbitrary SQL functions under the identity of a superuser. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

PostgreSQL allowed certain users with schema object-creation rights to run SQL functions as a superuser. That can turn limited database access into control over sensitive data, database behavior, and availability. Exposure depends on both vulnerable PostgreSQL versions and granted schema privileges.

Executive priority

Treat as a high-priority database patching and privilege-review item, especially where PostgreSQL stores customer, financial, or operational data. It is not KEV-backed in the provided sources, but the potential impact includes confidentiality, integrity, and availability loss.

Technical view

CVE-2020-25695 affects PostgreSQL versions before 13.1, 12.5, 11.10, 10.15, 9.6.20, and 9.5.24. A user able to create non-temporary objects in at least one schema can execute arbitrary SQL functions under a superuser identity. The CVE maps to CWE-89.

Likely exposure

Organizations running older PostgreSQL releases are exposed when non-superuser accounts can create persistent objects in any schema. Risk is higher in shared databases, application databases with broad CREATE grants, and environments where database roles are reused across applications or tenants.

Exploitation context

The provided bundle does not show CISA KEV listing or cited evidence of active exploitation. The issue still has serious privilege-escalation impact because exploitation starts from an authenticated database permission, not from unauthenticated network access.

Researcher notes

Focus validation on version state and role privileges rather than network reachability alone. The key precondition is permission to create non-temporary objects in at least one schema. The bundle does not provide exploit availability, CVSS scoring, or detailed vendor-specific workaround text.

Mitigation direction

  • Upgrade PostgreSQL to fixed vendor versions or later.
  • Apply distribution packages from Debian, Gentoo, Red Hat, NetApp, or your platform vendor.
  • Review and restrict CREATE privileges on schemas.
  • Remove unnecessary object-creation rights from application and tenant roles.
  • Check PostgreSQL and vendor security guidance for environment-specific instructions.

Validation and detection

  • Inventory PostgreSQL versions across production, staging, and managed appliances.
  • Identify databases older than 13.1, 12.5, 11.10, 10.15, 9.6.20, or 9.5.24.
  • Review schema privileges for non-superuser CREATE rights.
  • Confirm patched package versions from the relevant vendor advisory.
  • Check whether affected roles exist in shared or multi-tenant databases.
Prepared
Confidence
high
Sources
7

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-89: Database access and collection lookup

Injection into data stores can inform collection, data access, and exfiltration detection reviews. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2020-25695 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
6Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/apostgresqlAll PostgreSQL versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.