CVE-2026-18874: Improper Control of Generation of Code ('Code Injection') in Red Hat Red Hat Advanced Cluster Management for Kubernetes 2.11
Description
CVE-2026-18874 is a medium severity vulnerability in Red Hat Advanced Cluster Management for Kubernetes 2.11's volsync-addon-controller. It allows an attacker with high privileges to inject malicious YAML code into the OpenShift Lifecycle Manager (OLM) Subscription resource due to improper escaping of annotation values. This could lead to unauthorized modification or control over OLM Subscription configurations, impacting software management within the cluster. The vulnerability requires the 'volsync-addon-deploy-type: olm' annotation to be explicitly enabled, which is not the default setting since ACM 2.13, limiting the attack surface.
CVSS v3.1
Score 6.2medium
Affected software
Red Hat
Red Hat Advanced Cluster Management for Kubernetes 2.11
Red Hat
Red Hat Advanced Cluster Management for Kubernetes 2.13
Red Hat
Red Hat Advanced Cluster Management for Kubernetes 2.14
Red Hat
Red Hat Advanced Cluster Management for Kubernetes 2.15
Red Hat
Red Hat Advanced Cluster Management for Kubernetes 2.16
Red Hat
Red Hat Advanced Cluster Management for Kubernetes 2.17
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability exists in the volsync-addon-controller component of Red Hat Advanced Cluster Management for Kubernetes 2.11. Improper escaping of annotation values when rendered into YAML allows an attacker to inject malicious YAML code into the OLM Subscription resource. Exploitation requires the 'volsync-addon-deploy-type: olm' annotation to be explicitly set, which is not the default in versions since ACM 2.13. Successful exploitation could lead to unauthorized modification or control over OLM Subscription configurations, potentially affecting software management within the Kubernetes cluster. The flaw is classified under CWE-94 (Improper Control of Generation of Code, 'Code Injection').
Potential Impact
An attacker with high privileges who can modify ManagedClusterAddOn annotations can inject malicious YAML code into OLM Subscription resources, leading to unauthorized modification or control of subscription configurations. This can impact the integrity and availability of software management within the cluster. Confidentiality impact is low, but integrity and availability impacts are high. The attack complexity is high and requires no user interaction.
Mitigation Recommendations
To mitigate this vulnerability, ensure that the 'volsync-addon-deploy-type' annotation is not explicitly set to 'olm'. The default Helm deployment type for volsync-addon-controller in Red Hat Advanced Cluster Management for Kubernetes since ACM 2.13 does not use this annotation and is not affected by this flaw. Therefore, upgrading to ACM 2.13 or later or avoiding the explicit use of the 'volsync-addon-deploy-type: olm' annotation effectively mitigates this issue.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-08-04T17:21:18.911Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-18874","vendor":"Red Hat"}]
Threat ID: 6a85f0f8acd9273b496dcae6
Added to database: 08/19/2026, 18:07:52 UTC
Last enriched: 09/15/2026, 00:46:57 UTC
Last updated: 10/04/2026, 10:04:19 UTC
Views: 60
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.