# CVE-2026-46590: Apache Camel deserialization of untrusted data in PQC component

Source: https://junglewise.ai/threats/cve-2026-46590-apache-camel-deserialization-of-untrusted-data-in-pqc-component  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-06. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-46590 · Severity: high · CVSS 8.8 · Published 2026-07-06

Apache Camel's post-quantum cryptography (PQC) component insecurely deserializes key metadata stored in HashiCorp Vault and AWS Secrets Manager using Java's ObjectInputStream without any input validation. An attacker with write access to these secret backends could inject a malicious serialized object that executes arbitrary code when the application loads the key, compromising the security of applications managing post-quantum keys for encrypted communications.

Technologies: [Apache Camel](https://junglewise.ai/threats/technologies/camel), [org.apache.camel:camel-pqc (Maven)](https://junglewise.ai/threats/technologies/org-apache-camel-camel-pqc). Vendors: [Apache](https://junglewise.ai/threats/vendors/apache), [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2026-46590 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-46590 being exploited in the wild.

**How severe is CVE-2026-46590?** High severity, with a CVSS score of 8.8, published 6 July 2026.

**Which products and versions are affected?** Apache Camel 4.18.0 to 4.18.2, 4.19.0 to 4.20.x; Apache Camel PQC component 4.18.0 to 4.18.2, 4.19.0 to 4.20.x; org.apache.camel:camel-pqc (Maven) ECOSYSTEM:introduced=4.18.0,fixed=4.18.3.

**Is there a fix for CVE-2026-46590?** Yes. org.apache.camel:camel-pqc (Maven): upgrade to 4.18.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-46590 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-46590?** Check whether you run Apache Camel, Apache Camel PQC component or org.apache.camel:camel-pqc (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.apache.camel:camel-pqc (Maven): upgrade to 4.18.3 or later

  ```sh
  # set org.apache.camel:camel-pqc to 4.18.3 in your pom.xml or build.gradle
  ```


## Technical details

The vulnerability is a deserialization-of-untrusted-data flaw (CWE-502) in Apache Camel's camel-pqc component. The HashicorpVaultKeyLifecycleManager and AwsSecretsManagerKeyLifecycleManager classes deserialize Base64-wrapped KeyMetadata objects using raw java.io.ObjectInputStream.readObject() calls without an ObjectInputFilter or class allow-list. Because the cast to KeyMetadata occurs only after deserialization completes, any gadget chain executed during readObject() runs before type validation, enabling arbitrary code execution. The same vulnerable pattern exists in FileBasedKeyLifecycleManager's legacy migration code. Exploitation requires write access to the backend (HashiCorp Vault KV path or AWS Secrets Manager secret), but does not require authentication to the application itself. The vulnerability is a follow-on to CVE-2026-40048, which partially addressed FileBasedKeyLifecycleManager but left it and the AWS/Vault managers unprotected. Patches are available in versions 4.18.3 (LTS) and 4.21.0 (current).

## Affected products

- Apache Camel 4.18.0 to 4.18.2, 4.19.0 to 4.20.x
- Apache Camel PQC component 4.18.0 to 4.18.2, 4.19.0 to 4.20.x

## Identifiers

- CVE-2026-46590
- GHSA-857v-xvh8-7hjc

## Timeline

- 2026-07-06: disclosed: Published to GitHub Advisory Database and NVD
- 2026-07-06: patched: Version 4.18.3 and 4.21.0 released with fixes

## References

- [https://api.github.com/users/oscerd](https://api.github.com/users/oscerd)
- [https://github.com/oscerd](https://github.com/oscerd)
- [https://api.github.com/users/oscerd/gists%7B/gist_id%7D](https://api.github.com/users/oscerd/gists%7B/gist_id%7D)
- [https://api.github.com/users/oscerd/repos](https://api.github.com/users/oscerd/repos)
- [https://avatars.githubusercontent.com/u/5106647?v=4](https://avatars.githubusercontent.com/u/5106647?v=4)
- [https://api.github.com/users/oscerd/events%7B/privacy%7D](https://api.github.com/users/oscerd/events%7B/privacy%7D)

## Related threats

- [Apache Camel SSRF in A2A webhook validator](https://junglewise.ai/threats/cve-2026-71569-server-side-request-forgery-ssrf-vulnerability-in-apache-camel)
- [Apache Camel OAuth component cache containing sensitive information](https://junglewise.ai/threats/cve-2026-94386-use-of-cache-containing-sensitive-information-vulnerability-in)
- [Apache Camel Saxon component XXE in XQuery evaluation](https://junglewise.ai/threats/cve-2026-90885-improper-restriction-of-xml-external-entity-reference)
- [Apache Camel AWS2-S3 expression language injection in key handling](https://junglewise.ai/threats/cve-2026-95664-improper-neutralization-of-special-elements-used-in-an-expression)
- [Apache Camel Keycloak security policy token expiration bypass](https://junglewise.ai/threats/cve-2026-95663-insufficient-session-expiration-vulnerability-in-apache-camel)
