CVE-2026-27172 json
Apache Camel: Unsafe Java deserialization in camel-consul ConsulRegistry allows arbitrary code execution via malicious values read from the Consul KV store
published 2026-04-27 6 mo ago modified 2026-10-26 13 d ago also EUVD-2026-25815 , GHSA-5rc6-9qfp-8vwg
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 69%
- public exploits
- 0
- none known
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.
Patch / fix
- maven org.apache.camel:camel-consul 4.14.6, 4.18.1
- Apache Software Foundation Apache Camel 4.14.6, 4.18.1
- github.com/apache/camel@4b540e6 commit
- github.com/apache/camel@4e3f709 commit
- github.com/apache/camel@55dd9f8 commit
- github.com/apache/camel#21530 pull request
- github.com/apache/camel#21531 pull request
- github.com/apache/camel#21532 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-27172 updated cvss 8.8
org.apache.camel/camel-consul: Apache Camel camel-consul: Arbitrary code execution via deserialization of untrusted data
-
Red Hat build of Apache Camel for Spring Boot 4 camel-consul Red Hat Fuse 7 camel-consul, camel-consul-starternot affected: vulnerable code not present
-
Red Hat JBoss Enterprise Application Platform 8 camel-consul Red Hat JBoss Enterprise Application Platform Expansion Pack camel-consulnot affected: component not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 6 mo ago
Exploit prediction
1.23% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.camel:camel-consul | >=3.0.0, <4.14.6 >=4.15.0, <4.18.1 |
4.14.6 4.18.1 |
Affected products
- Apache Software Foundation Apache Camel
- Red Hat Red Hat build of Apache Camel for Spring Boot 4
- Red Hat Red Hat Fuse 7
- Red Hat Red Hat JBoss Enterprise Application Platform 8
- Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack
Classification
- Weakness
-
- CWE-502 Deserialization of Untrusted Data
- Technology feeds
References
-
github.com
/apache/camel/pull/21530
web
-
github.com
/apache/camel/pull/21531
web
-
github.com
/apache/camel/pull/21532
web
-
github.com
/apache/camel/commit/4b540e6e20bad4a4af19688b85a247bdb96c2e2d
web
-
github.com
/apache/camel/commit/4e3f709b97aef3ed99e3a52a99c752b37b104063
web
-
github.com
/apache/camel/commit/55dd9f8ce5f6db06f3946c3f3df1e2ea16e4f374
web
-
camel.apache.org
/security/CVE-2026-27172.html
vendor-advisory, web
-
access.redhat.com
/security/cve/CVE-2026-27172
vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=2463183
issue-tracking
- security.access.redhat.com /data/csaf/v2/vex/2026/cve-2026-27172.json
-
nvd.nist.gov
/vuln/detail/CVE-2026-27172
advisory
-
github.com
/apache/camel
package
-
issues.apache.org
/jira/browse/CAMEL-23029
web
Sources
- CVE List CVE-2026-27172
- GitHub Advisory GHSA-5rc6-9qfp-8vwg
- NVD CVE-2026-27172
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.