CVE-2026-27727
mchange-commons-java: Remote Code Execution via JNDI Reference Resolution
Also known as GHSA-m2cm-222f-qw44
Mitigation
- Upgrade com.mchange:mchange-commons-java to 0.4.0 or later.
Who should check
- Projects that depend on Maven package com.mchange:mchange-commons-java (< 0.4.0)
- Anyone running swaldman mchange-commons-java < 0.4.0
Vulnerability facts
- Affected
- com.mchange:mchange-commons-java < 0.4.0
- Fixed in
- 0.4.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, login needed
- CVSS
- 8.9 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: High
- User interaction: None
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- Confidentiality impact on other systems: High
- Integrity impact on other systems: High
- Availability impact on other systems: High
- EPSS
- 2.14% chance of exploitation in 30 days (percentile 83, 2026-11-26)
- CWE
- CWE-74
- Modified
Description
mchange-commons-java, a library that provides Java utilities, includes code that mirrors early implementations of JNDI functionality, including support for remote `factoryClassLocation` values, by which code can be downloaded and invoked within a running application. If an attacker can provoke an application to read a maliciously crafted `jaxax.naming.Reference` or serialized object, they can provoke the download and execution of malicious code. Implementations of this functionality within the JDK were disabled by default behind a System property that defaults to `false`, `com.sun.jndi.ldap.object.trustURLCodebase`. However, since mchange-commons-java includes an independent implementation of JNDI derefencing, libraries (such as c3p0) that resolve references via that implementation could be provoked to download and execute malicious code even after the JDK was hardened. Mirroring the JDK patch, mchange-commons-java's JNDI functionality is gated by configuration parameters that default to restrictive values starting in version 0.4.0. No known workarounds are available. Versions prior to 0.4.0 should be avoided on application CLASSPATHs.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven com.mchange:mchange-commons-java | < 0.4.0 | 0.4.0 | osv |
| swaldman mchange-commons-java | < 0.4.0 | — | 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-27727. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-27727.md Affected: com.mchange:mchange-commons-java < 0.4.0 Fixed in: 0.4.0 Steps: 1. Search this machine and project for com.mchange:mchange-commons-java (Maven), swaldman mchange-commons-java: 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
Vendor advisories
- https://github.com/swaldman/mchange-commons-java/security/advisories/GHSA-m2cm-222f-qw44
- https://access.redhat.com/errata/RHSA-2026:18054
- https://access.redhat.com/errata/RHSA-2026:14874
- https://access.redhat.com/errata/RHSA-2026:18055
- https://access.redhat.com/errata/RHSA-2026:14873
- https://access.redhat.com/errata/RHSA-2026:34365
- https://access.redhat.com/errata/RHSA-2026:4285
- https://access.redhat.com/errata/RHSA-2026:18059
- https://access.redhat.com/errata/RHSA-2026:3890
- https://nvd.nist.gov/vuln/detail/CVE-2026-27727
Exploits and PoCs
Other
- https://www.mchange.com/projects/c3p0/#configuring_security
- https://www.mchange.com/projects/c3p0/#security-note
- https://access.redhat.com/security/cve/CVE-2026-27727
- https://bugzilla.redhat.com/show_bug.cgi?id=2442671
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27727.json
- https://github.com/swaldman/mchange-commons-java
FAQ
Is CVE-2026-27727 being exploited?
There is no confirmed exploitation: CVE-2026-27727 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 2.14% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-27727?
High: CVSS 8.9 (v4.0, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2026-27727?
com.mchange:mchange-commons-java < 0.4.0.
Is there a fix for CVE-2026-27727?
Yes. Fixed in 0.4.0. Upgrade com.mchange:mchange-commons-java to 0.4.0 or later.
How do I check if I'm affected by CVE-2026-27727?
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.