<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Kube-Logging - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/vendors/kube-logging/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Wed, 29 Jul 2026 17:02:01 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/vendors/kube-logging/feed.xml" rel="self" type="application/rss+xml"/><item><title>Logging Operator Configuration Injection Leading to RCE</title><link>https://feed.craftedsignal.io/briefs/2026-07-logging-operator-rce/</link><pubDate>Wed, 29 Jul 2026 17:02:01 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-logging-operator-rce/</guid><description>The Logging operator is vulnerable to remote code execution due to improper input sanitization in Fluentd configuration rendering, allowing authenticated users to inject arbitrary configuration blocks via CRDs.</description><content:encoded><![CDATA[<p>The Logging operator for Kubernetes, specifically versions prior to 0.0.0-20260608145523-cf437d7f1e05, contains a critical configuration injection vulnerability tracked as CVE-2026-54680. The operator is responsible for rendering Fluentd configuration files based on custom resource definitions (CRDs) such as 'Flow'. The 'FluentRender' logic fails to escape newline characters and special formatting characters when processing fields like 'record_transformer.records'.</p>
<p>An attacker who has sufficient Kubernetes RBAC permissions to create or update 'Flow' resources in a namespace can inject arbitrary Fluentd configuration directives. By breaking out of the intended configuration context, an attacker can define a custom '&lt;match **&gt;' block utilizing the Fluentd '@type exec' plugin. This plugin allows for the execution of arbitrary shell commands within the Fluentd aggregator container. Given that the aggregator often manages logs across multiple tenants, this vulnerability facilitates lateral movement, potential access to sensitive node metadata via the Instance Metadata Service (IMDS), and full compromise of the logging infrastructure.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker identifies a target cluster running a vulnerable version of the Logging operator.</li>
<li>The attacker gains or uses existing RBAC permissions to create a 'Flow' custom resource in a permitted namespace.</li>
<li>The attacker crafts a malicious 'record_transformer' entry containing newline characters designed to terminate the existing configuration block.</li>
<li>The attacker injects a new '&lt;match **&gt;' block containing the '@type exec' plugin definition and a payload command.</li>
<li>The Logging operator reconciles the 'Flow' resource and writes the malicious configuration to the generated Fluentd 'fluentd.conf' Secret.</li>
<li>The Fluentd aggregator pod refreshes its configuration and initializes the injected 'out_exec' plugin.</li>
<li>A log message is triggered or emitted by a pod, forcing the Fluentd buffer to flush.</li>
<li>The command specified in the 'command' parameter is executed with the privileges of the Fluentd aggregator process.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation results in arbitrary remote code execution within the Fluentd aggregator container. This allows the attacker to steal logs from all namespaces processed by the aggregator, exfiltrate sensitive data, or interact with cloud-native infrastructure services like IMDS (e.g., retrieving instance credentials). This vulnerability affects all environments where the Logging operator is deployed to manage multi-tenant log aggregation.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Immediately upgrade the Logging operator to a version equal to or later than 0.0.0-20260608145523-cf437d7f1e05 to remediate CVE-2026-54680.</li>
<li>Audit Kubernetes RBAC policies to ensure that only authorized service accounts or users have the ability to create or modify 'Flow' and 'Output' custom resources within namespaces.</li>
<li>Implement Admission Control (e.g., OPA Gatekeeper or Kyverno) to validate 'Flow' resource contents, specifically looking for disallowed characters like newlines or unauthorized Fluentd plugin types within the 'record_transformer' fields.</li>
<li>Review logs for the creation of 'Flow' or 'Output' resources by unexpected users or ServiceAccounts using Kubernetes audit logs.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>remote-code-execution</category><category>kubernetes</category><category>configuration-injection</category><category>cve-2026-54680</category></item></channel></rss>