8.8
HIGH CVSS 3.1
CVE-2025-8714
PostgreSQL Arbitrary Code Execution Vulnerability
Description

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.

INFO

Published Date :

Aug. 14, 2025, 1:15 p.m.

Last Modified :

Aug. 15, 2025, 1:13 p.m.

Remotely Exploit :

Yes !

Source :

f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Affected Products

The following products are affected by CVE-2025-8714 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Postgresql postgresql
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Solution
A vulnerability in PostgreSQL allows for arbitrary code execution; updating the software is necessary.
  • Update PostgreSQL to a patched version.
  • Upgrade the libecpg-compat3 packages.
Public PoC/Exploit Available at Github

CVE-2025-8714 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-8714.

URL Resource
https://www.postgresql.org/support/security/CVE-2025-8714/
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-8714 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

DSA and DLA for Debian last 14 days

Python

Updated: 22 hours, 6 minutes ago
0 stars 0 fork 0 watcher
Born at : Feb. 12, 2025, 2:08 p.m. This repo has been linked 380 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-8714 vulnerability anywhere in the article.

  • CybersecurityNews
Critical PostgreSQL Vulnerabilities Allow Arbitrary Code Injection During Restoration

The PostgreSQL Global Development Group has issued emergency security updates across all supported versions to address three critical vulnerabilities that could allow attackers to execute arbitrary co ... Read more

Published Date: Aug 18, 2025 (4 days, 13 hours ago)
  • Daily CyberSecurity
PostgreSQL Issues Urgent Security Fixes for High-Severity RCE Flaws in Core Utilities

The PostgreSQL Global Development Group has announced a major security update affecting all supported versions of the world’s most advanced open-source relational database. The update applies to Postg ... Read more

Published Date: Aug 18, 2025 (4 days, 22 hours ago)

The following table lists the changes that have been made to the CVE-2025-8714 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

    Aug. 14, 2025

    Action Type Old Value New Value
    Added Description 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.
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Added CWE CWE-829
    Added Reference https://www.postgresql.org/support/security/CVE-2025-8714/
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 8.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact