CVE-2026-25747: Camel leveldb Apache Camel Deserializes Untrusted Data Vulnerability

HIGH
Advisory Identifier: GHSA-429q-mrc4-38fr
CWE-502
Published
Advisory Summary

CVE-2026-25747 is a HIGH apache camel deserializes untrusted data vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Camel leveldb libraries in the Maven ecosystem. The issue involves apache camel deserializes untrusted data in its leveldb component. Remediation is available by upgrading affected packages to version 4.10.9, 4.14.5, 4.18.0.

CVE-2026-25747 at a Glance

CVE Identifier CVE-2026-25747
GHSA Identifier GHSA-429q-mrc4-38fr
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-502: Deserialization of Untrusted Data
Affected Product Camel leveldb
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2026-25747

To remediate this vulnerability, upgrade all affected Camel leveldb dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.apache.camel:camel-leveldb fixed: 4.10.9
<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-leveldb</artifactId>
    <version>4.10.9</version>
</dependency>
org.apache.camel:camel-leveldb fixed: 4.14.5
<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-leveldb</artifactId>
    <version>4.14.5</version>
</dependency>
org.apache.camel:camel-leveldb fixed: 4.18.0
<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-leveldb</artifactId>
    <version>4.18.0</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.apache.camel

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-25747, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.apache.camel

Analyze the terminal output to locate any version of Camel leveldb in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.10.9), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.apache.camel command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Camel leveldb, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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

CVE-2026-25747 Affected Camel leveldb Versions

3 component(s)
Fixed Versions:
4.10.94.14.54.18.0
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.camel:camel-leveldb
Maven
≥ 3.0.0
< 4.10.9
4.10.9
org.apache.camel:camel-leveldb
Maven
≥ 4.11.0
< 4.14.5
4.14.5
org.apache.camel:camel-leveldb
Maven
≥ 4.15.0
< 4.18.0
4.18.0

References

Frequently Asked Questions

What is CVE-2026-25747?
CVE-2026-25747 is a security vulnerability in Camel leveldb involving Apache Camel Deserializes Untrusted Data in its LevelDB Component under CWE-502: Deserialization of Untrusted Data.
Which Camel leveldb versions are affected?
Affected versions include releases prior to 4.10.9, 4.14.5, 4.18.0 across affected packages: org.apache.camel:camel-leveldb.
What version fixes CVE-2026-25747?
Upgrading to 4.10.9, 4.14.5, 4.18.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is camel-leveldb affected?
Yes, org.apache.camel:camel-leveldb is affected in releases prior to 4.10.9, 4.14.5, 4.18.0. Upgrade your dependency to 4.10.9, 4.14.5, 4.18.0 or later.
What CWE is associated with CVE-2026-25747?
CVE-2026-25747 is classified under CWE-502: Deserialization of Untrusted Data (The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.).
How can I check Maven dependencies for CVE-2026-25747?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.camel'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-429q-mrc4-38fr",
  "modified" : "2026-02-25T18:07:17Z",
  "published" : "2026-02-23T09:31:23Z",
  "aliases" : [ "CVE-2026-25747" ],
  "summary" : "Apache Camel Deserializes Untrusted Data in its LevelDB Component",
  "details" : "Deserialization of Untrusted Data vulnerability in Apache Camel LevelDB component.\n\nThe 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.\nThis 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.\n\nUsers 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",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.camel:camel-leveldb"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "4.10.9"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.camel:camel-leveldb"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.11.0"
      }, {
        "fixed" : "4.14.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.camel:camel-leveldb"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.15.0"
      }, {
        "fixed" : "4.18.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-25747"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/commit/0e3ac39e20416c91af6df2cfce3f7d795e75ad89"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/commit/5f343367f7b25646b7d12be26c3e87381c7a7ecb"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/camel/commit/af2f2e9571b3b03a36b771bd9eb10427886d9636"
  }, {
    "type" : "WEB",
    "url" : "https://camel.apache.org/security/CVE-2026-25747.html"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/camel"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/oscerd/CVE-2026-25747"
  }, {
    "type" : "WEB",
    "url" : "https://issues.apache.org/jira/browse/CAMEL-22966"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2026/02/18/6"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-502" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-02-25T18:07:17Z",
    "nvd_published_at" : "2026-02-23T09:17:01Z"
  }
}