CVEFinder.io

CVE-2025-8714

âš ī¸ high
Summary

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.

CVSS Score
8.8
High
EPSS Score
0.0
Exploit Probability
Published Date
2025-08-14
First Seen: 2026-01-05
📊 Relative Risk Intelligence

This CVE is High Risk - more severe than 80.9% of all 378,548 vulnerabilities in our database.

#72,458
Top 25% most severe
Severity Percentile
đŸŽ¯ CISA SSVC Assessment Updated: Aug 14, 2025
🔍 Exploitation Status
None
No known exploits
âš™ī¸ Automatable
NO
Requires human interaction
đŸ’Ĩ Technical Impact
Partial
Limited system impact
🏆 Discovered By
The PostgreSQL project thanks Martin Rakhmanov, Matthieu Denais, and RyotaK for reporting this problem.
SSVC data provided by CISA
Last Modified 2025-08-15
CVSS Vector 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CWE IDs (Weakness Types)

đŸ“Ļ Affected Products 5

🔗 References 1

🔗 Related CVEs 6

CVE ID Severity CVSS EPSS Summary Published
CVE-2025-12817 â„šī¸ low 3.1 0.2 Missing authorization in PostgreSQL CREATE STATISTICS command allows a table owner to achieve denial of service against ... 2025-11-13
CVE-2025-12818 đŸ”ļ medium 5.9 0.4 Integer wraparound in multiple PostgreSQL libpq client library functions allows an application input provider or network... 2025-11-13
CVE-2025-8713 â„šī¸ low 3.1 0.0 PostgreSQL optimizer statistics allow a user to read sampled data within a view that the user cannot access. Separately... 2025-08-14
CVE-2025-8715 âš ī¸ high 8.8 0.0 Improper neutralization of newlines in pg_dump in PostgreSQL allows a user of the origin server to inject arbitrary code... 2025-08-14
CVE-2025-4207 đŸ”ļ medium 5.9 0.1 Buffer over-read in PostgreSQL GB18030 encoding validation allows a database input provider to achieve temporary denial ... 2025-05-08
CVE-2025-1094 âš ī¸ high 8.1 90.0 Improper neutralization of quoting syntax in PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescap... 2025-02-13
These CVEs affect the same products