{"answers":{"affected":"1 open source package ship an affected version, including postgresql.","exploited":"There is no known exploitation of CVE-2025-8714 in the wild and no public exploit code.","fix":"Upgrade postgresql to a fixed version for your release line: 13.22.0, 14.19.0, 15.14.0 or 16.10.0.","what":"CVE-2025-8714 is a high-severity code injection vulnerability in PostgreSQL, published on 14 Aug 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-8714 and fix it if it is affected.\n\nWhat it is: CVE-2025-8714 is a high-severity code injection vulnerability in PostgreSQL, published on 14 Aug 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-8714 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- postgresql (Bitnami): affected all versions; fixed in 13.22.0, 14.19.0, 15.14.0, 16.10.0, 17.6.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-8714/ (Markdown: https://insights.sbomify.com/CVE-2025-8714/index.md)","id":"CVE-2025-8714","markdown":"https://insights.sbomify.com/CVE-2025-8714/index.md","name":"CVE-2025-8714","record":{"aliases":["ALPINE-CVE-2025-8714","AZL-66303","AZL-66324","BELL-CVE-2025-8714","BIT-postgresql-2025-8714","CLEANSTART-2026-HH85591","CLSA-2025-1764773940","DEBIAN-CVE-2025-8714","ECHO-fd55-a447-698b","GHSA-6m5q-cc57-2mj6","MINI-6c5p-vjm9-63x4","MINI-8fqq-p2ww-653v","MINI-h647-j78g-fwpw","MINI-mg4q-8wg5-gv88","MINI-r2q8-j8hm-23jp","RHSA-2025:16099","UBUNTU-CVE-2025-8714","openSUSE-SU-2025:15493-1"],"analysis":{"component_type":"database","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"PostgreSQL database","requires_auth":"none","summary":"A malicious superuser on the origin server can inject arbitrary code into pg_dump output, leading to code execution on the client machine during restore.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"PostgreSQL","cpe":[],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-829","name":"Inclusion of Functionality from Untrusted Control Sphere"}],"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.","ecosystems":["Bitnami","Red Hat:rhel_els:7","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2025-08-31","github_poc":1,"max_poc_stars":2,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-08-31T15:11:47Z","kind":"github_poc","ref":"https://github.com/orderby99/CVE-2025-8714-POC","stars":2,"title":"PoC de RCE en PostgreSQL — CVE-2025-8714"}],"tier":"poc_unverified"},"has_fix":true,"headline":"PostgreSQL pg_dump lets superuser of origin server execute arbitrary code in psql client","id":"CVE-2025-8714","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"code_injection","year":"2025"},"n_packages":15,"n_references":1,"next":{"headline":"PostgreSQL pg_dump newline in object name executes arbitrary code in psql client and in restore target server","id":"CVE-2025-8715"},"packages":[{"ecosystem":"Bitnami","fixed":["13.22.0","14.19.0","15.14.0","16.10.0","17.6.0"],"introduced":["0","14.0.0","15.0.0","16.0.0","17.0.0"],"last_affected":[],"package":"postgresql","purl":"pkg:bitnami/postgresql","source":"BIT-postgresql-2025-8714"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:9.2.24-9.el7_9.4"],"introduced":["0"],"last_affected":[],"package":"postgresql","purl":"pkg:rpm/redhat/postgresql","source":"RHSA-2025:16099"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:9.2.24-9.el7_9.4"],"introduced":["0"],"last_affected":[],"package":"postgresql-contrib","purl":"pkg:rpm/redhat/postgresql-contrib","source":"RHSA-2025:16099"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:9.2.24-9.el7_9.4"],"introduced":["0"],"last_affected":[],"package":"postgresql-debuginfo","purl":"pkg:rpm/redhat/postgresql-debuginfo","source":"RHSA-2025:16099"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:9.2.24-9.el7_9.4"],"introduced":["0"],"last_affected":[],"package":"postgresql-devel","purl":"pkg:rpm/redhat/postgresql-devel","source":"RHSA-2025:16099"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:9.2.24-9.el7_9.4"],"introduced":["0"],"last_affected":[],"package":"postgresql-docs","purl":"pkg:rpm/redhat/postgresql-docs","source":"RHSA-2025:16099"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:9.2.24-9.el7_9.4"],"introduced":["0"],"last_affected":[],"package":"postgresql-libs","purl":"pkg:rpm/redhat/postgresql-libs","source":"RHSA-2025:16099"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:9.2.24-9.el7_9.4"],"introduced":["0"],"last_affected":[],"package":"postgresql-plperl","purl":"pkg:rpm/redhat/postgresql-plperl","source":"RHSA-2025:16099"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:9.2.24-9.el7_9.4"],"introduced":["0"],"last_affected":[],"package":"postgresql-plpython","purl":"pkg:rpm/redhat/postgresql-plpython","source":"RHSA-2025:16099"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:9.2.24-9.el7_9.4"],"introduced":["0"],"last_affected":[],"package":"postgresql-pltcl","purl":"pkg:rpm/redhat/postgresql-pltcl","source":"RHSA-2025:16099"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:9.2.24-9.el7_9.4"],"introduced":["0"],"last_affected":[],"package":"postgresql-server","purl":"pkg:rpm/redhat/postgresql-server","source":"RHSA-2025:16099"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:9.2.24-9.el7_9.4"],"introduced":["0"],"last_affected":[],"package":"postgresql-static","purl":"pkg:rpm/redhat/postgresql-static","source":"RHSA-2025:16099"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:9.2.24-9.el7_9.4"],"introduced":["0"],"last_affected":[],"package":"postgresql-test","purl":"pkg:rpm/redhat/postgresql-test","source":"RHSA-2025:16099"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:9.2.24-9.el7_9.4"],"introduced":["0"],"last_affected":[],"package":"postgresql-upgrade","purl":"pkg:rpm/redhat/postgresql-upgrade","source":"RHSA-2025:16099"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.137.0-1.1"],"introduced":["0"],"last_affected":[],"package":"matrix-synapse","purl":"pkg:rpm/opensuse/matrix-synapse\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15493-1"}],"prev":{"headline":"PostgreSQL optimizer statistics can expose sampled data within a view, partition, or child table","id":"CVE-2025-8713"},"products":["PostgreSQL"],"published":"2025-08-14","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-26","vendors":["n/a"]},"summary":"A malicious superuser on the origin server can inject arbitrary code into pg_dump output, leading to code execution on the client machine during restore.","url":"https://insights.sbomify.com/CVE-2025-8714/"}