CVE-2025-8714
Code Injection via Untrusted Data in PostgreSQL pg_dump Utilities
Publication date: 2025-08-14
Last updated on: 2025-08-14
Assigner: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Description
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 Scores
EPSS Scores
Probability: | |
Percentile: |
Affected Vendors & Products
Vendor | Product | Version |
---|---|---|
postgresql | postgresql | * |
postgresql | postgresql | * |
postgresql | postgresql | * |
postgresql | postgresql | * |
postgresql | postgresql | * |
Helpful Resources
Exploitability
CWE ID | Description |
---|---|
CWE-829 | Inclusion of Functionality from Untrusted Control Sphere |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
How can this vulnerability impact me? :
What immediate steps should I take to mitigate this vulnerability?
Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
Meta Information
CVE Publication Date:
2025-08-14
CVE Last Modified Date:
2025-08-14
Report Generation Date:
2025-08-27
AI Powered Q&A Generation:
2025-08-14
EPSS Last Evaluated Date:
2025-08-26
NVD Report Link: