Apache Camel security advisory: CVE-2026-25747
Severity
HIGHSummary
Apache Camel: Camel-LevelDB: Unsafe Deserialization from LevelDBAggregationRepositoryVersions affected
From 3.0.0 before 4.10.9, from 4.11.0 before 4.14.5, from 4.15.0 before 4.18.0.Versions fixed
4.10.9, 4.14.5 and 4.18.0Description
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.Notes
The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-22966 refers to the various commits that resolved the issue, and have more details.
Mitigation
Users are recommended to upgrade to version 4.18.0, which fixes the issue. If users are on the 4.10.x LTS releases stream, then they are suggested to upgrade to 4.10.9. If users are on the 4.14.x LTS releases stream, then they are suggested to upgrade to 4.14.5.Credit
This issue was discovered by Andrea Cosentino from Apache Software FoundationReferences
- PGP signed advisory data: CVE-2026-25747.txt.asc
- Mitre CVE Entry: https://www.cve.org/CVERecord?id=CVE-2026-25747