# CVE-2026-24656: Apache Karaf: Decanter log-socket collector has deserialization vulnerability

> Unauthenticated deserialization in Apache Karaf Decanter log socket collector can cause denial of service if the optional collector is installed.

- **Severity:** Low 3.7 (`CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 26 Jan 2026
- **Updated:** 26 Jan 2026
- **Also known as:** GHSA-jmw5-58c7-587h

## What is CVE-2026-24656?

CVE-2026-24656 is a low-severity unsafe deserialization vulnerability in Apache Karaf, published on 26 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

Deserialization of Untrusted Data vulnerability in Apache Karaf Decanter.

The Decanter log socket collector exposes the port 4560, without authentication. If the collector exposes allowed classes property, this configuration can be bypassed.
It means that the log socket collector is vulnerable to deserialization of untrusted data, eventually causing DoS.

NB: Decanter log socket collector is not installed by default. Users who have not installed Decanter log socket are not impacted by this issue.

This issue affects Apache Karaf Decanter before 2.12.0.

Users are recommended to upgrade to version 2.12.0, which fixes the issue.

Weakness: CWE-502 (Deserialization of Untrusted Data)

## Which versions are affected by CVE-2026-24656?

2 open source packages ship an affected version, including org.apache.karaf.decanter.collector:org.apache.karaf.decanter.collector.log.socket. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `org.apache.karaf.decanter.collector:org.apache.karaf.decanter.collector.log.socket` | Maven | All versions | 2.12.0 |
| `org.apache.karaf.decanter.collector:org.apache.karaf.decanter.collector.log.socket` | Maven | All versions | 2.12.0 |

Products: Apache Karaf Decanter.

## How do I fix CVE-2026-24656?

Upgrade org.apache.karaf.decanter.collector:org.apache.karaf.decanter.collector.log.socket to 2.12.0 or later.

## Is CVE-2026-24656 being exploited?

There is no known exploitation of CVE-2026-24656 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-24656 and fix it if it is affected.

What it is: CVE-2026-24656 is a low-severity unsafe deserialization vulnerability in Apache Karaf, published on 26 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-24656 in the wild and no public exploit code.

Affected packages and fixed versions:
- org.apache.karaf.decanter.collector:org.apache.karaf.decanter.collector.log.socket (Maven): affected all versions; fixed in 2.12.0
- org.apache.karaf.decanter.collector:org.apache.karaf.decanter.collector.log.socket (Maven): affected all versions; fixed in 2.12.0

Task:
1. 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.
2. 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.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-24656/ (Markdown: https://insights.sbomify.com/CVE-2026-24656/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-24656
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-24656
- OSV: https://osv.dev/vulnerability/CVE-2026-24656

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-24656/
Summaries are generated and may contain mistakes; the official description above is the record.
