Read the docs
TI-2026-28891 Aliases CVE-2026-40048GHSA-v3vg-332r-mw99

Apache Camel PQC: Unsafe Deserialization from FileBasedKeyLifecycleManager

Priority LOW 36CWE-502Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-502.

Summary

The Camel-PQC FileBasedKeyLifecycleManager class deserializes the contents of `<keyId>.key` files in the configured key directory using java.io.ObjectInputStream without applying any ObjectInputFilter or class-loading restrictions. The cast to `java.security.KeyPair` is evaluated only after `readObject()` has already returned, so any `readObject()` side effects in the deserialized object run before the type check. An attacker who can write to the key directory used by a Camel application — for example through a path traversal into the directory, misconfigured filesystem permissions on the volume where keys are stored, a compromised key provisioning pipeline, or a symlink attack — can place a crafted serialized Java object that, when deserialized during normal key lifecycle operations, results in arbitrary code execution in the context of the application. This issue affects Apache Camel: from 4.19.0 before 4.20.0, from 4.18.0 before 4.18.2. Users are recommended to upgrade to version 4.20.0, which fixes the issue by replacing java.io.ObjectInputStream-based key and metadata storage with standard PKCS#8 (private key) / X.509 SubjectPublicKeyInfo (public key) Base64 JSON encoding. For users on the 4.18.x LTS releases stream, upgrade to 4.18.2.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00327 25th percentileScored 2026-11-07
Fix Fixed Apache Camel PQC (Apache Software Foundation): 4.20.0, 4.18.2org.apache.camel:camel-pqc (Maven): 4.18.2, 4.20.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache Camel PQC4.19.0 to before 4.20.0; 4.18.0 to before 4.18.24.20.0, 4.18.2Patch availableCNA
—org.apache.camel:camel-pqc (Maven)before 4.18.24.18.2Patch availableGHSA-v3vg-332r-mw99
—org.apache.camel:camel-pqc (Maven)4.19.0 to before 4.20.04.20.0Patch availableGHSA-v3vg-332r-mw99
  • Apache Camel PQC VendorApache Affected 4.19.0 to before 4.20.0; 4.18.0 to before 4.18.2 Fixed in 4.20.0, 4.18.2 Patch available CNA
  • org.apache.camel:camel-pqc (Maven) Vendor— Affected before 4.18.2 Fixed in 4.18.2 Patch available GHSA-v3vg-332r-mw99
  • org.apache.camel:camel-pqc (Maven) Vendor— Affected 4.19.0 to before 4.20.0 Fixed in 4.20.0 Patch available GHSA-v3vg-332r-mw99

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:*4.18.0 to before 4.18.2VulnerableApache
cpe:2.3:a:apache:camel:4.19.0:*:*:*:*:*:*:*4.19.0VulnerableApache
  • cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:* Versions 4.18.0 to before 4.18.2 Vulnerable ·Apache
  • cpe:2.3:a:apache:camel:4.19.0:*:*:*:*:*:*:* Versions 4.19.0 Vulnerable ·Apache

Remediation

  • Fix · CNA Apache Camel PQC (Apache Software Foundation) Fixed in 4.20.0, 4.18.2
  • Fix · GHSA-v3vg-332r-mw99 org.apache.camel:camel-pqc (Maven) Fixed in 4.18.2 Advisory →
  • Fix · GHSA-v3vg-332r-mw99 org.apache.camel:camel-pqc (Maven) Fixed in 4.20.0 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat build of Apache Camel for Spring Boot 4

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-40048
  2. 2026-10-03 Alias added: GHSA-v3vg-332r-mw99
  3. 2026-11-04 Fix available: Maven/org.apache.camel:[email protected] · GHSA-v3vg-332r-mw99
  4. 2026-11-04 3 new references · GHSA-v3vg-332r-mw99

References

  • TI-2026-76322 Unsafe deserialization in Apache Camel camel-hazelcast CVSS 4.0CRITICAL 10.0
  • TI-2026-18973 Apache Camel: Camel-Keycloak: Cross-Realm Token Acceptance Bypass in KeycloakSecurityPolicy CVSS 3.1CRITICAL 9.1
  • TI-2026-76339 Path traversal in Apache Camel azure-files component CVSS 3.1CRITICAL 9.1
  • TI-2026-76330 Path traversal in Apache Camel FTP consumer escapes polled directory CVSS 3.1CRITICAL 9.1
  • TI-2025-20435 Apache Camel: Camel Message Header Injection via Improper Filtering CVSS 3.1MEDIUM 5.6
  • TI-2026-34899 Apache Camel: Camel-CXF Message Header Injection via Missing Inbound Filtering CVSS 3.1CRITICAL 9.8
See all 116 →

Sources