{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-40048","published":"2026-04-27T09:16:01.287000Z","last_modified":"2026-10-26T22:10:00.163000Z","status":"Modified","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":true,"cwes":["CWE-502"],"cpes":[{"criteria":"cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"camel","version_start_including":"4.18.0","version_end_excluding":"4.18.2"},{"criteria":"cpe:2.3:a:apache:camel:4.19.0:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"camel","version":"4.19.0"}],"cpes_truncated":false,"vendors":["apache"],"products":["apache/camel"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-v3vg-332r-mw99","ecosystem":"Maven","name":"org.apache.camel:camel-pqc","purl":"pkg:maven/org.apache.camel/camel-pqc","ranges":[{"introduced":"0","fixed":"4.18.2"}],"versions":["4.12.0","4.13.0","4.14.0","4.14.1","4.14.2","4.14.3","4.14.4","4.14.5","4.14.6","4.14.7","4.14.8","4.14.9","4.15.0","4.16.0","4.17.0","4.18.0","4.18.1"],"versions_truncated":false},{"advisory":"GHSA-v3vg-332r-mw99","ecosystem":"Maven","name":"org.apache.camel:camel-pqc","purl":"pkg:maven/org.apache.camel/camel-pqc","ranges":[{"introduced":"4.19.0","fixed":"4.20.0"}],"versions":["4.19.0"],"versions_truncated":false}],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2026-40048/","html_en":"/en/cve/CVE-2026-40048/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-40048","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-40048"},"untrusted":{"vendor_name":"Apache","product_name":"Camel","desc_en":"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.\n\nThis issue affects Apache Camel: from 4.19.0 before 4.20.0, from 4.18.0 before 4.18.2.\n\nUsers 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.","affected":[{"untrusted_vendor":"Apache Software Foundation","untrusted_product":"Apache Camel PQC","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat build of Apache Camel for Spring Boot 4","versions":[]}],"references":[{"url":"https://camel.apache.org/security/CVE-2026-40048.html","tags":["Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/04/26/6","tags":["Mailing List","Third Party Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-40048","tags":[]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2463176","tags":[]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40048.json","tags":[]}]}}