ZeroDay Brief
CVE-2026-116331 Exploit code public

Type confusion in PostgreSQL min/max aggregate optimization allows an object creator to execute arbitrary code as the operating system user running the database, via a user-defined aggregate whose SO…

CVSS
8.8High
Chance of exploitation (EPSS)
0.74%
Published
Nov 12, 2026
In the news
Not yet

What to do

A serious security flaw that can be attacked over the network by someone with an account. Exploit code is public, so patch it soon.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Description

Type confusion in PostgreSQL min/max aggregate optimization allows an object creator to execute arbitrary code as the operating system user running the database, via a user-defined aggregate whose SORTOP option causes the planner to treat the aggregate's input and result as the same type when they differ. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

CWE-843

Affected products

Get alerts for these →

No product list yet. It usually appears within a few days of publication.

Timeline 14

Latest change: Nessus plugin 393444: AlmaLinux 8 : postgresql:15 (ALSA-2026:105232) (Dec 3, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Exploit code

Visit at your own risk. These are third-party sites we find automatically. We do not test, review or vouch for them, and fake proof-of-concept repositories sometimes contain malware.

References 1

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”