Skip to main content

PostgreSQL CVE-2025-8714

HIGH
Inclusion of Functionality from Untrusted Control Sphere (CWE-829)
2025-08-14 f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
8.8
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Trusted source inclusion only
Impact

CVSS score of 8.8 (HIGH). Attack characteristics: network attack vector, low complexity, no privileges required, user interaction required. EPSS exploitation probability: 0.03%.

Exploit ScenarioDerived

This vulnerability can be exploited remotely over the network. Successful exploitation could compromise the high-severity affected system.

This Month Plan within 30 days. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 28, 2026

Untrusted data inclusion in pg_dump in PostgreSQL allows a malicious superuser of the origin server to inject arbitrary code for restore-time execution as the client operating system account running. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.

RemediationAI

No vendor patch is available at time of analysis. Monitor vendor advisories for updates. Apply vendor patches when available. Implement network segmentation and monitoring as interim mitigations.

Affected ProductsAI

See vendor advisory for affected versions.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability is classified under CWE-829. Untrusted data inclusion in pg_dump in PostgreSQL allows a malicious superuser of the origin server to inject arbitrary code for restore-time execution as the client operating system account running psql to restore the dump, via psql meta-commands. pg_dumpall is also affected. pg_restore is affected when used to generate a plain-format dump. This is similar to MySQL CVE-2024-21096. Versions before PostgreSQL 17.6, 16.10, 15.14, 14.19, and 13.22 are affected.

Know when PostgreSQL gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 8.8 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
SUSE HIGH
Red Hat 8.8 HIGH

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch released
Apr 09, 2026 - 08:30 nvd
Patch available
CVE Published
Aug 14, 2025 - 13:15 nvd
HIGH 8.8

DescriptionCVE.org

Untrusted data inclusion in pg_dump in PostgreSQL allows a malicious superuser of the origin server to inject arbitrary code for restore-time execution as the client operating system account running psql to restore the dump, via psql meta-commands. pg_dumpall is also affected. pg_restore is affected when used to generate a plain-format dump. This is similar to MySQL CVE-2024-21096. Versions before PostgreSQL 17.6, 16.10, 15.14, 14.19, and 13.22 are affected.

Executive ViewAI

Why It Matters

Organizations using Untrusted data inclusion in pg_dump in PostgreSQL face significant risk from CVE-2025-8714 rated CVSS 8.8. Successful exploitation could significantly impact the confidentiality, integrity, or availability of affected systems. Organizations should apply vendor updates when available and consider compensating controls in the interim.

Business Impact: Severe
Compensating Controls

Apply vendor patch. If immediate patching is not feasible: (1) Implement network-level access controls to limit exposure; (2) Enable enhanced monitoring and alerting; (3) Apply principle of least privilege.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Very High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2025-1094 HIGH POC
8.1 Feb 13

PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl

CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2013-1899 MEDIUM POC
6.5 Apr 04

Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows re

CVE-2026-20253 CRITICAL POC
9.8 Jun 10

Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.

CVE-2026-9586 CRITICAL POC
9.3 Jul 17

Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar

CVE-2017-7546 CRITICAL
9.8 Aug 16

PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allow

CVE-2015-1352 MEDIUM POC
5.0 Mar 30

The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t

CVE-2024-10553 CRITICAL POC
9.8 Mar 20

A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra

CVE-2019-9193 HIGH POC
7.2 Apr 01

In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve

CVE-2026-40887 CRITICAL POC
9.1 Apr 14

Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the

CVE-2022-24760 CRITICAL POC
10.0 Mar 12

Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot

CVE-2025-56157 CRITICAL POC
9.8 Dec 18

Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al

Vendor StatusVendor

SUSE

Severity: High
Product Status
Container suse/manager/5.0/x86_64/server-migration-14-16:5.0.5.1.7.26.2 Container suse/multi-linux-manager/5.1/x86_64/server-migration-14-16:5.1.1.8.7.1 Image server-database-migration-image Image server-migration-14-16-image Affected
Container suse/manager/5.0/x86_64/server:5.0.5.1.7.33.2 Affected
Container suse/multi-linux-manager/5.1/x86_64/server-postgresql:5.1.2.6.13.1 Affected
Container suse/multi-linux-manager/5.1/x86_64/server:5.1.1.8.7.1 Affected
Image SLES15-SP4-Manager-Server-4-3-BYOS Image SLES15-SP4-Manager-Server-4-3-BYOS-Azure Image SLES15-SP4-Manager-Server-4-3-BYOS-EC2 Image SLES15-SP4-Manager-Server-4-3-BYOS-GCE Affected

References

Advisories & patches
ADVISORY https://access.redhat.com/errata/RHSA-2025:14826 ADVISORY https://access.redhat.com/errata/RHSA-2025:14827 ADVISORY https://access.redhat.com/errata/RHSA-2025:14862 ADVISORY https://access.redhat.com/errata/RHSA-2025:14869 ADVISORY https://access.redhat.com/errata/RHSA-2025:14870 ADVISORY https://access.redhat.com/errata/RHSA-2025:14878 ADVISORY https://access.redhat.com/errata/RHSA-2025:14899 ADVISORY https://access.redhat.com/errata/RHSA-2025:15006 ADVISORY https://access.redhat.com/errata/RHSA-2025:15012 ADVISORY https://access.redhat.com/errata/RHSA-2025:15013 ADVISORY https://access.redhat.com/errata/RHSA-2025:15014 ADVISORY https://access.redhat.com/errata/RHSA-2025:15015 ADVISORY https://access.redhat.com/errata/RHSA-2025:15021 ADVISORY https://access.redhat.com/errata/RHSA-2025:15022 ADVISORY https://access.redhat.com/errata/RHSA-2025:15031 ADVISORY https://access.redhat.com/errata/RHSA-2025:15034 ADVISORY https://access.redhat.com/errata/RHSA-2025:15057 ADVISORY https://access.redhat.com/errata/RHSA-2025:15062 ADVISORY https://access.redhat.com/errata/RHSA-2025:15114 ADVISORY https://access.redhat.com/errata/RHSA-2025:15115 ADVISORY https://access.redhat.com/errata/RHSA-2025:15359 ADVISORY https://access.redhat.com/errata/RHSA-2025:15361 ADVISORY https://access.redhat.com/errata/RHSA-2025:16099 ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:02842/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:02980/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:02981/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:02986/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:02987/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:02994/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:02995/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03003/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03004/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03005/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03018/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03019/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03020/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03030/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03031/ REF https://www.postgresql.org/support/security/CVE-2025-8714/

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy