Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-116316— PostgreSQL security-restricted operations can create types in pg_temp, which later queries of the session find

Quick assessment

Affected
n/a PostgreSQL
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

PostgreSQL 在安全受限操作中未能妥善保护替代路径,使得对象创建者能够通过在 中创建域(domain)、枚举(enum)或范围(range)类型,以操作调用者的身份执行任意 SQL。受害者会话随后必须执行一条包含未限定类型名的查询(例如: );而自动真空(autovacuum)及其他常见的安全受限操作使用者不会执行此类查询,因此不受影响。受影响的版本包括 PostgreSQL 18.7、17.12、16.16、15.20 和 14.25 之前的所有版本。

CVSS 8.8 · High
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-116316

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
PostgreSQL security-restricted operations can create types in pg_temp, which later queries of the session find
Source: CVE Program / CVE List V5
Vulnerability Description
Improper protection of alternate path in PostgreSQL security-restricted operations allows an object creator to execute arbitrary SQL as the operation's caller, via a domain, enum, or range type created in pg_temp. The victim session must later run a query containing an unqualified type name, e.g. "SELECT '1'::bigint"; autovacuum and other common security-restricted operation users do not do so, so they are unaffected. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对候选路径的不恰当保护
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
- PostgreSQL 18 ~ 18.7 -

II. Public POCs for CVE-2026-116316

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-116316

请登录查看更多情报信息。

Other References for CVE-2026-116316 (1)

Same Patch Batch · n/a · 2026-11-12 · 56 CVEs total

CVE-2026-116332 8.8 HIGH PostgreSQL portal setup use-after-free executes arbitrary code
CVE-2026-116304 8.8 HIGH PostgreSQL parallel RECORD typmod use-after-free executes arbitrary code
CVE-2026-116307 8.8 HIGH PostgreSQL plperl prepared-query use-after-free executes arbitrary code
CVE-2026-116309 8.8 HIGH PostgreSQL plperl blessed-reference type confusion may execute arbitrary code
CVE-2026-120144 8.8 HIGH PostgreSQL type-cache invalidation gap executes arbitrary code
CVE-2026-120142 8.8 HIGH PostgreSQL dropped-column type confusion executes arbitrary code
CVE-2026-120141 8.8 HIGH PostgreSQL materialized set-returning function type confusion executes arbitrary code
CVE-2026-120139 8.8 HIGH PostgreSQL tuple-size integer wraparound executes arbitrary code
CVE-2026-116336 8.8 HIGH PostgreSQL REINDEX CONCURRENTLY does not block DROP INDEX during index functions
CVE-2026-116335 8.8 HIGH PostgreSQL commutator or negator result-type confusion executes arbitrary code
CVE-2026-120143 8.8 HIGH PostgreSQL transition-table cursor use-after-free executes arbitrary code
CVE-2026-116319 8.8 HIGH PostgreSQL plperl reentrant return_next() use-after-free executes arbitrary code
CVE-2026-116331 8.8 HIGH PostgreSQL min/max aggregate type confusion executes arbitrary code
CVE-2026-116329 8.8 HIGH PostgreSQL statistics import type confusion executes arbitrary code
CVE-2026-116330 8.8 HIGH PostgreSQL pg_dump tar restore.sql fails to block psql command injection
CVE-2026-116328 8.8 HIGH PostgreSQL generation memory context integer wraparound executes arbitrary code
CVE-2026-116318 8.8 HIGH PostgreSQL pg_dump not-null constraint name allows SQL injection
CVE-2026-116326 8.8 HIGH PostgreSQL plperl tied-object exceptions follow stale sigjmp_buf
CVE-2026-116323 8.8 HIGH PostgreSQL pltcl reentrant result conversion use-after-free executes arbitrary code
CVE-2026-116320 8.8 HIGH PostgreSQL plperl array and hash conversion use-after-free executes arbitrary code

Showing top 20 of 56 CVEs. View all on vendor page → →

IV. Related Vulnerabilities