OS Command Injection Affecting open-webui package, versions <0.9.2-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.09% (26th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about OS Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CHAINGUARDLATEST-OPENWEBUI-16439037
  • published7 May 2026
  • disclosed7 May 2026

Introduced: 7 May 2026

NewCVE-2026-42215  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Chainguard open-webui to version 0.9.2-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream open-webui package and not the open-webui package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

GitPython is a python library used to interact with Git repositories. From version 3.1.30 to before version 3.1.47, GitPython blocks dangerous Git options such as --upload-pack and --receive-pack by default, but the equivalent Python kwargs upload_pack and receive_pack bypass that check. If an application passes attacker-controlled kwargs into Repo.clone_from(), Remote.fetch(), Remote.pull(), or Remote.push(), this leads to arbitrary command execution even when allow_unsafe_options is left at its default value of False. This issue has been patched in version 3.1.47.