Incorrect Ownership Assignment Affecting postgresql18-upgrade package, versions <0:18.6-1.amzn2023.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.32% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-POSTGRESQL18UPGRADE-19472107
  • published1 Sept 2026
  • disclosed13 Aug 2026

Introduced: 13 Aug 2026

CVE-2026-6469  (opens in a new tab)
CWE-708  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 postgresql18-upgrade to version 0:18.6-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2026-2079.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql18-upgrade package and not the postgresql18-upgrade package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

Incorrect ownership assignment in PostgreSQL ALTER TABLE ALTER TYPE command reassigns ownership of dependent statistics objects to the current user. This wrongly allows the table owner to run DROP STATISTICS and ALTER STATISTICS via this improper ownership. It wrongly denies those commands to the prior statistics object owner. DROP TABLE remains able to remove statistics objects, so this exploit achieves nothing in many ownership arrangements. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.

CVSS Base Scores

version 3.1