---
title: "CVE-2026-14666"
canonical_url: "https://pkgseek.com/security/CVE-2026-14666"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2026-14666

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…

CVE-2026-14666 is rated MEDIUM (4.2), with 33 indexed affected package builds across 1 distributions.

- **Severity / Score**: MEDIUM (4.2)
- **Affected builds**: 33
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Ubuntu | focal | libecpg6 | 12.2-4 | — |
| Ubuntu | focal | libecpg-compat3 | 12.2-4 | — |
| Ubuntu | focal | libecpg-dev | 12.2-4 | — |
| Ubuntu | focal | libpgtypes3 | 12.2-4 | — |
| Ubuntu | focal | libpq5 | 12.2-4 | — |
| Ubuntu | focal | libpq-dev | 12.2-4 | — |
| Ubuntu | focal | postgresql-12 | 12.2-4 | — |
| Ubuntu | focal | postgresql-client-12 | 12.2-4 | — |
| Ubuntu | focal | postgresql-doc-12 | 12.2-4 | — |
| Ubuntu | jammy | libecpg6 | 14.2-1ubuntu1 | — |
| Ubuntu | jammy | libecpg-compat3 | 14.2-1ubuntu1 | — |
| Ubuntu | jammy | libecpg-dev | 14.2-1ubuntu1 | — |
| Ubuntu | jammy | libpgtypes3 | 14.2-1ubuntu1 | — |
| Ubuntu | jammy | libpq5 | 14.2-1ubuntu1 | — |
| Ubuntu | jammy | libpq-dev | 14.2-1ubuntu1 | — |
| Ubuntu | jammy | postgresql-14 | 14.2-1ubuntu1 | — |
| Ubuntu | jammy | postgresql-client-14 | 14.2-1ubuntu1 | — |
| Ubuntu | jammy | postgresql-doc-14 | 14.2-1ubuntu1 | — |
| Ubuntu | jammy | postgresql-plperl-14 | 14.2-1ubuntu1 | — |
| Ubuntu | jammy | postgresql-plpython3-14 | 14.2-1ubuntu1 | — |
| Ubuntu | jammy | postgresql-pltcl-14 | 14.2-1ubuntu1 | — |
| Ubuntu | noble | libecpg6 | 16.2-1ubuntu4 | — |
| Ubuntu | noble | libecpg-compat3 | 16.2-1ubuntu4 | — |
| Ubuntu | noble | libecpg-dev | 16.2-1ubuntu4 | — |
| Ubuntu | noble | libpgtypes3 | 16.2-1ubuntu4 | — |
| Ubuntu | noble | libpq5 | 16.2-1ubuntu4 | — |
| Ubuntu | noble | libpq-dev | 16.2-1ubuntu4 | — |
| Ubuntu | noble | postgresql-16 | 16.2-1ubuntu4 | — |
| Ubuntu | noble | postgresql-client-16 | 16.2-1ubuntu4 | — |
| Ubuntu | noble | postgresql-doc-16 | 16.2-1ubuntu4 | — |
| Ubuntu | noble | postgresql-plperl-16 | 16.2-1ubuntu4 | — |
| Ubuntu | noble | postgresql-plpython3-16 | 16.2-1ubuntu4 | — |
| Ubuntu | noble | postgresql-pltcl-16 | 16.2-1ubuntu4 | — |
