Bug 2499964

Summary: CVE-2026-6638 postgresql16: PostgreSQL: Arbitrary SQL execution via SQL injection in logical replication [fedora-all]
Product: [Fedora] Fedora Reporter: jkelly <jkelly>
Component: postgresql16Assignee: Filip Januš <fjanus>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: db-sig, fjanus, ndavidov
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["fe7b86d3-8aff-4f12-ba12-ed0631339513"]}
Fixed In Version: postgresql16-16.14-1.fc45 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-07-23 22:11:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2477446    

Description jkelly 2026-07-14 12:57:38 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Fedora Update System 2026-07-23 12:21:30 UTC
FEDORA-2026-f8ee1fd482 (postgresql16-16.14-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-f8ee1fd482

Comment 2 Fedora Update System 2026-07-23 14:39:02 UTC
FEDORA-2026-5b2e6bf881 (postgresql16-16.14-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-5b2e6bf881

Comment 3 Fedora Update System 2026-07-23 22:11:39 UTC
FEDORA-2026-5b2e6bf881 (postgresql16-16.14-1.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Fedora Update System 2026-07-24 01:29:18 UTC
FEDORA-2026-f8ee1fd482 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-f8ee1fd482`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-f8ee1fd482

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-08-01 00:53:50 UTC
FEDORA-2026-f8ee1fd482 (postgresql16-16.14-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.