Arbitrary Command Injection Affecting mageai package, versions <0.9.80-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.25% (69th 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 IDSNYK-MINIMOSLATEST-MAGEAI-20843042
  • published13 Oct 2026
  • disclosed1 Aug 2026

Introduced: 1 Aug 2026

CVE-2026-67323  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade Minimos:latest mageai to version 0.9.80-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mageai package and not the mageai package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

GitPython before 3.1.51 fails to guard against dangerous Git options passed as keyword arguments in Repo.archive() and git.ls_remote(), allowing command injection via options such as --exec/--upload-pack (leading to arbitrary command execution). Additionally, Repo.iter_commits() and Repo.blame() do not check for leading-dash revision arguments, so a revision like --output=<path> can cause Git to open and truncate an arbitrary file. Exploitation requires an application that passes attacker-controlled arguments to these methods.

CVSS Base Scores

version 3.1