BIT-postgresql-2026-116329: PostgreSQL statistics import type confusion executes arbitrary code
Type confusion in PostgreSQL statistics import allows a table maintainer to execute arbitrary code as the operating system user running the database, via nested SET DATA TYPE during conversion of values to import. Within major version 18, minor versions before PostgreSQL 18.7 are affected. Versions before PostgreSQL 18 are unaffected.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
bitnami/postgresqlto a version that resolves this vulnerability.Fixed in 18.7.0 - Upgrade
Upgrade
PostgreSQLto a version that resolves this vulnerability.Fixed in 18.7
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker needs table-maintainer privileges. The impact is arbitrary code execution as the operating system user running the PostgreSQL database.
Which deployments are affected?
Only PostgreSQL 18 releases before 18.7 are affected. PostgreSQL versions before 18 are unaffected.
What is the remediation?
Update PostgreSQL 18 to version 18.7 or later. The provided data does not identify a workaround for systems that cannot yet be updated.