UTC
High

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
What it is

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.

What to do

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.

Affected
PackageRegistryAffectedFixed in
bentomlPyPI<= 1.4.381.4.39

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.

Sources: GitHub Advisory Database, reviewed and malware advisories (CC BY 4.0, https://github.com/advisories); advisories published by Cursor (https://github.com/cursor/cursor/security/advisories); advisories published by OpenClaw (https://github.com/openclaw/openclaw/security/advisories); advisories published by vLLM (https://github.com/vllm-project/vllm/security/advisories); advisories published by Open WebUI (https://github.com/open-webui/open-webui/security/advisories); advisories published by n8n (https://github.com/n8n-io/n8n/security/advisories); advisories published by Flowise (https://github.com/FlowiseAI/Flowise/security/advisories); advisories published by Langflow (https://github.com/langflow-ai/langflow/security/advisories); advisories published by the MCP Python SDK project (https://github.com/modelcontextprotocol/python-sdk/security/advisories); advisories published by MLflow (https://github.com/mlflow/mlflow/security/advisories); CISA Known Exploited Vulnerabilities catalog (CC0). Data as of 2026-11-22. ShieldMap describes how each problem works and how to fix it; it does not publish exploit code. Report a correction to [email protected].