INSERT ... ON CONFLICT DO UPDATE commands in PostgreSQL 10.x before 10.1, 9.6.x before 9.6.6, and 9.5.x before 9.5.10 disclose table contents that the invoker lacks privilege to read. These exploits affect only tables where the attacker lacks full read access but has both INSERT and UPDATE privileges.
Overview
INSERT ... ON CONFLICT DO UPDATE commands in PostgreSQL 10.x before 10.1, 9.6.x before 9.6.6, and 9.5.x before 9.5.10 disclose table contents that the invoker lacks privilege to read. These exploits affect only tables where the attacker lacks full read access but has both INSERT and UPDATE privileges. Exploits bypass row level security policies and lack of SELECT privilege.
- Published
- 11/22/2017
- Last modified
- 6/17/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
postgresql postgresql | 9.5 | Verify advisory | Source |
postgresql postgresql | 9.5.1 | Verify advisory | Source |
postgresql postgresql | 9.5.2 | Verify advisory | Source |
postgresql postgresql | 9.5.3 | Verify advisory | Source |
postgresql postgresql | 9.5.4 | Verify advisory | Source |
postgresql postgresql | 9.5.5 | Verify advisory | Source |
postgresql postgresql | 9.5.6 | Verify advisory | Source |
postgresql postgresql | 9.5.7 | Verify advisory | Source |
postgresql postgresql | 9.5.8 | Verify advisory | Source |
postgresql postgresql | 9.5.9 | Verify advisory | Source |
postgresql postgresql | 9.6 | Verify advisory | Source |
postgresql postgresql | 9.6.1 | Verify advisory | Source |
postgresql postgresql | 9.6.2 | Verify advisory | Source |
postgresql postgresql | 9.6.3 | Verify advisory | Source |
postgresql postgresql | 9.6.4 | Verify advisory | Source |
postgresql postgresql | 9.6.5 | Verify advisory | Source |
postgresql postgresql | 10.0 | Verify advisory | Source |
debian linux debian | 9.0 | Verify advisory | Source |
postgresql Red Hat, Inc. | 10.x before 10.1, 9.6.x before 9.6.6, 9.5.x before 9.5.10 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 6.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.