CVE-2026-111440

JDBC LogFactory 任意类加载/构造导致潜在 RCE

7.0 high EPSS 0.19%

Published 19 Oct 2026 Updated 19 Oct 2026 CNA: openGauss

Check your servers for CVE-2026-111440

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-111440 affects opengauss-connector-jdbc, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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。

Severity (CVSS)

7.0 high CVSS 3.1 from openGauss (CNA)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 8.59% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 19 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-470 Use of Externally-Controlled Input to Select Classes or Code

Affected products

As the CNA lists them.

ProductVersions
openGauss-connector-jdbc
unaffected 7.0.0-LTS
affected 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 6.0.0-RC1
affected 6.0.0-6.0.6
affected 7.0.0-RC1, 7.0.0-RC2, 7.0.0-RC3
Other versions: unaffected

Is my server affected?

Find the installed version of opengauss-connector-jdbc and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i opengauss-connector-jdbc
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-111440 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-111440

RHEL, Rocky, Alma, Fedora

rpm -q opengauss-connector-jdbc
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-111440

Alpine

apk list --installed | grep -i opengauss-connector-jdbc

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-111440
trivy image --scanners vuln IMAGE | grep CVE-2026-111440

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-111440 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.