CVE-2026-6638
published low CVSS 3.1 · 3.7PostgreSQL REFRESH PUBLICATION allows SQL injection via table name
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | PostgreSQL18 to < 18.4 · 17 to < 17.10 · 16 to < 16.14 · Other versions: unaffected | Affected | Not stated | PostgreSQL |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1766 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1767 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1780 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | postgresql-test-rpm-macros | Advisory build | 16.14-1.el10_2 | ALSA-2026:27743 |
| Alpine Linux | edge | postgresql17 | Fixed | 17.10-r0 | Package fix record |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | trixie | postgresql-17 | Advisory build | 17.10-0+deb13u1 | DSA-6270-1 |
| Oracle Linux | 10 | postgresql18aarch64 | Advisory build | 0:18.4-1.0.1.el10_2 | ELSA-2026-27742 |
| AlmaLinux | 10 | postgresql18-test-rpm-macros | Advisory build | 18.4-1.el10_2 | ALSA-2026:27742 |
| AlmaLinux | 8 | pg_repack | Advisory build | 1.5.1-1.module_el8.10.0+3930+ecf33554 | ALSA-2026:28143 |
| AlmaLinux | 8 | pg_repack | Advisory build | 1.5.1-1.module_el8.10.0+4125+ceaf7d1b | ALSA-2026:28143 |
| AlmaLinux | 8 | pg_repack | Advisory build | 1.5.1-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux | 8 | pgaudit | Advisory build | 16.0-1.module_el8.10.0+3798+606ebb9f | ALSA-2026:28143 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 2.4.0-1.Final.module_el8.10.0+3798+606ebb9f | ALSA-2026:28143 |
| AlmaLinux | 8 | postgresql | Advisory build | 16.14-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux | 8 | postgresql-contrib | Advisory build | 16.14-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux | 8 | postgresql-docs | Advisory build | 16.14-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux | 8 | postgresql-plperl | Advisory build | 16.14-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux | 8 | postgresql-plpython3 | Advisory build | 16.14-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux | 8 | postgresql-pltcl | Advisory build | 16.14-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux | 8 | postgresql-private-devel | Advisory build | 16.14-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux | 8 | postgresql-private-libs | Advisory build | 16.14-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux | 8 | postgresql-server | Advisory build | 16.14-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux | 8 | postgresql-server-devel | Advisory build | 16.14-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux | 8 | postgresql-static | Advisory build | 16.14-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux | 8 | postgresql-test | Advisory build | 16.14-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux | 8 | postgresql-test-rpm-macros | Advisory build | 16.14-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux | 8 | postgresql-upgrade | Advisory build | 16.14-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux | 8 | postgresql-upgrade-devel | Advisory build | 16.14-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux | 9 | pg_repack | Advisory build | 1.5.1-1.module_el9.6.0+146+c54fdeca | ALSA-2026:26203 |
| AlmaLinux | 9 | pg_repack | Advisory build | 1.5.3-1.module_el9.8.0+234+5456f35d | ALSA-2026:26204 |
| AlmaLinux | 9 | pgaudit | Advisory build | 16.0-1.module_el9.4.0+66+eb9878bc | ALSA-2026:26203 |
| AlmaLinux | 9 | pgaudit | Advisory build | 18.0-1.module_el9.8.0+234+5456f35d | ALSA-2026:26204 |
| AlmaLinux | 9 | pgvector | Advisory build | 0.6.2-2.module_el9.6.0+167+4e561146 | ALSA-2026:26203 |
| AlmaLinux | 9 | pgvector | Advisory build | 0.8.1-1.module_el9.8.0+234+5456f35d | ALSA-2026:26204 |
| AlmaLinux | 9 | postgis | Advisory build | 3.5.3-5.module_el9.8.0+236+2d3cbd4c | ALSA-2026:26203 |
| AlmaLinux | 9 | postgis | Advisory build | 3.6.1-2.module_el9.8.0+239+6fb51d38 | ALSA-2026:26204 |
| AlmaLinux | 9 | postgis-client | Advisory build | 3.5.3-5.module_el9.8.0+236+2d3cbd4c | ALSA-2026:26203 |
| AlmaLinux | 9 | postgis-client | Advisory build | 3.6.1-2.module_el9.8.0+239+6fb51d38 | ALSA-2026:26204 |
| AlmaLinux | 9 | postgis-docs | Advisory build | 3.5.3-5.module_el9.8.0+236+2d3cbd4c | ALSA-2026:26203 |
| AlmaLinux | 9 | postgis-docs | Advisory build | 3.6.1-2.module_el9.8.0+239+6fb51d38 | ALSA-2026:26204 |
| AlmaLinux | 9 | postgis-upgrade | Advisory build | 3.5.3-5.module_el9.8.0+236+2d3cbd4c | ALSA-2026:26203 |
| AlmaLinux | 9 | postgis-upgrade | Advisory build | 3.6.1-2.module_el9.8.0+239+6fb51d38 | ALSA-2026:26204 |
| AlmaLinux | 9 | postgis-utils | Advisory build | 3.5.3-5.module_el9.8.0+236+2d3cbd4c | ALSA-2026:26203 |
| AlmaLinux | 9 | postgis-utils | Advisory build | 3.6.1-2.module_el9.8.0+239+6fb51d38 | ALSA-2026:26204 |
| AlmaLinux | 9 | postgres-decoderbufs | Advisory build | 2.4.0-1.Final.module_el9.4.0+66+eb9878bc | ALSA-2026:26203 |
| AlmaLinux | 9 | postgres-decoderbufs | Advisory build | 3.3.1-1.Final.module_el9.8.0+234+5456f35d | ALSA-2026:26204 |
| AlmaLinux | 9 | postgresql | Advisory build | 16.14-1.module_el9.8.0+266+1e661e97 | ALSA-2026:26203 |
| AlmaLinux | 9 | postgresql | Advisory build | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux | 9 | postgresql-contrib | Advisory build | 16.14-1.module_el9.8.0+266+1e661e97 | ALSA-2026:26203 |
| AlmaLinux | 9 | postgresql-contrib | Advisory build | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux | 9 | postgresql-docs | Advisory build | 16.14-1.module_el9.8.0+266+1e661e97 | ALSA-2026:26203 |
| AlmaLinux | 9 | postgresql-docs | Advisory build | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux | 9 | postgresql-plperl | Advisory build | 16.14-1.module_el9.8.0+266+1e661e97 | ALSA-2026:26203 |
| AlmaLinux | 9 | postgresql-plperl | Advisory build | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux | 9 | postgresql-plpython3 | Advisory build | 16.14-1.module_el9.8.0+266+1e661e97 | ALSA-2026:26203 |
| AlmaLinux | 9 | postgresql-plpython3 | Advisory build | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux | 9 | postgresql-pltcl | Advisory build | 16.14-1.module_el9.8.0+266+1e661e97 | ALSA-2026:26203 |
| AlmaLinux | 9 | postgresql-pltcl | Advisory build | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux | 9 | postgresql-private-devel | Advisory build | 16.14-1.module_el9.8.0+266+1e661e97 | ALSA-2026:26203 |
| AlmaLinux | 9 | postgresql-private-devel | Advisory build | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux | 9 | postgresql-private-libs | Advisory build | 16.14-1.module_el9.8.0+266+1e661e97 | ALSA-2026:26203 |
| AlmaLinux | 9 | postgresql-private-libs | Advisory build | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux | 9 | postgresql-server | Advisory build | 16.14-1.module_el9.8.0+266+1e661e97 | ALSA-2026:26203 |
| AlmaLinux | 9 | postgresql-server | Advisory build | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux | 9 | postgresql-server-devel | Advisory build | 16.14-1.module_el9.8.0+266+1e661e97 | ALSA-2026:26203 |
| AlmaLinux | 9 | postgresql-server-devel | Advisory build | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux | 9 | postgresql-static | Advisory build | 16.14-1.module_el9.8.0+266+1e661e97 | ALSA-2026:26203 |
| AlmaLinux | 9 | postgresql-static | Advisory build | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux | 9 | postgresql-test | Advisory build | 16.14-1.module_el9.8.0+266+1e661e97 | ALSA-2026:26203 |
| AlmaLinux | 9 | postgresql-test | Advisory build | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux | 9 | postgresql-test-rpm-macros | Advisory build | 16.14-1.module_el9.8.0+266+1e661e97 | ALSA-2026:26203 |
| AlmaLinux | 9 | postgresql-test-rpm-macros | Advisory build | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux | 9 | postgresql-upgrade | Advisory build | 16.14-1.module_el9.8.0+266+1e661e97 | ALSA-2026:26203 |
| AlmaLinux | 9 | postgresql-upgrade | Advisory build | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| AlmaLinux | 9 | postgresql-upgrade-devel | Advisory build | 16.14-1.module_el9.8.0+266+1e661e97 | ALSA-2026:26203 |
| AlmaLinux | 9 | postgresql-upgrade-devel | Advisory build | 18.4-2.module_el9.8.0+280+5ad12178 | ALSA-2026:26204 |
| Alpine Linux | edge | postgresql18 | Fixed | 18.4-r0 | Package fix record |
| Alpine Linux | v3.20 | postgresql16 | Fixed | 16.14-r0 | Package fix record |
| Alpine Linux | v3.21 | postgresql16 | Fixed | 16.14-r0 | Package fix record |
| Alpine Linux | v3.21 | postgresql17 | Fixed | 17.10-r0 | Package fix record |
| Alpine Linux | v3.22 | postgresql16 | Fixed | 16.14-r0 | Package fix record |
| Alpine Linux | v3.22 | postgresql17 | Fixed | 17.10-r0 | Package fix record |
| Alpine Linux | v3.23 | postgresql16 | Fixed | 16.14-r0 | Package fix record |
| Alpine Linux | v3.23 | postgresql17 | Fixed | 17.10-r0 | Package fix record |
| Alpine Linux | v3.23 | postgresql18 | Fixed | 18.4-r0 | Package fix record |
| Alpine Linux | v3.24 | postgresql16 | Fixed | 16.14-r0 | Package fix record |
| Alpine Linux | v3.24 | postgresql17 | Fixed | 17.10-r0 | Package fix record |
| Alpine Linux | v3.24 | postgresql18 | Fixed | 18.4-r0 | Package fix record |
| Oracle Linux | 10 | postgresql18x86_64 | Advisory build | 0:18.4-1.0.1.el10_2 | ELSA-2026-27742 |
| Oracle Linux | 10 | postgresql18-contribaarch64 | Advisory build | 0:18.4-1.0.1.el10_2 | ELSA-2026-27742 |
| Oracle Linux | 10 | postgresql18-contribx86_64 | Advisory build | 0:18.4-1.0.1.el10_2 | ELSA-2026-27742 |
| Oracle Linux | 10 | postgresql18-docsaarch64 | Advisory build | 0:18.4-1.0.1.el10_2 | ELSA-2026-27742 |
| Oracle Linux | 10 | postgresql18-docsx86_64 | Advisory build | 0:18.4-1.0.1.el10_2 | ELSA-2026-27742 |
| Oracle Linux | 10 | postgresql18-plperlaarch64 | Advisory build | 0:18.4-1.0.1.el10_2 | ELSA-2026-27742 |
| Oracle Linux | 10 | postgresql18-plperlx86_64 | Advisory build | 0:18.4-1.0.1.el10_2 | ELSA-2026-27742 |
| Oracle Linux | 10 | postgresql18-plpython3aarch64 | Advisory build | 0:18.4-1.0.1.el10_2 | ELSA-2026-27742 |
| Oracle Linux | 10 | postgresql18-plpython3x86_64 | Advisory build | 0:18.4-1.0.1.el10_2 | ELSA-2026-27742 |
| Oracle Linux | 10 | postgresql18-private-develaarch64 | Advisory build | 0:18.4-1.0.1.el10_2 | ELSA-2026-27742 |
| Oracle Linux | 10 | postgresql18-private-develx86_64 | Advisory build | 0:18.4-1.0.1.el10_2 | ELSA-2026-27742 |
| Oracle Linux | 10 | postgresql18-private-libsaarch64 | Advisory build | 0:18.4-1.0.1.el10_2 | ELSA-2026-27742 |
| Oracle Linux | 10 | postgresql18-private-libsx86_64 | Advisory build | 0:18.4-1.0.1.el10_2 | ELSA-2026-27742 |
| Oracle Linux | 10 | postgresql18-serveraarch64 | Advisory build | 0:18.4-1.0.1.el10_2 | ELSA-2026-27742 |
| Oracle Linux | 10 | postgresql18-serverx86_64 | Advisory build | 0:18.4-1.0.1.el10_2 | ELSA-2026-27742 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
SQL injection in PostgreSQL logical replication ALTER SUBSCRIPTION ... REFRESH PUBLICATION allows a subscriber table creator to execute arbitrary SQL with the subscription's publication-side credentials. The attack takes effect at the next REFRESH PUBLICATION. Within major versions 16, 17, and 18, minor versions before PostgreSQL 18.4, 17.10, and 16.14 are affected. Versions before PostgreSQL 16 are unaffected.
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
- 3.7 / 10
- Severity
- low
- Provider
- PostgreSQL · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/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.4 (affected · rpm)17 to < 17.10 (affected · rpm)16 to < 16.14 (affected · rpm)Default: unaffected | PostgreSQL · cna |
Weaknesses
1- CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
1Provider assertions
2PostgreSQL · cna
PostgreSQL REFRESH PUBLICATION allows SQL injection via table name
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2b700a5be66f4007d895e92888ade3ebc8054a18b4d830572b5bbe748cd4e586
- Ingested
- 23 Sep 2026, 09:28:47 UTC
- Source record
- Official CVE record