CVE-2026-14666 in Postgresql
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 connect...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, high complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Postgresql | Postgresql | ≥ 14.0, < 14.24 ≥ 15.0, < 15.19 ≥ 16.0, < 16.15 ≥ 17.0, < 17.11 ≥ 18.0, < 18.5 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-14666 |
|---|---|
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N |
| Published | 2026-08-13 |
| Last modified | 2026-08-29 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-1250: CWE-1250
Analysis AI-written, not human-reviewed
A medium severity vulnerability (CVE-2026-14666) affects the target system. 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 polici...
Questions
What is CVE-2026-14666?
A medium severity vulnerability (CVE-2026-14666) affects the target system. 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 polici...
What is the CVSS score for CVE-2026-14666?
CVE-2026-14666 has CVSS 4.2 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N. EPSS: 0.2%.
Is CVE-2026-14666 actively exploited?
No confirmed active exploitation of CVE-2026-14666 as of 2026-09-25.
How do I remediate CVE-2026-14666?
Advisory: https://www.postgresql.org/support/security/CVE-2026-14666/
What systems are affected by CVE-2026-14666?
CVE-2026-14666 affects Postgresql Postgresql.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Postgresql","product":"Postgresql","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-08-29.