# PYSEC-2024-154: A number of releases of ultralytics contained malicious crypto miner software.

- Severity: High 8.6 (CVSS:3.1, scored by PyPA Advisory Database) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-12-10T19:19:10.000Z
- Modified: 2026-06-28T22:30:11.689Z
- Related: GHSA-7x29-qqmq-v6qc

## Description

Ultralytics has identified a supply chain attack
affecting affecting multiple versions of the ultralytics package.
The compromised versions contained unauthorized code that
downloaded and executed cryptocurrency mining software
when instantiating YOLO models.
This code was injected into the PyPI release artifacts and was not present
in the public GitHub repository.

(As written by PyPA Advisory Database.)

## Affected

- ultralytics (PyPI): from 8.3.41 before 8.3.47

## Every score

- PyPA Advisory Database: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`

## References

- <https://inspector.pypi.io/project/ultralytics/8.3.41/packages/d0/99/13d92174aa6a470d348a95e31164769f2cdf77838ea3c3e3fd476285777d/ultralytics-8.3.41-py3-none-any.whl/ultralytics/utils/downloads.py#line.284> (exploit, evidence)
- <https://github.com/ultralytics/ultralytics/pull/18020#issuecomment-2525180194> (web)
- <https://github.com/ultralytics/ultralytics/issues/18027> (report)
- <https://github.com/ultralytics/ultralytics/pull/18052> (fix)
- <https://github.com/ultralytics/ultralytics/pull/18111> (fix)
- <https://github.com/ultralytics/ultralytics/releases/tag/v8.3.48> (fix)
- <https://blog.yossarian.net/2024/12/06/zizmor-ultralytics-injection> (article)

## Sources

- PyPA Advisory Database: [PYSEC-2024-154](https://osv.dev/vulnerability/PYSEC-2024-154), CC-BY-4.0, modified 2026-06-28

---

Page: https://cve.day/PYSEC-2024-154 · Whole record: https://cve.day/PYSEC-2024-154.json · Rebuilt by cve.day 2026-11-25T22:56:37.912Z
