Deserialization of untrusted data in Apache Camel
Key facts
- Attack vector
- Network
- 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
Deserialization of Untrusted Data vulnerability in Apache Camel PQC component. The camel-pqc component persists post-quantum key metadata (KeyMetadata) through pluggable KeyLifecycleManager implementations. HashicorpVaultKeyLifecycleManager and AwsSecretsManagerKeyLifecycleManager read that metadata back from the configured secret backend by deserializing a Base64-wrapped value with a raw java.io.ObjectInputStream.readObject() and no ObjectInputFilter or class allow-list; the cast to KeyMetadata happens only after readObject() returns, so any readObject() side effects in a crafted object run before the type check. The same unfiltered legacy-migration read also remained in FileBasedKeyLifecycleManager (for the stored KeyPair and KeyMetadata). A principal who can write to the operator-controlled backend that holds these values - the HashiCorp Vault KV path, or the AWS Secrets Manager secret (requiring a Vault token or secretsmanager:PutSecretValue) - could store a crafted serialized object that is deserialized during normal key-lifecycle operations, potentially leading to code execution in the context of the application that manages the keys. This is an incomplete-remediation follow-on to CVE-2026-40048 (CAMEL-23200), which changed FileBasedKeyLifecycleManager to store metadata as JSON / PKCS#8 / X.509 but did not add an ObjectInputFilter, did not cover the Vault and AWS sibling managers, and left FileBasedKeyLifecycleManager's own legacy-migration deserialization unfiltered. This issue affects Apache Camel: from 4.18.0 before 4.18.3, from 4.19.0 before 4.21.0. Users are recommended to upgrade to version 4.21.0, which fixes the issue. If users are on the 4.18.x LTS releases stream, then they are suggested to upgrade to 4.18.3. For deployments that cannot upgrade immediately, restrict write access to the key backend so that only the application's own identity can write the camel-pqc secrets (least-privilege HashiCorp Vault policies and secretsmanager:PutSecretValue IAM), and keep the PQC key material in a backend separate from any data that less-trusted principals can write.
Why it matters now
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Camel | 4.18.0 to before 4.18.3; 4.19.0 to before 4.21.0 | 4.18.3, 4.21.0 | Patch available | CNA |
| — | org.apache.camel:camel-pqc (Maven) | 4.18.0 to before 4.18.3 | 4.18.3 | Patch available | GHSA-857v-xvh8-7hjc |
| — | org.apache.camel:camel-pqc (Maven) | 4.19.0 to before 4.21.0 | 4.21.0 | Patch available | GHSA-857v-xvh8-7hjc |
- Apache Camel VendorApache Affected 4.18.0 to before 4.18.3; 4.19.0 to before 4.21.0 Fixed in 4.18.3, 4.21.0 Patch available CNA
- org.apache.camel:camel-pqc (Maven) Vendor— Affected 4.18.0 to before 4.18.3 Fixed in 4.18.3 Patch available GHSA-857v-xvh8-7hjc
- org.apache.camel:camel-pqc (Maven) Vendor— Affected 4.19.0 to before 4.21.0 Fixed in 4.21.0 Patch available GHSA-857v-xvh8-7hjc
Remediation
- Fix · CNA Apache Camel (Apache Software Foundation) Fixed in 4.18.3, 4.21.0
- Fix · GHSA-857v-xvh8-7hjc org.apache.camel:camel-pqc (Maven) Fixed in 4.18.3 Advisory →
- Fix · GHSA-857v-xvh8-7hjc org.apache.camel:camel-pqc (Maven) Fixed in 4.21.0 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Apache Camel 4.18.3, 4.21.0
3 records Highest priority Priority MEDIUM 3 MEDIUM
Other records, highest priority first
- TI-2026-31931 Deserialization of untrusted data in Apache CamelPriority MEDIUM 51
- TI-2026-34158 Insufficient session expiration in Apache CamelPriority MEDIUM 50
Timeline
- 2026-10-02 Threatist record created from CVE-2026-46590
- 2026-10-03 Alias added: GHSA-857v-xvh8-7hjc
References
Advisory 3
Other 8
- https://github.com/apache/camel/pull/23912
- https://github.com/apache/camel/pull/23914
- https://github.com/apache/camel/commit/12a9ac3c94d6fda12d16b2c0039db41c6204727e
- https://github.com/apache/camel/commit/feea08e7847f35dc0e177652b0b02bd45f6c1b4f
- https://github.com/apache/camel
- https://github.com/apache/camel/releases/tag/camel-4.18.3
- https://github.com/apache/camel/releases/tag/camel-4.21.0
- https://issues.apache.org/jira/browse/CAMEL-23726
More Apache Camel vulnerabilities
- 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
Sources
- CVE-2026-46590 · CVE Program
- CVE-2026-46590 · NVD
- FIRST EPSS
- GHSA-857v-xvh8-7hjc · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences