Deserialization Vulnerability in Apache Camel's File-Based Key Manager

Patch this weekFull system takeover with local access.
7.8HIGH

Key Information:

Vendor

Apache

CVE ID
CVE ID:
CVE-2026-40048
Vendor
CVE Published:
27 April 2026
Fixed in
Fixed in:
4.20.0, 4.18.2

Timeline

Exploit known 73 days after it was published

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

How risky is it?

  • No: Needs local access
  • Yes: Public exploit code (1 proof-of-concept)
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Patch this week

Exploitation is likely. Prioritise the fix.

What to do

1Update to a fixed version
Apache Camel PQC 4.19.0 to below 4.20.0 is vulnerable
Apache Camel PQC 4.18.0 to below 4.18.2 is vulnerable

Install the Apache Camel PQC release that fixes your version line, or later:

4.20.04.18.2
Read the vendor advisory โ†—
2Look for signs of compromise

Exploit code is public, so check logs on exposed Apache Camel PQC systems for unusual requests or new processes from before you patched. The 1 public proof-of-concept show what an attack looks like.

3Why it's rated "Patch this week"
  • Exploit code is public, so attacks are easy to copy.
  • Its CVSS severity is high (7.8).

What is CVE-2026-40048?

The FileBasedKeyLifecycleManager class in Apache Camel allows deserialization of <keyId>.key files using java.io.ObjectInputStream without implementing ObjectInputFilter or restricting class loading. This flaw can lead to arbitrary code execution due to unsanitized deserialization methods being applied, exposing the application to significant risks. An attacker with write access to the key directory can exploit this vulnerability, using methods like path traversal or filesystem permission misconfigurations to introduce malicious serialized objects. To mitigate this issue, it is essential to upgrade to Apache Camel version 4.20.0, which addresses the vulnerability by adopting a secure storage approach utilizing PKCS#8 and X.509 standards.

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

Key Exchange Vulnerability in Apache Tomcat

CVE-2026-133325
ApacheApache Tomcat๐Ÿ˜„๐Ÿ‘พ9.8CRITICAL

Improper Exception Management in Apache Tomcat Affects Multiple Versions

CVE-2026-116561
ApacheApache Tomcat๐Ÿ˜„9.1CRITICAL

Deserialization Vulnerability in Apache Roller Affects Multiple Versions

CVE-2026-129448
ApacheApache Roller๐Ÿ˜„๐Ÿ‘พ9.8CRITICAL
View more Apache vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction

CVSS V3.1

Score:
7.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Credit

Andrea Cosentino from ASF
Venkatraman Kumar from Securin
.