CVE-2025-8714 — Inclusion of Functionality from Untrusted Control Sphere in Postgresql-13
Severity
8.8HIGHNVD
OSV4.9OSV3.1
EPSS
0.0%
top 91.45%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedAug 14
Latest updateSep 8
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitability: 2.8 | Impact: 5.9
Affected Packages5 packages
🔴Vulnerability Details
3GHSA▶
GHSA-6m5q-cc57-2mj6: Untrusted data inclusion in pg_dump in PostgreSQL allows a malicious superuser of the origin server to inject arbitrary code for restore-time executio↗2025-08-14
OSV▶
CVE-2025-8714: Untrusted data inclusion in pg_dump in PostgreSQL allows a malicious superuser of the origin server to inject arbitrary code for restore-time executio↗2025-08-14
📋Vendor Advisories
4Microsoft
▶
Debian▶
CVE-2025-8714: postgresql-13 - Untrusted data inclusion in pg_dump in PostgreSQL allows a malicious superuser o...↗2025