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
The ConsulRegistry in the camel-consul component (class org.apache.camel.component.consul.ConsulRegistry and its inner ConsulRegistryUtils.deserialize method) read Java-serialized values from the Consul KV store and passed them to ObjectInputStream.readObject() without configuring an ObjectInputFilter. An attacker who can write to the Consul KV store backing a Camel ConsulRegistry instance could inject a malicious serialized Java object that is deserialized the next time Camel performs a lookup against that registry, leading to arbitrary code execution in the Camel process. The issue mirrors the class of vulnerability already addressed for other Camel components in CVE-2024-22369, CVE-2024-23114 and CVE-2026-25747, and was overlooked during the original remediation of those CVEs. This issue affects Apache Camel: from 3.0.0 before 4.14.6, from 4.15.0 before 4.18.1. Users are recommended to upgrade to version 4.19.0, which fixes the issue. If users are on the 4.14.x LTS releases stream, then they are suggested to upgrade to 4.14.6. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.1.
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 | 3.0.0 to before 4.14.6; 4.15.0 to before 4.18.1 | 4.14.6, 4.18.1 | Patch available | CNA |
| — | org.apache.camel:camel-consul (Maven) | 3.0.0 to before 4.14.6 | 4.14.6 | Patch available | GHSA-5rc6-9qfp-8vwg |
| — | org.apache.camel:camel-consul (Maven) | 4.15.0 to before 4.18.1 | 4.18.1 | Patch available | GHSA-5rc6-9qfp-8vwg |
- Apache Camel VendorApache Affected 3.0.0 to before 4.14.6; 4.15.0 to before 4.18.1 Fixed in 4.14.6, 4.18.1 Patch available CNA
- org.apache.camel:camel-consul (Maven) Vendor— Affected 3.0.0 to before 4.14.6 Fixed in 4.14.6 Patch available GHSA-5rc6-9qfp-8vwg
- org.apache.camel:camel-consul (Maven) Vendor— Affected 4.15.0 to before 4.18.1 Fixed in 4.18.1 Patch available GHSA-5rc6-9qfp-8vwg
Remediation
- Fix · CNA Apache Camel (Apache Software Foundation) Fixed in 4.14.6, 4.18.1
- Fix · GHSA-5rc6-9qfp-8vwg org.apache.camel:camel-consul (Maven) Fixed in 4.14.6 Advisory →
- Fix · GHSA-5rc6-9qfp-8vwg org.apache.camel:camel-consul (Maven) Fixed in 4.18.1 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Apache Camel 4.14.6, 4.18.1
2 records Highest priority Priority MEDIUM 2 MEDIUM
Other records, highest priority first
- TI-2026-25850 Deserialization of untrusted data in Apache CamelPriority MEDIUM 49
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 4 products
- Red Hat Fuse 7
- Red Hat JBoss Enterprise Application Platform 8
- Red Hat JBoss Enterprise Application Platform Expansion Pack
- Red Hat build of Apache Camel for Spring Boot 4
Timeline
- 2026-10-02 Threatist record created from CVE-2026-27172
- 2026-10-03 Alias added: GHSA-5rc6-9qfp-8vwg
References
Advisory 2
Other 8
- https://github.com/apache/camel/pull/21530
- https://github.com/apache/camel/pull/21531
- https://github.com/apache/camel/pull/21532
- https://github.com/apache/camel/commit/4b540e6e20bad4a4af19688b85a247bdb96c2e2d
- https://github.com/apache/camel/commit/4e3f709b97aef3ed99e3a52a99c752b37b104063
- https://github.com/apache/camel/commit/55dd9f8ce5f6db06f3946c3f3df1e2ea16e4f374
- https://github.com/apache/camel
- https://issues.apache.org/jira/browse/CAMEL-23029
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-27172 · CVE Program
- CVE-2026-27172 · NVD
- FIRST EPSS
- GHSA-5rc6-9qfp-8vwg · GitHub Advisory Database · CC BY 4.0
- CVE-2026-27172 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences