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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-111440— JDBC LogFactory 任意类加载/构造导致潜在 RCE

Quick assessment

Affected
openGauss-server openGauss-connector-jdbc
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.

In located at within the openGauss-connector-jdbc project, the class invokes to load a class based on the logger class name specified in the JDBC connection parameters. It then directly uses reflection to call the constructor that accepts a parameter and casts

CVSS 7.0 · High EPSS 0.22% · P12

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 11

VendorProduct Version RangeStatus
openGauss-server openGauss-connector-jdbc 7.0.0-LTS unaffected
1.0.0, 1.0.1, 1.1.0 affected
2.0.0, 2.1.0 affected
3.0.0-3.0.5 affected
3.1.0-3.1.1 affected
5.0.0-5.0.3 affected
5.1.0 affected
5.0.0-RC1 affected
… +3 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-111440

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
JDBC LogFactory 任意类加载/构造导致潜在 RCE
Source: CVE Program / CVE List V5
Vulnerability Description
在 openGauss-connector-jdbc 的 pgjdbc/src/main/java/org/postgresql/log/LogFactory.java 中,LogFactory 根据 JDBC 连接参数中的 logger 类名调用 Class.forName 加载类后,直接反射调用以 String 为参数的构造函数,再转换为 Log。缺少 asSubclass(Log.class) 校验,非 Log 实现类也会在类型检查前被实例化。因此,当攻击者可控制 JDBC URL 或连接属性中的 logger 类名,且客户端 classpath 中存在可被加载的类时,可能在客户端触发非预期的类加载与构造副作用。 此漏洞自 JDBC 1.1.0引入,影响 1.1.0 及之后的 2.x、3.x、5.x、6.x 各版本及补丁(含 6.0.0 分支最新 6.0.6),以及 7.0.0-RC1、7.0.0-RC2、7.0.0-RC3,并在 7.0.0-LTS 版本修复。修复在 Class.forName 之后先执行 asSubclass(Log.class),仅允许 Log 子类进入构造。修复pr见https://gitcode.com/opengauss/openGauss-connector-jdbc/pull/423。
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/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
openGauss-server openGauss-connector-jdbc 1.0.0, 1.0.1, 1.1.0 -

II. Public POCs for CVE-2026-111440

# 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-111440

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

Patches & Fixes for CVE-2026-111440 (1)

Same Patch Batch · openGauss-server · 2026-10-19 · 4 CVEs total

CVE-2026-111441 8.1 HIGH HLL 反序列化 lenTotal/lenUsed 校验缺失导致堆越界写
CVE-2026-111438 6.5 MEDIUM check_hba_replication 认证与访问控制绕过
CVE-2026-111439 4.3 MEDIUM pg_read_binary_file_blocks 缺少初始用户权限校验,普通用户可读取 relation 文件块

IV. Related Vulnerabilities

V. Comments for CVE-2026-111440

No comments yet


Leave a comment