MEDIUM 5.3

CVE-2026-15035: bentoml OpenLLM 0.6.30 Command Injection Vulnerability

A command injection vulnerability exists in bentoml OpenLLM 0.6.30 where attackers with local access can manipulate the `cmd` argument passed to the `async_run_command` function, allowing them to execute arbitrary system commands. The vulnerability requires local system access and valid credentials, limiting its immediate threat scope but posing risk to multi-tenant or shared development environments. Public exploit information is available.

Source data · NVD / CISA · public domain

CVSS
3.1 · 5.3 MEDIUM · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Weaknesses (CWE)
CWE-74, CWE-77, CWE-78
Affected products
1 configuration(s)
Published / Modified
2026-07-08 / 2026-07-09

NVD description (verbatim)

A vulnerability was found in bentoml OpenLLM 0.6.30. This affects the function async_run_command of the file src/openllm/common.py of the component Model Repository Directory Name Handler. Performing a manipulation of the argument cmd results in command injection. Attacking locally is a requirement. The exploit has been made public and could be used. The project was informed of the problem early through an issue report but has not responded yet.

7 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

The vulnerability resides in the Model Repository Directory Name Handler component within `src/openllm/common.py`. The `async_run_command` function fails to properly sanitize or validate the `cmd` parameter before passing it to system execution. This classic command injection pattern (CWE-74, CWE-77, CWE-78) allows an authenticated local user to break out of intended command boundaries and execute arbitrary shell commands with the privileges of the OpenLLM process. The attack requires no user interaction and operates with the same privilege level as the application instance.

Business impact

Organizations using OpenLLM 0.6.30 in shared compute environments—particularly ML platforms, data science workbenches, or containerized deployments—face elevated insider risk. A compromised or malicious user account could escalate privileges, access sensitive model weights or training data, pivot to adjacent systems, or disrupt service availability. Development teams relying on this component should treat this as a containment issue until patched. The lack of vendor response as of the disclosure date suggests remediation timelines remain unclear.

Affected systems

bentoml OpenLLM version 0.6.30 is confirmed affected. Operators should verify whether they are running this specific version or adjacent versions that may incorporate the same vulnerable code pattern. Check deployment manifests, container images, and dependency pinning. Users on newer versions or forks should consult the project's issue tracker or advisory channels for confirmation of remediation status.

Exploitability

Exploitability is limited by the requirement for local system access and valid user credentials. An attacker cannot exploit this remotely without first obtaining local shell access or a valid account. However, the straightforward nature of command injection and public availability of exploit information means that any insider threat actor or compromised account presents immediate risk. Development and staging environments, which often have looser access controls, are particularly vulnerable.

Remediation

Upgrade bentoml OpenLLM to a patched version once available. Until then, implement the following mitigations: (1) Restrict local system access and shell account provisioning to trusted personnel only; (2) Run OpenLLM processes with minimal required privileges and within restrictive container security contexts; (3) Monitor and log all command execution within OpenLLM processes; (4) Isolate affected systems from critical infrastructure; (5) Review and revoke unnecessary user accounts. Contact the bentoml project directly via their issue tracker or security contact for patch timelines.

Patch guidance

Verify the latest version of bentoml OpenLLM against the official project repository and release notes. As of the vulnerability publication date, the project had not released a fix; confirm patch availability before upgrading. When a patched version is released, test thoroughly in non-production environments first, as command handling changes may affect dependent workflows. Document your testing results and update change logs accordingly.

Detection guidance

Monitor system logs and OpenLLM application logs for suspicious command execution patterns, especially those involving shell metacharacters (backticks, pipes, semicolons, $() syntax) passed as arguments to internal functions. Implement file integrity monitoring on `src/openllm/common.py` to detect unauthorized modifications. In containerized environments, use runtime security tools to detect process execution that deviates from baseline behavior. Audit local user account activity, particularly privilege escalation attempts and credential usage patterns on systems running OpenLLM.

Why prioritize this

Although the CVSS score of 5.3 is medium, the combination of public exploit availability, ease of exploitation for local attackers, and unclear patch timeline warrants prompt action. Prioritize systems in shared environments, development clusters, and any deployment where user isolation is weak. However, this does not require emergency patching in isolated, single-user, or air-gapped deployments where local access is already tightly controlled.

Risk score, explained

The CVSS:3.1 score of 5.3 (MEDIUM) reflects local attack vector, low attack complexity, low privilege requirement, and moderate impact (confidentiality, integrity, and availability). The score does not account for the public exploit availability or the vendor's lack of response at disclosure; security teams should factor these into their own risk assessments. Organizations with strict local access controls may rate this lower; those with shared environments should rate it higher.

Frequently asked questions

Can this vulnerability be exploited remotely?

No. The vulnerability requires local system access and valid user credentials. Remote exploitation is not possible without first compromising or obtaining a local user account on the affected system.

What versions of bentoml OpenLLM are affected?

bentoml OpenLLM 0.6.30 is confirmed affected. To determine if adjacent versions are vulnerable, inspect the source code at `src/openllm/common.py` in the `async_run_command` function or consult the project's security advisories once issued.

Is there a patched version available?

As of the vulnerability publication date (2026-07-08), the bentoml project had not released a patch. Check the official project repository, release notes, and security advisory channels for patch availability and timelines.

How can we reduce risk while waiting for a patch?

Implement strict local access controls, run OpenLLM with minimal privileges, isolate affected systems, monitor command execution in logs, and audit user accounts. Prioritize systems in multi-tenant or shared environments.

This analysis is provided for informational purposes and reflects the vulnerability state as of the publication date. Exploit availability and vendor response status may change; refer to official bentoml project advisories for the most current remediation guidance. Organizations should independently verify affected versions, test patches in non-production environments, and adapt mitigations to their specific infrastructure and risk profile. SEC.co does not provide legal, compliance, or liability advice. Source: NVD (public-domain), retrieved 2026-08-17. Analysis generated by SEC.co (claude-haiku-4-5).