CVE-2025-8714: PostgreSQL pg_dump lets superuser of origin server execute arbitrary code in psql client
Noroxi assessment
Priority: Monitor (action score 35/100)
- Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.76% (FIRST EPSS); higher than 55.2% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. A user must open a link or visit a page. No special conditions are required; it is repeatable.
- Fixed version: n/a PostgreSQL 13.22, 14.19, 15.14; azl3 postgresql 16.9-1 on Azure Linux 3.0 16.10-1; cbl2 postgresql 14.18-1 on CBL Mariner 2.0 14.19-1.
Low priority for now. Upgrade to n/a PostgreSQL 13.22, 14.19, 15.14; azl3 postgresql 16.9-1 on Azure Linux 3.0 16.10-1; cbl2 postgresql 14.18-1 on CBL Mariner 2.0 14.19-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- BDU:2025-09829
- ALSA-2025:14826
- ALSA-2025:14827
- ALSA-2025:14862
- ALSA-2025:14878
- ALSA-2025:14899
- ALSA-2025:15021
- ALSA-2025:15022
- ALSA-2025:15115
- ALSA-2026:72274
- DLA-4273-1
- openSUSE-SU-2025:15450-1
- openSUSE-SU-2025:15451-1
- openSUSE-SU-2025:15452-1
- openSUSE-SU-2025:15453-1
- openSUSE-SU-2025:15455-1
- openSUSE-SU-2025:15493-1
- RHSA-2025:14826
- RHSA-2025:14827
- RHSA-2025:14862
- Published
- Aug 14, 2025
- Updated
- Jun 17, 2026
- EPSS
- 0.7% · 55th percentile
- CWE
- CWE-829
Report tools
Action score
35
Monitor
Low priority for now.
- CVSS
- 35 / 40 · 8.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.7%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · PostgreSQL
- 8.8
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
—
Versions reported by the vendor
Affected version ranges reported by the assigning authority (PostgreSQL). Independent of NVD's CPE analysis and usually ahead of it.
n/a PostgreSQL
- 17 and later · before 17.6affected · rpm
- 16 and later · before 16.10affected · rpm
- 15 and later · before 15.14affected · rpm
- 14 and later · before 14.19affected · rpm
- before 13.22affected · rpm
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:10 | postgresql-test-rpm-macros | before 16.10-1.el10_0 | 16.10-1.el10_0 |
| AlmaLinux:8 | pg_repack | before 1.4.6-3.module_el8.6.0+2760+1746ec94 | 1.4.6-3.module_el8.6.0+2760+1746ec94 |
| AlmaLinux:8 | pg_repack | before 1.5.1-1.module_el8.10.0+3930+ecf33554 | 1.5.1-1.module_el8.10.0+3930+ecf33554 |
| AlmaLinux:8 | pg_repack | before 1.4.6-3.module_el8.9.0+3704+f1f917ce | 1.4.6-3.module_el8.9.0+3704+f1f917ce |
| AlmaLinux:8 | pg_repack | before 1.4.8-1.module_el8.9.0+3706+885c732e | 1.4.8-1.module_el8.9.0+3706+885c732e |
| AlmaLinux:8 | pg_repack | before 1.4.6-3.module_el8.6.0+3095+ee60d910 | 1.4.6-3.module_el8.6.0+3095+ee60d910 |
| AlmaLinux:8 | pgaudit | before 1.5.0-1.module_el8.6.0+2760+1746ec94 | 1.5.0-1.module_el8.6.0+2760+1746ec94 |
| AlmaLinux:8 | pgaudit | before 1.7.0-1.module_el8.9.0+3706+885c732e | 1.7.0-1.module_el8.9.0+3706+885c732e |
| AlmaLinux:8 | pgaudit | before 16.0-1.module_el8.10.0+3798+606ebb9f | 16.0-1.module_el8.10.0+3798+606ebb9f |
| AlmaLinux:8 | pgaudit | before 1.4.0-7.module_el8.9.0+3740+0e74851f.alma.1 | 1.4.0-7.module_el8.9.0+3740+0e74851f.alma.1 |
| AlmaLinux:8 | pgaudit | before 1.5.0-1.module_el8.6.0+3095+ee60d910 | 1.5.0-1.module_el8.6.0+3095+ee60d910 |
| AlmaLinux:8 | pgaudit | before 1.4.0-7.module_el8.10.0+3889+48cb11fb.alma.1 | 1.4.0-7.module_el8.10.0+3889+48cb11fb.alma.1 |
| AlmaLinux:8 | postgres-decoderbufs | before 1.9.7-1.Final.module_el8.9.0+3706+885c732e | 1.9.7-1.Final.module_el8.9.0+3706+885c732e |
| AlmaLinux:8 | postgres-decoderbufs | before 2.4.0-1.Final.module_el8.10.0+3798+606ebb9f | 2.4.0-1.Final.module_el8.10.0+3798+606ebb9f |
| AlmaLinux:8 | postgres-decoderbufs | before 0.10.0-2.module_el8.6.0+2760+1746ec94 | 0.10.0-2.module_el8.6.0+2760+1746ec94 |
| AlmaLinux:8 | postgres-decoderbufs | before 0.10.0-2.module_el8.6.0+3095+ee60d910 | 0.10.0-2.module_el8.6.0+3095+ee60d910 |
| AlmaLinux:8 | postgres-decoderbufs | before 0.10.0-2.module_el8.9.0+3704+f1f917ce | 0.10.0-2.module_el8.9.0+3704+f1f917ce |
| AlmaLinux:8 | postgresql | before 15.14-1.module_el8.10.0+4041+afd30bb4 | 15.14-1.module_el8.10.0+4041+afd30bb4 |
| AlmaLinux:8 | postgresql | before 16.10-1.module_el8.10.0+4038+0fbad93c | 16.10-1.module_el8.10.0+4038+0fbad93c |
| AlmaLinux:8 | postgresql | before 12.22-12.module_el8.10.0+4291+51362610 | 12.22-12.module_el8.10.0+4291+51362610 |
| AlmaLinux:8 | postgresql | before 12.22-5.module_el8.10.0+4043+6cac3079 | 12.22-5.module_el8.10.0+4043+6cac3079 |
| AlmaLinux:8 | postgresql | before 13.22-1.module_el8.10.0+4042+cb252986 | 13.22-1.module_el8.10.0+4042+cb252986 |
| AlmaLinux:8 | postgresql-contrib | before 12.22-5.module_el8.10.0+4043+6cac3079 | 12.22-5.module_el8.10.0+4043+6cac3079 |
| AlmaLinux:8 | postgresql-contrib | before 13.22-1.module_el8.10.0+4042+cb252986 | 13.22-1.module_el8.10.0+4042+cb252986 |
+96
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| n/a PostgreSQL | 13.22 | Vendor (CNA) |
| n/a PostgreSQL | 14.19 | Vendor (CNA) |
| n/a PostgreSQL | 15.14 | Vendor (CNA) |
| n/a PostgreSQL | 16.10 | Vendor (CNA) |
| n/a PostgreSQL | 17.6 | Vendor (CNA) |
| azl3 postgresql 16.9-1 on Azure Linux 3.0 | 16.10-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 postgresql 14.18-1 on CBL Mariner 2.0 | 14.19-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| almalinux:pg_repack | 1.5.1-1.module_el9.6.0+146+c54fdeca · AlmaLinux:9 | Package registry (OSV) |
| almalinux:pgaudit | 16.0-1.module_el9.4.0+66+eb9878bc · AlmaLinux:9 | Package registry (OSV) |
| almalinux:pgvector | 0.6.2-2.module_el9.6.0+167+4e561146 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:postgres-decoderbufs | 2.4.0-1.Final.module_el9.4.0+66+eb9878bc · AlmaLinux:9 | Package registry (OSV) |
| almalinux:postgresql | 16.10-1.module_el9.6.0+174+80cb77f0 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:postgresql-contrib | 16.10-1.module_el9.6.0+174+80cb77f0 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:postgresql-docs | 16.10-1.module_el9.6.0+174+80cb77f0 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:postgresql-plperl | 16.10-1.module_el9.6.0+174+80cb77f0 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:postgresql-plpython3 | 16.10-1.module_el9.6.0+174+80cb77f0 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:postgresql-pltcl | 16.10-1.module_el9.6.0+174+80cb77f0 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:postgresql-private-devel | 16.10-1.module_el9.6.0+174+80cb77f0 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:postgresql-test-rpm-macros | 16.10-1.el10_0 · AlmaLinux:10 | Package registry (OSV) |
| alpine:postgresql15 | 15.14-r0 · Alpine:v3.19 | Package registry (OSV) |
| alpine:postgresql16 | 16.10-r0 · Alpine:v3.19 | Package registry (OSV) |
| alpine:postgresql17 | 17.6-r0 · Alpine:v3.21 | Package registry (OSV) |
| debian:postgresql-13 | 13.22-0+deb11u1 · Debian:11 | Package registry (OSV) |
| debian:postgresql-15 | 15.19-0+deb12u1 · Debian:12 | Package registry (OSV) |
| debian:postgresql-17 | 17.6-0+deb13u1 · Debian:13 | Package registry (OSV) |
| opensuse:matrix-synapse | 1.137.0-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:postgresql13 | 13.22-150600.14.11.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:postgresql14 | 14.19-150600.16.20.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:postgresql15 | 15.14-150600.16.20.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:postgresql16 | 16.10-150600.16.21.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
+25
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Proof-of-concept repository on GitHub ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Proof-of-concept repository on GitHub | stars:2 | 2025-08-31 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+17 d
- TodayOct 29, 2026+441 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-829 · Inclusion of Functionality from Untrusted Control SphereCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Code InclusionCAPEC-175likelihood: Medium · Very High
- Serialized Data External LinkingCAPEC-201likelihood: High · High
- DTD InjectionCAPEC-228Medium
- Local Code InclusionCAPEC-251Medium
- PHP Local File InclusionCAPEC-252Medium
- Remote Code InclusionCAPEC-253
- Force Use of Corrupted FilesCAPEC-263Medium
- Open-Source Library ManipulationCAPEC-538likelihood: Low · High
ATT&CK techniques
- Process InjectionT1055
- Browser ExtensionsT1176
- Supply Chain Compromise: Software Dependencies and Development ToolsT1195.001
- Server Software Component: IIS ComponentsT1505.004
- Server Software Component: Terminal Services DLLT1505.005
- Hijack Execution Flow: Dynamic Linker HijackingT1574.006
- Hijack Execution Flow: KernelCallbackTableT1574.013
- Reflective Code LoadingT1620
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Vendor advisories and official records. Exploit/PoC links are deliberately left out.