CVE-2026-111440
JDBC LogFactory 任意类加载/构造导致潜在 RCE
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running openGauss-server openGauss-connector-jdbc 1.0.0, 1.0.1, 1.1.0; 2.0.0, 2.1.0; 3.0.0-3.0.5; 3.1.0-3.1.1; 5.0.0-5.0.3; 5.1.0; 5.0.0-RC1; 6.0.0-RC1; 6.0.0-6.0.6; 7.0.0-RC1, 7.0.0-RC2, 7.0.0-RC3
Vulnerability facts
- Affected
- openGauss-server openGauss-connector-jdbc 1.0.0, 1.0.1, 1.1.0; 2.0.0, 2.1.0; 3.0.0-3.0.5; 3.1.0-3.1.1; 5.0.0-5.0.3; 5.1.0; 5.0.0-RC1; 6.0.0-RC1; 6.0.0-6.0.6; 7.0.0-RC1, 7.0.0-RC2, 7.0.0-RC3
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.0 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.27% chance of exploitation in 30 days (percentile 12, 2026-11-26)
- CWE
- CWE-470
- Modified
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。
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| openGauss-server openGauss-connector-jdbc | 1.0.0, 1.0.1, 1.1.0; 2.0.0, 2.1.0; 3.0.0-3.0.5; 3.1.0-3.1.1; 5.0.0-5.0.3; 5.1.0; 5.0.0-RC1; 6.0.0-RC1; 6.0.0-6.0.6; 7.0.0-RC1, 7.0.0-RC2, 7.0.0-RC3 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-111440. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-111440.md Affected: openGauss-server openGauss-connector-jdbc 1.0.0, 1.0.1, 1.1.0; 2.0.0, 2.1.0; 3.0.0-3.0.5; 3.1.0-3.1.1; 5.0.0-5.0.3; 5.1.0; 5.0.0-RC1; 6.0.0-RC1; 6.0.0-6.0.6; 7.0.0-RC1, 7.0.0-RC2, 7.0.0-RC3 Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for openGauss-server openGauss-connector-jdbc: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-111440 being exploited?
There is no confirmed exploitation: CVE-2026-111440 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-111440?
High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-111440?
openGauss-server openGauss-connector-jdbc 1.0.0, 1.0.1, 1.1.0; 2.0.0, 2.1.0; 3.0.0-3.0.5; 3.1.0-3.1.1; 5.0.0-5.0.3; 5.1.0; 5.0.0-RC1; 6.0.0-RC1; 6.0.0-6.0.6; 7.0.0-RC1, 7.0.0-RC2, 7.0.0-RC3.
Is there a fix for CVE-2026-111440?
No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-111440?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.