LiveActive security incident?Get immediate response
CVE Record

CVE-2026-27172: Apache Camel: Unsafe Java deserialization in camel-consul ConsulRegistry allows arbitrary code execution via malicious values read from the Consul KV store

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.

HighCVSS 8.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

Apache Camel applications using the camel-consul registry can be compromised if an attacker can write malicious data into the backing Consul KV store. Camel may deserialize that data during a registry lookup, allowing code execution inside the Camel process. The business risk is high where Consul write access is broad or shared across teams.

Executive priority

Treat this as a high-priority remediation for Camel services using Consul-backed registries. The issue can lead to full process compromise, but exploitation depends on Consul KV write access. Patch exposed services and tighten KV permissions promptly.

Technical view

ConsulRegistry in org.apache.camel:camel-consul deserializes Java-serialized KV values with ObjectInputStream.readObject() without an ObjectInputFilter. This is CWE-502 unsafe deserialization. Affected versions are Apache Camel 3.0.0 before 4.14.6 and 4.15.0 before 4.18.1. Apache recommends upgrading to 4.19.0, or 4.14.6/4.18.1 for those streams.

Likely exposure

Exposure is likely limited to Apache Camel deployments that use camel-consul ConsulRegistry backed by Consul KV. Risk rises when non-administrative users, services, CI jobs, or tenants can write to that KV path. Deployments not using camel-consul or ConsulRegistry are not indicated as affected by the provided sources.

Exploitation context

The attacker needs permission to write to the Consul KV store backing the Camel registry. The malicious object is processed when Camel performs a lookup against that registry. The bundle states KEV is false and provides no source evidence of active exploitation.

Researcher notes

This mirrors prior Camel deserialization fixes and was missed for camel-consul. The vulnerable flow is ConsulRegistryUtils.deserialize reading Java-serialized KV data without an ObjectInputFilter. Evidence does not establish public exploitation, exploit maturity, or affected downstream product status beyond the listed references.

Mitigation direction

  • Upgrade Apache Camel to 4.19.0 where possible.
  • On 4.14.x LTS, upgrade to 4.14.6.
  • On the 4.18.x stream, upgrade to 4.18.1.
  • Restrict Consul KV write access to trusted service identities.
  • Review vendor and distribution advisories for downstream package status.

Validation and detection

  • Inventory applications using org.apache.camel:camel-consul.
  • Check deployed Camel versions against the affected ranges.
  • Confirm whether ConsulRegistry is configured in each application.
  • Review Consul ACLs for write access to registry KV paths.
  • Prioritize systems where untrusted or shared identities can write KV data.
Prepared
Confidence
high
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-502: Code execution behavior lookup

Code execution and unsafe deserialization weaknesses often justify reviewing execution behavior and process telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-27172 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

2CVSS vectors
5Timeline events
2ADP providers
5Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total

CVSS vector scores

2 official scores

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.8CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H2.85.9CISA-ADP
8.8CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H2.85.9redhat-SADP

Vulnerability scoring details

Base CVSS 3.1 score

8.8High
CVSS 3.1 vector shape for CVE-2026-27172Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. ADP timelineredhat-SADP

    Made public.

  3. CVE publishedCVE Program

    The CVE record was published.

  4. ADP timelineredhat-SADP

    Reported to Red Hat.

  5. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
cvssV3_1other:ssvc
redhat-SADPorg.apache.camel/camel-consul: Apache Camel camel-consul: Arbitrary code execution via deserialization of untrusted data
other:Red Hat severity ratingcvssV3_1
  • 2026-04-27T11:01:05.510Z: Reported to Red Hat.
  • 2026-04-27T09:59:45.503Z: Made public.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Apache Software FoundationApache Camelorg.apache.camel:camel-consul, 3.0.0, 4.15.0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-502 · source CWE mapping

Deserialization of Untrusted Data

Deserialization of Untrusted Data represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.