CVE-2026-27727: mchange-commons-java - JNDI Injection
- Cve: CVE-2026-27727
- Name: mchange-commons-java - JNDI Injection
- 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.
- Impact: Attackers can execute arbitrary code remotely by exploiting unsafe JNDI deserialization, potentially leading to full system compromise.
- Remediation: Upgrade to version 0.4.0 or later.
- Vulnerability type: jndi_injection
- Vulnerability impact: remote_code_execution
- Requirements: Attacker must provoke application to read maliciously crafted JNDI references or serialized objects
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01
- Epss percentile: 0.63511
- Assignee: [email protected]
- Published at: 2026-02-25T17:25:39Z
- Age in days: 272
- Modified at: 2026-08-17T12:17:42Z
- Patch available: yes
- Public exploits total: 1
- References total: 15
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-27727
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component |
| CWE-502 | Deserialization of Untrusted Data |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://mogwailabs.de/en/blog/2025/02/c3p0-you-little-rascal | nvd | 2026-02-25 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| mchange:mchange_commons_java | < 0.4.0 | no | nvd | /v1/products/mchange/mchange_commons_java |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| swaldman/mchange-commons-java | package, security_advisory | yes | /v1/repositories/swaldman/mchange-commons-java |
Index
- Repositories: 4
- Repositories high signal: 3
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-02-25
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts