{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-111440 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-111440 yet. Limit exposure of the affected software until one is available.","what":"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."},"fix_prompt":"Check this codebase for CVE-2026-111440 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2026-111440 in the wild and no public exploit code.\n\nAffected product: openGauss-server openGauss-connector-jdbc. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-111440/ (Markdown: https://insights.sbomify.com/CVE-2026-111440/index.md)","id":"CVE-2026-111440","markdown":"https://insights.sbomify.com/CVE-2026-111440/index.md","name":"CVE-2026-111440","record":{"aliases":["GHSA-4fmq-r5rm-vvmw"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"openGauss JDBC connector","requires_auth":"low_privilege","summary":"Attackers controlling JDBC connection parameters can trigger arbitrary class instantiation, potentially leading to remote code execution on the client.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"openGauss","cpe":[],"cvss":{"score":7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-470","name":"Use of Externally-Controlled Input to Select Classes or Code"}],"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 中存在可被加载的类时，可能在客户端触发非预期的类加载与构造副作用。\n\n此漏洞自 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。","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"JDBC LogFactory 任意类加载/构造导致潜在 RCE","id":"CVE-2026-111440","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"HLL 反序列化 lenTotal/lenUsed 校验缺失导致堆越界写","id":"CVE-2026-111441"},"packages":[],"prev":{"headline":"pg_read_binary_file_blocks 缺少初始用户权限校验，普通用户可读取 relation 文件块","id":"CVE-2026-111439"},"products":["openGauss-connector-jdbc"],"published":"2026-10-19","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-19","vendors":["openGauss-server"]},"summary":"Attackers controlling JDBC connection parameters can trigger arbitrary class instantiation, potentially leading to remote code execution on the client.","url":"https://insights.sbomify.com/CVE-2026-111440/"}