CVE-2026-116331

validatedZero produced an exploit or a check.

GHSA-8qpw-62p2-qh8p ↗EUVD-2026-124511 ↗

check availableZero validated a working check for it.not proven exploitableZero has a detection check, but hasn't produced a full working exploit yet.
cve.orgpublic pocExploit code has been published by someone. Source signals can also carry a PoC (Proof of Concept).+4.0dkevAttacks confirmed in the real world.
PostgreSQL >= 18, < 18.7; >= 17, < 17.12; >= 16, < 16.16; >= 15, < 15.20; < 14.25
fixed in 18.7, 17.12, 16.16, 15.20, 14.25
ETK-2026-4899Zero's internal tracking ID, independent of the CVE number., permanent identifier
+7.8dTTV
27mAI analysisAnalysis: how long the AI spent reversing this signal.
Check if you are vulnerable
timeline
0 = cve.org publication
trigger signal (cve.org) +0dpublic poc+4.0dcheck available+7.8dagent stopped
0
+2d
+6d

description

PostgreSQL versions before 18.7, 17.12, 16.16, 15.20, and 14.25 are affected by a type-confusion flaw in min/max aggregate optimization. An attacker who can create database objects can execute code as the operating-system user running the database by creating a specially configured user-defined aggregate.

mitigation

Upgrade PostgreSQL to 18.7, 17.12, 16.16, 15.20, or 14.25, as appropriate for the deployed release branch. Until upgraded, restrict untrusted roles from creating database objects, including user-defined aggregates.

fixed in 18.7, 17.12, 16.16, 15.20, 14.25

check
available
exploit
no
automationDeterministic: a check that runs on its own, the same request on every target. Contextual: an agentic technique that needs to be applied per target, for bugs that depend on contextual flows.
contextual
auth requiredWhether an attacker needs an account first, based on the CVSS vector's Privileges Required.
yes, low privileges
EPSSEstimate of the chance this CVE is exploited in the next 30 days. Refreshed daily.
0.74%55th percentile
agent run time
27m
discussionsPlaces discussing this entry on GitHub, Hacker News, Bluesky and X in the last day, each counted once.
1 d agolast discussed on GitHub and Hacker News, 4 this week
storiesArticles about this entry on the security news sites we follow, newest first.
trendAttention in the last 6 hours against the 42 before.
steadylast 6 h against the 42 before
cve.org record, t = 0The moment cve.org publishes the CVE in full.
2026-11-12 14:15Z
Δ to public pocExploit code has been published by someone. Source signals can also carry a PoC (Proof of Concept).
+4.0d
Δ to kevAttacks confirmed in the real world.
–

outcome

Contextual check: a technique exists and was validated, but no deterministic check could cover this one.

source signals

Public signals that triggered or updated the pipeline. These are inputs for the deltas above.

  1. 2026-11-12 14:15Z
  2. 2026-11-12 14:15Z
  3. 2026-11-19 08:14Z
    Researcher Demonstrates Database RCE Exploits Affecting PostgreSQL, MySQL and Oracle
  4. 2026-11-19 08:52Z

this entry in the feed

GET /api/v1/feed/CVE-2026-116331

{
  "etk_id": "ETK-2026-4899",
  "cve_id": "CVE-2026-116331",
  "display_id": "CVE-2026-116331",
  "ghsa_id": "GHSA-8qpw-62p2-qh8p",
  "euvd_id": "EUVD-2026-124511",
  "status": "published",
  "anchor_state": "anchored",
  "title": "Type confusion in PostgreSQL min/max aggregate optimization",
  "summary": "PostgreSQL versions before 18.7, 17.12, 16.16, 15.20, and 14.25 are affected by a type-confusion flaw in min/max aggregate optimization. An attacker who can create database objects can execute code as the operating-system user running the database by creating a specially configured user-defined aggregate.",
  "mitigation": "Upgrade PostgreSQL to 18.7, 17.12, 16.16, 15.20, or 14.25, as appropriate for the deployed release branch. Until upgraded, restrict untrusted roles from creating database objects, including user-defined aggregates.",
  "vendor": null,
  "product": "PostgreSQL",
  "affected": [
    {
      "affected_notes": [],
      "affected_ranges": [
        ">= 18, < 18.7",
        ">= 17, < 17.12",
        ">= 16, < 16.16",
        ">= 15, < 15.20",
        ">= 0, < 14.25"
      ],
      "ecosystem": null,
      "fixed_versions": [
        "18.7",
        "17.12",
        "16.16",
        "15.20",
        "14.25"
      ],
      "package_name": "PostgreSQL",
      "purl": null
    }
  ],
  "cwes": null,
  "cvss_score": 8.8,
  "cvss_src": "other",
  "cvss_vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
  "epss_score": 0.0074,
  "epss_percentile": 0.5583,
  "epss_asof": "2026-12-04",
  "automation": "contextual",
  "check": true,
  "check_confidence_basis": "assessed",
  "exploit": false,
  "pipeline_minutes": 26.66993535,
  "t0_at": "2026-11-12T14:15:17.983000+00:00",
  "signals": {
    "check": {
      "at": "2026-11-20T10:29:05.866563+00:00",
      "days": 7.842915319016203,
      "is_lower_bound": false,
      "measured_at": "2026-11-12T14:15:17.983000+00:00",
      "url": null
    },
    "public_poc": {
      "at": "2026-11-16T13:30:34+00:00",
      "days": 3.9689353819444446,
      "is_lower_bound": false,
      "measured_at": "2026-11-12T14:15:17.983000+00:00",
      "url": "https://github.com/notdenied/CVE-2026-116331-PoC"
    },
    "trigger_signal": {
      "at": "2026-11-12T14:15:17.983000+00:00",
      "days": 0,
      "is_lower_bound": false,
      "measured_at": "2026-11-12T14:15:17.983000+00:00",
      "url": "https://thehackernews.com/2026/11/researcher-demonstrates-database-rce.html"
    }
  }
}

published 2026-11-19 08:27Z
last change 2026-12-05 11:56Z

Need the technical details behind an entry?

Every entry here shows what we attempted and when. The technical details, the generated exploit that fired it and the evidence behind the verdict are not public. Tell us about your use case and we’ll get back to you about extended API access.