Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2026-25747: Unsafe Deserialization in Apache Camel LevelDB

Published Feb 23, 2026 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS8.8High · v3.1
EPSS1.1%67th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Apache Software Foundation
IdentifiersCVE-2026-25747CWE-502 · Deserialization of Untrusted Data

CVE-2026-25747 is an unsafe Java deserialization vulnerability in Apache Camel's camel-leveldb component. DefaultLevelDBSerializer deserializes data from the LevelDB aggregation repository using java.io.ObjectInputStream without an ObjectInputFilter or class-loading restrictions. An attacker with write access to the repository's database files can inject a crafted serialized Java object that triggers arbitrary code execution when processed during normal aggregation repository operations. Affected releases include the 4.10.x and 4.14.x release lines and versions 4.15.0 through versions before 4.18.0.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation compromises the Camel application within its existing security context, with potentially high confidentiality, integrity, and availability impacts. Attacker-controlled code can access or modify data available to the application and disrupt its operation. Exploitation does not inherently grant privileges beyond those held by the application.

Mitigation

If you can’t patch tonight, do this now.

Restrict write access to the LevelDB database files to trusted identities and prevent untrusted processes or users from modifying the aggregation repository. This reduces exposure but does not correct the unsafe deserialization. Red Hat states that no mitigation is available that meets its product security criteria; upgrading remains the recommended resolution.

Remediation

Patch, then assume compromise.

Upgrade Apache Camel to 4.18.0, or to 4.10.9 for the 4.10.x LTS stream and 4.14.5 for the 4.14.x LTS stream. The affected-version boundary for 4.10.x is inconsistently documented as before 4.10.8 or before 4.10.9; 4.10.9 is the explicit recommended upgrade target. Red Hat build of Apache Camel for Spring Boot 4 and Red Hat Fuse 7 are marked 'Will not fix' in Red Hat's product assessment.

Public exploits

Exploits

2 exploits validated by Mallory's analysis.

View more in app →
CVE-2026-25747Repository purpose: a Spring Boot + Apache Camel proof-of-concept reproducer for an unsafe Java deserialization condition in Camel's LevelDB Aggregation Repository serializer (DefaultLevelDBSerializer uses raw ObjectInputStream without an ObjectInputFilter). The PoC demonstrates how a malicious serialized object placed into the LevelDB backing store can be deserialized during repository reads/recovery, leading to code execution if a gadget chain is available. Structure and key files: - pom.xml: Maven build; uses Spring Boot 3.2.0, Apache Camel 4.18.0-SNAPSHOT, and explicitly includes commons-collections:3.2.1 to ensure a known ysoserial gadget chain is on the classpath. - src/main/java/com/example/Application.java: Spring Boot entry point. - src/main/java/com/example/ExploitController.java: Main PoC logic exposing REST endpoints: - GET /exploit/init: creates /tmp/leveldb-exploit/aggregation.db, starts a LevelDBAggregationRepository named "myrepo", and writes a legitimate exchange under key "test-key". - POST /exploit/inject: accepts a hex string, converts to bytes, opens LevelDB directly (org.iq80.leveldb), and writes the bytes as the value for key "myrepo\0malicious-key" (repositoryName + NUL + correlationKey). This simulates an attacker gaining write access to the LevelDB store. - GET /exploit/trigger: starts the repository, enumerates keys, and calls repo.get(camelContext, key) for each key. This forces unmarshalling/deserialization of the stored bytes; a malicious entry triggers gadget execution. - GET /exploit/cleanup: deletes the LevelDB directory/files. - src/main/java/com/example/LevelDBRoute.java and StringAggregationStrategy.java: illustrative Camel aggregation route/strategy; route is intentionally disabled to avoid LevelDB file locking and keep the PoC manual. - src/main/resources/application.properties: sets server.port=8080. Exploit capabilities: - Writes attacker-controlled serialized bytes into the LevelDB store (via provided HTTP endpoint in this PoC). - Triggers deserialization by invoking LevelDBAggregationRepository.get() over stored keys. - Achieves RCE when a gadget chain is present (the project includes commons-collections 3.2.1; README suggests generating payloads with ysoserial CommonsCollections7). Notes on realism/conditions: - In real deployments, the primary prerequisite is an attacker-controlled write into the LevelDB persistence (filesystem access or another vulnerability). This PoC adds a network-accessible injection endpoint to make the condition easy to reproduce.oscerd · Disclosed Feb 9, 2026 · java · xml · network · local/file-writeOperationalCVE-2026-27172This repository is a small Spring Boot/Java proof-of-concept reproducer for CVE-2026-27172, a Java deserialization vulnerability in Apache Camel's camel-consul ConsulRegistry. The project is not a scanner or detection script; it actively demonstrates exploitation by exposing REST endpoints that initialize a Consul-backed registry entry, overwrite that entry with attacker-supplied Base64 serialized data, and then trigger Camel's vulnerable lookup path. Repository structure: pom.xml defines a Maven Spring Boot application using Java 17, camel-consul-starter and camel-spring-boot-starter at Camel 4.18.0 (explicitly vulnerable per the README), plus commons-collections 3.2.1 to ensure a gadget chain is present. Application.java is the Spring Boot entry point. ExploitController.java is the main exploit logic and the effective entry point for the PoC. ConsulRegistryRoute.java is intentionally disabled and only documents how a real Camel route would invoke lookupByName() during bean resolution. application.properties sets the web server to port 8080. Main exploit capabilities: ExploitController exposes GET /exploit/init to create a legitimate serialized value in Consul under key myProcessor using ConsulRegistry.put(); POST /exploit/inject to overwrite that same Consul KV key with an attacker-provided Base64 payload; GET /exploit/trigger to call ConsulRegistry.lookupByName("myProcessor"), which causes Base64 decoding and unsafe ObjectInputStream.readObject() deserialization in affected Camel versions; and GET /exploit/cleanup to remove the key. The exploit therefore demonstrates arbitrary code execution through attacker-controlled data in the Consul KV store when the application performs a registry lookup. Attack path: the attacker needs the ability to write to the Consul KV store used by the Camel application. Once a malicious serialized object is stored under a key that Camel resolves, any subsequent lookupByName()/lookupByNameAndType()/findByType* path can deserialize the payload. The README shows a ysoserial-generated CommonsCollections7 payload executing a benign command (touch /tmp/pwned), but the mechanism is generic arbitrary command execution via Java gadget chains. Notable endpoints and targets: the PoC app listens on localhost:8080 and uses a local Consul agent at http://localhost:8500. The specific Consul KV key targeted is myProcessor. The exploit is both web-exposed (through the PoC controller) and network-oriented (through interaction with the Consul service).oscerd · Disclosed Jul 6, 2026 · java · xml · web · networkOperational
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Apache Software FoundationCamelapplication
FAQ

Frequently asked questions

Is CVE-2026-25747 exploited in the wild?
As of Oct 19, 2026, Mallory has no reports of CVE-2026-25747 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-25747?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2026-25747, the earliest disclosed Feb 9, 2026.
Is there a patch for CVE-2026-25747?
Upgrade Apache Camel to 4.18.0, or to 4.10.9 for the 4.10.x LTS stream and 4.14.5 for the 4.14.x LTS stream. The affected-version boundary for 4.10.x is inconsistently documented as before 4.10.8 or before 4.10.9; 4.10.9 is the explicit recommended upgrade target.
What products are affected by CVE-2026-25747?
Apache Software Foundation Camel.
How severe is CVE-2026-25747?
CVE-2026-25747 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 1.1% (67th percentile) as of Oct 19, 2026.
Activity feed

Recent activity

14 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+4 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity5Community discussion across Reddit, Mastodon, and other social sources.