CVE-2026-111440 Details
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。
A vulnerability exists in the openGauss-connector-jdbc library within the LogFactory class. The issue arises because LogFactory loads classes based on the logger class name specified in the JDBC connection parameters, using Class.forName. It then reflects into the class to call a constructor that accepts a String, converting it into a Log object. However, this process lacks proper type validation, allowing non-Log implementation classes to be instantiated before any type checks are applied. Consequently, if an attacker can manipulate the JDBC URL or connection properties to specify a logger class name, and there is a corresponding class in the client classpath that can be loaded, this could lead to unintended class loading and constructor side effects on the client side. This vulnerability was introduced in openGauss JDBC version 1.1.0 and affects all versions in the 2.x, 3.x, 5.x, and 6.x series (including the latest 6.0.6 in the 6.0.0 branch), as well as the release candidates 7.0.0-RC1, 7.0.0-RC2, and 7.0.0-RC3. It has been fixed in the 7.0.0-LTS version by adding a type check that only allows subclasses of Log to be instantiated.
Users can upgrade to openGauss JDBC version 7.0.0-LTS to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 19, 2026CISA-ADP
Assessed Oct 19, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gitcode.com/opengauss/openGauss-connector-jdbc/pull/423 | openGauss Community | Issue TrackingVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-470 | Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') | openGauss Community |
Affected Products
| Product | Versions |
|---|---|
| openGauss-connector-jdbc | >= 1.1.0, < 2.0.0 (semver) >= 3.0.0, < 4.0.0 (semver) >= 5.0.0, < 6.0.0 (semver) >= 6.0.0, <= 6.0.6 (semver) 7.0.0-RC1 (semver) 7.0.0-RC2 (semver) 7.0.0-RC3 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Modified | CISA-ADP |
| Oct 19, 2026 | CVE Modified | openGauss Community |
| Oct 19, 2026 | New CVE Received | openGauss Community |
Volerion