SecurityContext

CVE-2026-46590: Apache Camel - Insecure Deserialization

  • Cve: CVE-2026-46590
  • Name: Apache Camel - Insecure Deserialization
  • Description: 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.
  • Impact: Attackers with write access to secret backends can execute arbitrary code in the application context, potentially leading to full system compromise.
  • Remediation: Upgrade to Apache Camel version 4.21.0 or 4.18.3 for LTS releases.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: remote_code_execution
  • Requirements: Attacker needs write access to operator-controlled secret backends
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00839
  • Epss percentile: 0.58592
  • Assignee: [email protected]
  • Published at: 2026-07-06T09:16:37Z
  • Age in days: 141
  • Modified at: 2026-10-25T15:10:00Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-46590
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-502Deserialization of Untrusted Data

Public exploits

UrlSourceAdded date
https://github.com/oscerd/CVE-2026-46590poc-in-github2026-07-15

References

UrlSourceTags
https://camel.apache.org/security/CVE-2026-46590.htmlnvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
apache:camel>= 4.19.0, < 4.21.0; >= 4.18.0, < 4.18.3nonvd/v1/products/apache/camel

Projects

RepositoryLink kindsIndexedUrl
apache/camelcommit, package, pull, releasesyes/v1/repositories/apache/camel

Index

  • Repositories: 1
  • Repositories high signal: 1
  • Checked, none or zero: packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-07-15
  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 135968
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports