CVE-2026-16237
published medium CVSS 3.1 · 5.4PostgreSQL INSERT ... ON CONFLICT can read or modify rows despite auto-updatable view WHERE condition
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | PostgreSQL18 to < 18.7 · 17 to < 17.12 · 16 to < 16.16 · 15 to < 15.20 · 0 to < 14.25 · Other versions: unaffected | Affected | Not stated | PostgreSQL |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2POSTGRESQL14-2026-026 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3482 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3485 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | postgresql17 | Fixed | 17.12-r0 | Package fix record |
| Debian | bookworm | postgresql-15 | Advisory build | 15.20-0+deb12u1 | DLA-4905-1 |
Show 100 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3486 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3487 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | libecpg6aarch64 | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| Alpine Linux | edge | postgresql18 | Fixed | 18.7-r0 | Package fix record |
| Alpine Linux | v3.21 | postgresql15 | Fixed | 15.20-r0 | Package fix record |
| Alpine Linux | v3.21 | postgresql16 | Fixed | 16.16-r0 | Package fix record |
| Alpine Linux | v3.21 | postgresql17 | Fixed | 17.12-r0 | Package fix record |
| Alpine Linux | v3.22 | postgresql15 | Fixed | 15.20-r0 | Package fix record |
| Alpine Linux | v3.22 | postgresql16 | Fixed | 16.16-r0 | Package fix record |
| Alpine Linux | v3.22 | postgresql17 | Fixed | 17.12-r0 | Package fix record |
| Alpine Linux | v3.23 | postgresql16 | Fixed | 16.16-r0 | Package fix record |
| Alpine Linux | v3.23 | postgresql17 | Fixed | 17.12-r0 | Package fix record |
| Alpine Linux | v3.23 | postgresql18 | Fixed | 18.7-r0 | Package fix record |
| Alpine Linux | v3.24 | postgresql16 | Fixed | 16.16-r0 | Package fix record |
| Alpine Linux | v3.24 | postgresql17 | Fixed | 17.12-r0 | Package fix record |
| Alpine Linux | v3.24 | postgresql18 | Fixed | 18.7-r0 | Package fix record |
| Debian | trixie | postgresql-17 | Advisory build | 17.12-0+deb13u1 | DSA-6625-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libecpg6ppc64le | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libecpg6s390x | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libecpg6x86_64 | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libecpg6-32bitaarch64 | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libecpg6-32bitppc64le | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libecpg6-32bits390x | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libecpg6-32bitx86_64 | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpq5aarch64 | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpq5ppc64le | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpq5s390x | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpq5x86_64 | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpq5-32bitaarch64 | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpq5-32bitppc64le | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpq5-32bits390x | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpq5-32bitx86_64 | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14aarch64 | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14ppc64le | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14s390x | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14x86_64 | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-contribaarch64 | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-contribppc64le | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-contribs390x | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-contribx86_64 | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-develaarch64 | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-develppc64le | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-devels390x | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-develx86_64 | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-docsaarch64 | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-docsppc64le | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-docss390x | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-docsx86_64 | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-llvmjitaarch64 | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-llvmjitppc64le | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-llvmjits390x | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-llvmjitx86_64 | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-llvmjit-develaarch64 | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-llvmjit-develppc64le | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-llvmjit-devels390x | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-llvmjit-develx86_64 | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-plperlaarch64 | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-plperlppc64le | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-plperls390x | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-plperlx86_64 | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-plpythonaarch64 | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-plpythonppc64le | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-plpythons390x | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-plpythonx86_64 | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-pltclaarch64 | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-pltclppc64le | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-pltcls390x | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-pltclx86_64 | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-serveraarch64 | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-serverppc64le | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-servers390x | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-serverx86_64 | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-server-develaarch64 | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-server-develppc64le | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-server-devels390x | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-server-develx86_64 | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-testaarch64 | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-testppc64le | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-tests390x | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql14-testx86_64 | Advisory build | 14.25-1.1 | OPENSUSE-SU-2026:12550-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15aarch64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15ppc64le | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15s390x | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15x86_64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-contribaarch64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-contribppc64le | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-contribs390x | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-contribx86_64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-develaarch64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-develppc64le | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-devels390x | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-develx86_64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-docsaarch64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-docsppc64le | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-docss390x | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-docsx86_64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-llvmjitaarch64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-llvmjitppc64le | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-llvmjits390x | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-llvmjitx86_64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
Improper protection in PostgreSQL INSERT ... ON CONFLICT on auto-updatable views allows an attacker having INSERT and UPDATE privileges on the view to read and modify every row in the view's base table, via iterated INSERT ... ON CONFLICT DO UPDATE. This bypasses the view's WHERE condition, whether or not the view is a security_barrier view. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- PostgreSQL · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | PostgreSQL | 18 to < 18.7 (affected · rpm)17 to < 17.12 (affected · rpm)16 to < 16.16 (affected · rpm)15 to < 15.20 (affected · rpm)0 to < 14.25 (affected · rpm)Default: unaffected | PostgreSQL · cna |
Weaknesses
1- CWE-424 Improper Protection of Alternate Path
References
1Provider assertions
2PostgreSQL · cna
PostgreSQL INSERT ... ON CONFLICT can read or modify rows despite auto-updatable view WHERE condition
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c9019aff72a9f4c58a64279e061e6ccd143cf216e8ccc00d50e40f3d14372f3b
- Ingested
- 12 Nov 2026, 21:46:50 UTC
- Source record
- Official CVE record