CVE-2026-25747: Apache Camel LevelDB: Deserialization of Untrusted Data in Camel LevelDB
Deserialization of Untrusted Data vulnerability in Apache Camel LevelDB component.
The Camel-LevelDB DefaultLevelDBSerializer class deserializes data read from the LevelDB aggregation repository using java.io.ObjectInputStream without applying any ObjectInputFilter or class-loading restrictions. An attacker who can write to the LevelDB database files used by a Camel application can inject a crafted serialized Java object that, when deserialized during normal aggregation repository operations, results in arbitrary code execution in the context of the application.
This issue affects Apache Camel: from 4.10.0 before 4.10.8, from 4.14.0 before 4.14.5, from 4.15.0 before 4.18.0.
Users are recommended to upgrade to version 4.18.0, which fixes the issue. For the 4.10.x LTS releases, users are recommended to upgrade to 4.10.9, while for 4.14.x LTS releases, users are recommended to upgrade to 4.14.5
Security readout for executives and security teams
Plain-English summary
Apache Camel LevelDB can execute attacker-supplied code when an application reads malicious serialized data from its aggregation database. Exploitation requires a path to write into the LevelDB files, but successful exploitation could fully compromise the Camel application and its accessible data and services.
Executive priority
Prioritize immediate remediation for affected systems with untrusted or broadly shared write access to LevelDB storage. Other affected deployments should enter an accelerated patch cycle because successful exploitation provides application-level code execution with high confidentiality, integrity, and availability impact.
Technical view
DefaultLevelDBSerializer uses java.io.ObjectInputStream without an ObjectInputFilter or class-loading restrictions. A crafted Java object placed in the LevelDB aggregation repository may be deserialized during normal operations, causing arbitrary code execution with the application process's privileges.
Likely exposure
Exposure exists where affected camel-leveldb versions operate a LevelDB aggregation repository and an attacker can modify its database files. Relevant write paths may include compromised accounts, services, shared storage, or permission weaknesses. Internet exposure alone does not establish the required database-write capability.
Exploitation context
The CVE is not listed in KEV. An exploit-tagged public GitHub reference is provided, but the source bundle does not establish exploit reliability or active in-the-wild exploitation. Treat accessible LevelDB write paths as the primary risk multiplier.
Researcher notes
The bundle contains version ambiguity: its narrative says 4.10.0 before 4.10.8 is affected, yet recommends 4.10.9; the structured affected data also lists 3.0.0 inconsistently. Use the vendor advisory and recommended target versions when making final applicability decisions.
Mitigation direction
Upgrade 4.10.x deployments to 4.10.9, following the vendor recommendation.
Upgrade 4.14.x deployments to 4.14.5.
Upgrade versions from 4.15.0 through pre-4.18.0 to 4.18.0.
Restrict LevelDB file and directory writes to the minimum required application identity.
Investigate and remove unintended services, users, or shared storage paths that can modify the repository.
Validation and detection
Inventory deployments containing org.apache.camel:camel-leveldb and record their resolved versions.
Confirm whether each deployment uses a LevelDB aggregation repository and DefaultLevelDBSerializer.
Review filesystem, container-volume, and service permissions for every path capable of modifying LevelDB data.
Check LevelDB files and application telemetry for unexplained changes or execution anomalies.
After upgrading, verify the resolved package version and exercise normal aggregation operations.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-502: Code execution behavior lookup
Code execution and unsafe deserialization weaknesses often justify reviewing execution behavior and process telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
5Timeline events
3ADP providers
6Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: yesTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-502 · source CWE mapping
Deserialization of Untrusted Data
Deserialization of Untrusted Data represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.