# CVE-2026-14666: PostgreSQL row security caching disregards role modifications

- Priority: **Routine**
- Reason: Not severe (CVSS 4.2, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-13 · Modified: 2026-08-29
- Aliases: ALPINE-CVE-2026-14666, UBUNTU-CVE-2026-14666, DEBIAN-CVE-2026-14666, CGA-22q3-3gv9-qc65, CGA-4q47-74gf-cqpg, CGA-64jm-74qp-c9jp, CGA-g4xq-hh3f-vx4v, CGA-gpq7-v848-h267, CGA-p5jq-v9c7-9j3q, CGA-rmj2-43v4-jv56, CGA-wjfp-c6hx-wm53, CGA-x84r-j98f-rx37, CGA-xpfh-gqr4-795r
- Record: https://cvemate.com/vulnerability/CVE-2026-14666 · JSON: https://cvemate.com/vulnerability/CVE-2026-14666/json

## Description

```text
Incomplete tracking in PostgreSQL of changes to role membership, role attributes, and database ownership allows a query to continue using cached row-level security policies after those changes require a different policy, via plan reuse.  Stale policies continue until some other event invalidates the cache or connection termination ends the session.  This permits a user to complete reads and modifications that were recently permitted but now forbidden.  An attacker must tailor an attack to a particular application's pattern of privilege removal and role-specific row security policies.  Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.
```

## Signals

- CVSS: 4.2 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
- EPSS: 0.175%, percentile 7.326%, 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 (first 20 of 25)

- alpine postgresql15 (Alpine Linux): \< 15.19-r0
- alpine postgresql16 (Alpine Linux): \< 16.15-r0
- alpine postgresql17 (Alpine Linux): \< 17.11-r0
- alpine postgresql18 (Alpine Linux): \< 18.5-r0
- chainguard postgresql-14 (Chainguard): \< 14.24-r0
- chainguard postgresql-15 (Chainguard): \< 15.19-r0
- chainguard postgresql-16 (Chainguard): \< 16.15-r0
- chainguard postgresql-17 (Chainguard): \< 17.11-r0
- chainguard postgresql-18 (Chainguard): \< 18.6-r0
- wolfi postgresql-14 (Wolfi): \< 14.24-r0
- wolfi postgresql-15 (Wolfi): \< 15.19-r0
- wolfi postgresql-16 (Wolfi): \< 16.15-r0
- wolfi postgresql-17 (Wolfi): \< 17.11-r0
- wolfi postgresql-18 (Wolfi): \< 18.6-r0
- debian postgresql-15 (Debian): \< 15.19-0+deb12u1
- debian postgresql-17 (Debian): \< 17.11-0+deb13u1
- debian postgresql-18 (Debian): \< 18.6-1
- ubuntu postgresql-10 (Ubuntu): All versions (No fix recorded)
- ubuntu postgresql-12 (Ubuntu): All versions (No fix recorded)
- ubuntu postgresql-14 (Ubuntu): \< 14.24-0ubuntu0.22.04.1

## References

- <https://www.postgresql.org/support/security/CVE-2026-14666/>
- <https://security.alpinelinux.org/vuln/CVE-2026-14666>
- <https://ubuntu.com/security/CVE-2026-14666>
- <https://www.cve.org/CVERecord?id=CVE-2026-14666>
- <https://www.postgresql.org/about/news/postgresql-186-1711-1615-1519-1424-and-19-beta-3-released-3365/>
- <https://ubuntu.com/security/notices/USN-8653-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-14666>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-14666>

---

Data as of 2026-12-05T04:47:20.520Z. 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
