CVE-2026-6460 – Arbitrary Code Execution in Postgres
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
PostgreSQL's security page describes CVE-2026-6460, a type confusion flaw that lets a user who can create objects run arbitrary code as the operating system user running the database, mainly through ALTER ... SET DATA TYPE. The project attributes it to weak tracking of typed values, which left stale values in catalog entries and PL/pgSQL variables. Versions before 18.7, 17.12, 16.16, 15.20 and 14.25 are affected. The listed CVSS 3.0 score is 8.8, though the claim check could not verify it. Anyone running self-managed Postgres should plan minor-version upgrades.