<?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/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>BentoML (&lt;= 1.4.39) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/bentoml--1.4.39/</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>Mon, 19 Oct 2026 16:08:30 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/bentoml--1.4.39/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>CVE-2026-112264 - Dockerfile Instruction Injection in BentoML</title><link>https://feed.craftedsignal.io/briefs/2026-10-bentoml-dockerfile-injection/</link><pubDate>Mon, 19 Oct 2026 16:08:30 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-10-bentoml-dockerfile-injection/</guid><description>BentoML versions through 1.4.39 are vulnerable to Dockerfile instruction injection, allowing attackers to execute arbitrary commands during the containerization process by exploiting improper newline handling in template files.</description><content:encoded><![CDATA[<p>BentoML versions up to and including 1.4.39 contain a critical Dockerfile instruction injection vulnerability tracked as CVE-2026-112264. The vulnerability exists within the legacy 'base.j2' template used during the containerization process. Specifically, the system fails to properly sanitize newline characters when processing 'docker.env' mapping keys.</p>
<p>An attacker can supply a specially crafted 'bentofile.yaml' or an imported bento archive that includes newline characters within these keys. When the 'bentoml containerize' command is executed, the template engine renders a malicious Dockerfile that incorporates unintended build instructions. This flaw allows an attacker to execute arbitrary commands during the 'docker build' phase. This is a significant risk for CI/CD pipelines, as successful exploitation can lead to the exfiltration of build-time secrets, unauthorized modification of container images (image poisoning), and potential compromise of the build environment or the resulting containerized service.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker crafts a malicious 'bentofile.yaml' containing a 'docker.env' mapping key that includes newline characters and injected Docker instructions (e.g., a RUN command).</li>
<li>Attacker provides the malicious file to a developer or uploads it to a source repository, or distributes a crafted bento archive.</li>
<li>A user or automated CI/CD pipeline triggers the 'bentoml containerize' command using the malicious configuration.</li>
<li>The BentoML template engine processes the 'base.j2' file and fails to sanitize the injected newline characters in the environment mapping keys.</li>
<li>The rendering process writes the injected instructions into the generated Dockerfile as valid Docker build commands.</li>
<li>The system executes 'docker build' using the compromised Dockerfile.</li>
<li>The Docker engine executes the injected RUN instruction with the privileges of the build process.</li>
<li>Final objective achieved: Exfiltration of build environment secrets, image poisoning, or code execution within the CI/CD pipeline.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows for the execution of arbitrary commands during container image creation. In enterprise environments, this impacts the integrity of the software supply chain. Attackers may gain access to build-time environment variables, credentials, or API keys defined in the CI/CD pipeline. Additionally, attackers can poison the final container image, leading to downstream execution of malicious code in production environments that deploy the compromised BentoML container.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade BentoML to a version beyond 1.4.39 to ensure the fix for CVE-2026-112264 is applied.</li>
<li>Audit CI/CD pipeline configurations that use 'bentoml containerize' for any untrusted input in 'bentofile.yaml' files.</li>
<li>Implement strict code review processes for any changes to 'bentofile.yaml' or related bento archive imports.</li>
<li>Restrict access to build secrets; use short-lived credentials for CI/CD tasks to limit the impact of potential secret exfiltration via build-time injection.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>supply-chain</category><category>container-security</category><category>injection</category><category>cve</category></item></channel></rss>