# CVE-2026-116330: PostgreSQL pg\_dump tar restore.sql fails to block psql command injection

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-12 · Modified: 2026-11-14
- Aliases: DEBIAN-CVE-2026-116330, ALPINE-CVE-2026-116330, UBUNTU-CVE-2026-116330
- Record: https://cvemate.com/vulnerability/CVE-2026-116330 · JSON: https://cvemate.com/vulnerability/CVE-2026-116330/json

## Description

```text
Untrusted data inclusion in PostgreSQL pg_dump tar-format restore.sql allows a compromised origin server to execute arbitrary code as the client operating system account running psql, via the predictable restriction key in restore.sql.  This is a gap in the fix for CVE-2025-8714.  restore.sql is undocumented.  Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.456%, percentile 41.31%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine postgresql15 (Alpine Linux): \< 15.20-r0
- alpine postgresql16 (Alpine Linux): \< 16.16-r0
- alpine postgresql17 (Alpine Linux): \< 17.12-r0
- alpine postgresql18 (Alpine Linux): \< 18.7-r0
- debian postgresql-15 (Debian): All versions (No fix recorded) \| \< 15.20-0+deb12u1
- debian postgresql-17 (Debian): All versions (No fix recorded) \| \< 17.12-0+deb13u1
- debian postgresql-18 (Debian): All versions (No fix recorded) \| \< 18.7-1
- ubuntu postgresql-10 (Ubuntu): All versions (No fix recorded)
- ubuntu postgresql-12 (Ubuntu): All versions (No fix recorded)
- ubuntu postgresql-14 (Ubuntu): All versions (No fix recorded)
- ubuntu postgresql-16 (Ubuntu): All versions (No fix recorded)
- ubuntu postgresql-18 (Ubuntu): All versions (No fix recorded)
- ubuntu postgresql-9.3 (Ubuntu): All versions (No fix recorded)
- ubuntu postgresql-9.5 (Ubuntu): All versions (No fix recorded)

## References

- <https://www.postgresql.org/support/security/CVE-2026-116330/>
- <https://security-tracker.debian.org/tracker/CVE-2026-116330>
- <https://security.alpinelinux.org/vuln/CVE-2026-116330>
- <https://ubuntu.com/security/CVE-2026-116330>
- <https://www.cve.org/CVERecord?id=CVE-2026-116330>
- <https://www.postgresql.org/about/news/postgresql-187-1712-1616-1520-1425-and-19-rc-2-released-3442/>

---

Data as of 2026-12-05T03:35:35.025Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
