Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Back to intelligence
open-source-dependency-vulnerabilitywidely-deployed-product-advisoryproof-of-concept-release

Apache Camel Camel-PQC Unsafe Deserialization Enables Code Execution

Updated 28d agoFirst seen Apr 26, 20264 sources

Apache disclosed CVE-2026-40048, an unsafe deserialization flaw in the Camel-PQC component of Apache Camel that can lead to arbitrary code execution. The vulnerability is in FileBasedKeyLifecycleManager, which deserializes <keyId>.key files with java.io.ObjectInputStream without ObjectInputFilter or class-loading restrictions, allowing malicious readObject() behavior to run before the data is cast to java.security.KeyPair. An attacker who can place a crafted file in the configured key directory—through path traversal, weak filesystem permissions, a compromised key provisioning pipeline, or a symlink attack—could execute code in the context of the Camel application.

The issue affects org.apache.camel:camel-pqc versions 4.19.0 before 4.20.0 and 4.18.0 before 4.18.2. Apache fixed the flaw by replacing ObjectInputStream-based key and metadata storage with PKCS#8 and X.509 SubjectPublicKeyInfo Base64 JSON encoding, and advised users to upgrade to 4.20.0 or 4.18.2 on the 4.18.x LTS line. Apache credited Andrea Cosentino of the Apache Software Foundation and Venkatraman Kumar of Securin with discovering the vulnerability.

Share:
Apache Camel Camel-PQC Unsafe Deserialization Enables Code Execution
Stay ahead

Get ahead of threats like this

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.

EVENT TIMELINE

How this story unfolded

3 events from the most recent confirmed update back to the earliest known activity.

3 EVENTS
Apr 26, 20262mo ago

oss-sec republishes Apache Camel CVE-2026-40048 disclosure

An oss-sec post summarized CVE-2026-40048, describing the unsafe deserialization issue in Camel-PQC's FileBasedKeyLifecycleManager and reiterating that upgrading to Camel 4.20.0 or 4.18.2 mitigates the risk. The post did not introduce materially new incident details beyond Apache's advisory.

Apache publishes advisory for CVE-2026-40048

Apache disclosed CVE-2026-40048 as a high-severity unsafe deserialization vulnerability in Camel-PQC that could allow arbitrary code execution if an attacker can write crafted serialized objects into the configured key directory. The advisory credited Andrea Cosentino of the Apache Software Foundation and Venkatraman Kumar of Securin for discovering the issue and urged users to upgrade.

Apache fixes CVE-2026-40048 in Camel-PQC releases

Apache addressed an unsafe deserialization flaw in Camel-PQC's FileBasedKeyLifecycleManager by replacing ObjectInputStream-based key storage with PKCS#8 and X.509 SubjectPublicKeyInfo Base64 JSON encoding. The fix was released in Apache Camel versions 4.20.0 and 4.18.2, affecting vulnerable versions 4.19.0 before 4.20.0 and 4.18.0 before 4.18.2.

LINKED ENTITIES

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

2 LINKEDOpen in app
The operational view lives in Mallory

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t — which of your assets are affected, which threat actors are using it right now, which detections to deploy, and what to do next.
Exposure mapping

Map indicators from this story to your assets and identify affected systems in minutes.

Threat actor evidence

Every observed campaign, victim, and pivot linked to actors named in this story.

Associated malware

Malware, exploits, and IOCs connected to the activity described here.

Detection signatures

YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.

Scheduled alerts

Get matching new stories delivered to your team as they break — not the next morning.

AI threads

Ask questions about this story and take action on the answers.