CVE-2026-27172: Apache Camel - Insecure Deserialization
- Cve: CVE-2026-27172
- Name: Apache Camel - Insecure Deserialization
- Description: 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.
- Impact: Attackers with write access to Consul KV store can execute arbitrary code in the Camel process, leading to full system compromise.
- Remediation: Upgrade to versions 4.14.6, 4.18.1, or 4.19.0 or later.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: remote_code_execution
- Requirements: Attacker needs write access to Consul KV store
- 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.01244
- Epss percentile: 0.69868
- Assignee: [email protected]
- Published at: 2026-04-27T11:16:01Z
- Age in days: 211
- Modified at: 2026-10-26T22:10:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-27172
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-502 | Deserialization of Untrusted Data |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/oscerd/CVE-2026-27172 | poc-in-github | 2026-07-06 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apache:camel | >= 4.15.0, < 4.18.1; >= 3.0.0, < 4.14.6 | no | nvd | /v1/products/apache/camel |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| apache/camel | commit, package, pull | yes | /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-06
- 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