POSTGRESQL · CVE-2026-116329 · Runtime
NO FIX YET · SEE WHAT TO DO
A type confusion bug in PostgreSQL's statistics import lets a table maintainer run arbitrary code as the operating system user that runs the database. Only PostgreSQL 18 minor versions before 18.7 are affected, and earlier major versions are not.
first public Nov 12, 2026 · 1 source
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Only PostgreSQL 18 servers running a minor version before 18.7 are affected, according to the NVD description. The attacker must be a table maintainer, so exposure depends on who can alter tables in the database. Earlier major versions are stated to be unaffected.
Not affected if postgresql-18.7-or-later, postgresql-below-18
Who cares database, postgresql, self-hosted
psql -c "SHOW server_version;" and check whether it reports a 18.x version below 18.7postgres --version18.7 or laterType 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.
This page as .md · .json · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.