Description
Improper Control of Generation of Code ('Code Injection') vulnerability in Apache Camel K.



A YAML injection vulnerability in custom resource configuration allows an authorized CR author to inject arbitrary Kubernetes objects, potentially enabling unauthorized resource creation with the privileges of the operator.



This issue affects Apache Camel K: from 2.0.0 before 2.9.3, from 2.10.1 before 2.10.2.



Users are recommended to upgrade to version 2.9.3, 2.10.2 or 2.11.0, which fixes the issue.
Published: 2026-09-10
Score: n/a
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

The vulnerability is an improper control of code generation that allows a YAML injection in custom resource configuration. An authorized creator of a custom resource can inject arbitrary Kubernetes objects, which are then created with the privileges of the operator. This effectively permits the attacker to introduce malicious workloads or alter cluster configuration, compromising confidentiality, integrity and availability of the cluster.

Affected Systems

Apache Camel K from version 2.0.0 up to but not including 2.9.3, from 2.10.1 up to but not including 2.10.2, and any earlier releases are vulnerable. The vulnerability is tied to the Master trait serviceAccountName handling in Camel K custom resources.

Risk and Exploitability

The lack of formal control over injected YAML allows an attacker who can write a custom resource to execute arbitrary resource creation. The exploit requires only the ability to submit a custom resource, a permission that existing CR authors typically possess. Since Enterprise Score (EPSS) information is not available and the vulnerability is not listed in the CISA KEV catalog, precise exploitation likelihood cannot be quantified, but the impact is high and the attack vector is feasible from within the cluster. The CVSS score is not provided, yet the attack would let an attacker achieve full operator privileges within the used Kubernetes namespace.

Generated by OpenCVE AI on September 10, 2026 at 08:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Apache Camel K to version 2.9.3, 2.10.2, or 2.11.0 to apply the fix that prevents YAML injection in the Master trait.
  • Configure RBAC for custom resource authors to restrict them to only the resources they are authorized to create, thereby limiting the potential damage of an injection.
  • Implement an admission controller or policy that scans custom resource definitions for unexpected Kubernetes objects before they are applied, providing a safety check against accidental or malicious injections.

Generated by OpenCVE AI on September 10, 2026 at 08:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 10 Sep 2026 07:45:00 +0000

Type Values Removed Values Added
Description Improper Control of Generation of Code ('Code Injection') vulnerability in Apache Camel K. A YAML injection vulnerability in custom resource configuration allows an authorized CR author to inject arbitrary Kubernetes objects, potentially enabling unauthorized resource creation with the privileges of the operator. This issue affects Apache Camel K: from 2.0.0 before 2.9.3, from 2.10.1 before 2.10.2. Users are recommended to upgrade to version 2.9.3, 2.10.2 or 2.11.0, which fixes the issue.
Title Apache Camel K: Camel K Master trait serviceAccountName YAML injection lets CR author apply arbitrary objects
Weaknesses CWE-94
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-09-10T07:41:33.842Z

Reserved: 2026-08-26T09:59:41.287Z

Link: CVE-2026-80352

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-10T08:16:59.070

Modified: 2026-09-10T08:16:59.070

Link: CVE-2026-80352

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-10T08:30:06Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')