{"answers":{"affected":"2 open source packages ship an affected version, including com.mchange:mchange-commons-java. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27727 exists.","fix":"Upgrade com.mchange:mchange-commons-java to 0.4.0 or later.","what":"CVE-2026-27727 is a high-severity unsafe deserialization vulnerability in swaldman mchange-commons-java, published on 25 Feb 2026. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-27727 and fix it if it is affected.\n\nWhat it is: CVE-2026-27727 is a high-severity unsafe deserialization vulnerability in swaldman mchange-commons-java, published on 25 Feb 2026. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27727 exists.\n\nAffected packages and fixed versions:\n- com.mchange:mchange-commons-java (Maven): affected all versions; fixed in 0.4.0\n- com.mchange:mchange-commons-java (Maven): affected all versions; fixed in 0.4.0\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-27727/ (Markdown: https://insights.sbomify.com/CVE-2026-27727/index.md)","id":"CVE-2026-27727","markdown":"https://insights.sbomify.com/CVE-2026-27727/index.md","name":"CVE-2026-27727","record":{"aliases":["CLSA-2026-1783991044","CLSA-2026-1784077469","CLSA-2026-1784077513","ECHO-9e62-e526-bbc8","GHSA-m2cm-222f-qw44","MINI-7mhp-98p7-445x","OESA-2026-1690","UBUNTU-CVE-2026-27727","openSUSE-SU-2026:10279-1","openSUSE-SU-2026:10281-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Java utility library","requires_auth":"high_privilege","summary":"Attackers can achieve remote code execution by triggering JNDI reference resolution in mchange-commons-java, bypassing JDK security hardening.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"mchange_commons_java","vendor":"mchange"}],"cvss":{"score":8.9,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","version":"4.0"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"},{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"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.","ecosystems":["Maven","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"mchange-commons-java: Remote Code Execution via JNDI Reference Resolution","id":"CVE-2026-27727","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"deserialization","year":"2026"},"n_packages":4,"n_references":4,"next":{"headline":"OneUptime: OS Command Injection in Probe NetworkPathMonitor via unsanitized destination in traceroute exec()","id":"CVE-2026-27728"},"packages":[{"ecosystem":"Maven","fixed":["0.4.0"],"introduced":["0"],"last_affected":[],"package":"com.mchange:mchange-commons-java","purl":null,"source":"GHSA-m2cm-222f-qw44"},{"ecosystem":"Maven","fixed":["0.4.0"],"introduced":["0"],"last_affected":[],"package":"com.mchange:mchange-commons-java","purl":"pkg:maven/com.mchange/mchange-commons-java","source":"GHSA-m2cm-222f-qw44"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.12.0-1.1"],"introduced":["0"],"last_affected":[],"package":"c3p0","purl":"pkg:rpm/opensuse/c3p0\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10279-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.4.0-1.1"],"introduced":["0"],"last_affected":[],"package":"mchange-commons","purl":"pkg:rpm/opensuse/mchange-commons\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10281-1"}],"prev":{"headline":"OpenProject: Insufficient access control leads to create Wiki objects belongs unpermitted projects","id":"CVE-2026-27723"},"products":["mchange-commons-java"],"published":"2026-02-25","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-15","vendors":["swaldman"]},"summary":"Attackers can achieve remote code execution by triggering JNDI reference resolution in mchange-commons-java, bypassing JDK security hardening.","url":"https://insights.sbomify.com/CVE-2026-27727/"}