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

High 7.0 Published Updated

Attackers controlling JDBC connection parameters can trigger arbitrary class instantiation, potentially leading to remote code execution on the client.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-111440?

CVE-2026-111440 is a high-severity code injection vulnerability in openGauss-server openGauss-connector-jdbc, published on 19 Oct 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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。

Weakness: CWE-470

Which versions are affected by CVE-2026-111440?

How do I fix CVE-2026-111440?

No fix has been published for CVE-2026-111440 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-111440 being exploited?

There is no known exploitation of CVE-2026-111440 in the wild and no public exploit code.

Sources

Also known as GHSA-4fmq-r5rm-vvmw.

Is CVE-2026-111440 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free