# CVE-2021-41766: Insecure Java Deserialization in Apache Karaf

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.1 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2022-01-26 · Modified: 2024-08-04
- Aliases: GHSA-jh5g-9m4v-9vv9
- Record: https://cvemate.com/vulnerability/CVE-2021-41766 · JSON: https://cvemate.com/vulnerability/CVE-2021-41766/json

## Description

```text
Apache Karaf allows monitoring of applications and the Java runtime by using the Java Management Extensions (JMX). JMX is a Java RMI based technology that relies on Java serialized objects for client server communication. Whereas the default JMX implementation is hardened against unauthenticated deserialization attacks, the implementation used by Apache Karaf is not protected against this kind of attack. The impact of Java deserialization vulnerabilities strongly depends on the classes that are available within the targets class path. Generally speaking, deserialization of untrusted data does always represent a high security risk and should be prevented. The risk is low as, by default, Karaf uses a limited set of classes in the JMX server class path. It depends of system scoped classes (e.g. jar in the lib folder).
```

## Signals

- CVSS: 8.1 high (v3.1, NVD) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 2.1%, percentile 82.342%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache karaf: ≥ Apache Karaf, \< 4.3.6
- apache karaf: \< 4.3.6
- org.apache.karaf.management org.apache.karaf.management.server (Maven): \< 4.3.6

## References

- <https://karaf.apache.org/security/cve-2021-41766.txt>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-41766>
- <https://github.com/apache/karaf/pull/1475>
- <https://github.com/apache/karaf/commit/b42c82ca3b9a22bd92d249a1060a1953f4188bc2>
- <https://gitbox.apache.org/repos/asf?p=karaf.git;h=93a019c>
- <https://gitbox.apache.org/repos/asf?p=karaf.git;h=b42c82c>
- <https://github.com/apache/karaf>
- <https://issues.apache.org/jira/browse/KARAF-7312>

---

Data as of 2026-12-05T04:22:59.356Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
