BentoML Dockerfile command injection via docker.base_image (sister of pending GHSA-w2pm-x38x-jp44 / CVE-2026-33744 / CVE-2026-35043)
CVE-2026-44345 · GHSA-78f9-r8mh-4xm2 · published 2026-05-11 · updated 2026-06-08
- Severity
- High
- CVSS score
- 8.8
- Chance of exploitation (EPSS)
- 0.32%
- Fixed in
- 1.4.39
- Exploitation Public proof of concept
- Automatable No
- Technical impact Total
- CISA SSVC
Identical to GHSA-w2pm-x38x-jp44: arbitrary command execution on the victim's host during bentoml containerize of an attacker-supplied bento. Threat model is bento sharing (registry, marketplace, supply-chain handoff). The victim expects docker.base_image to be a Docker image reference, not a Dockerfile fragment.
Upgrade bentoml to 1.4.39 or later.
Validate DockerOptions.baseimage at the config layer: reject any value containing newline characters (\n, \r) or whitespace beyond a single space-separated tag. A regex like covers the practical Docker reference format. The same hardening should be extended to other unvalidated fields interpolated raw in basev2.j2: optionsbuildinclude[] at line 97 ( ) — same newline-injection class for path entries from Image.buildinclude(filepaths). bentouser, bentouidgid, bentopath, bentohome, bentoentrypoint — currently sourced from server-side defaults but should be defended in depth if they ever become user-overridable through overridebento_env.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| bentoml | PyPI | <= 1.4.38 | 1.4.39 |
- CriticalUnauthenticated Remote Code Execution in Langflow via Public Flow Build EndpointlangflowExploited
- CriticalRay is vulnerable to Critical RCE via Safari & Firefox Browsers through DNS Rebinding AttackrayExploited
- CriticalLangflow Unauth RCElangflow, langflow-baseExploited
- HighLiteLLM: Authenticated command execution via MCP stdio test endpointslitellmExploited
- CriticalMLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifacmlflow
- CriticalAgno: Arbitrary code execution via `eval()` on `field_type` in `FunctionCall`agno
- CriticalBentoML SSRF Vulnerability in File Upload Processingbentoml
- CriticalBentoML's runner server Vulnerable to Remote Code Execution (RCE) via Insecure Deserializationbentoml
- CriticalBentoML Allows Remote Code Execution (RCE) via Insecure Deserializationbentoml
- CriticalBentoML deserialization vulnerabilitybentoml
- CriticalInsecure deserialization in BentoMLbentoml
- HighDockerfile command injection via envs[*].name in bentofile.yaml (sibling fix-bypass of CVE-2026-33744 and CVE-2026-35043)bentoml
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.