pypi package report

Is ultralytics safe?

Versions 8.3.41, 8.3.42, 8.3.45 and 8.3.46 of ultralytics were compromised (GitHub Actions workflow injection); other versions are not flagged as malicious. CyberXYZ Proxy blocks the affected versions. It has no CVE advisories; the risk is the package's own code.

Do not install ultralytics 8.3.41, 8.3.42, 8.3.45 or 8.3.46

CRITICALanalyst verified

GitHub Actions workflow injection. Added to CyberXYZ 2026-05-11, verified by a CyberXYZ analyst.

// what we observed

ultralytics PyPI compromise, December 2024. An attacker used a template injection in a GitHub Actions workflow that ran on pull requests from forks to poison the project's build cache, so the project's own release workflow published 8.3.41 and 8.3.42 with an XMRig cryptocurrency miner. 8.3.45 and 8.3.46 were then uploaded with a leaked PyPI API token and carried the same miner. 8.3.43 and 8.3.44 are clean releases. PyPI has removed all four malicious versions.

publicly reported
2024-12-05, ultralytics/ultralytics issue #18027
first malicious release
8.3.41, uploaded to PyPI 2024-12-04 20:51 UTC
// versions and what to do
Malicious
8.3.41, 8.3.42, 8.3.45, 8.3.46
Move to
8.4.216 newest 8.x release, no known advisory

If one of these versions was installed, remove it and treat the credentials, tokens and SSH keys on that machine as exposed: rotate them. Check CI runners and container images that installed it too.

pip install "ultralytics==8.4.216"

issuereferencereferencereference

// reach

66 direct dependencies

19 carry known advisories, worst CRITICAL

21 packages depend on it

an advisory here reaches each of them

Create a free accountfor every dependency path, dependent and what to upgrade
// ai models

8 published models

1 declared · 8 observed · 0 inferred

ModelEvidence
Anzhc/Anzhcs_YOLOsobserved
Anzhc/Race-Classification-FairFace-YOLOv8observed
Create a free accountto see all 6 models and per-model risk

8 published AI models are associated with this package: 1 name it in a requirements or pyproject file, 8 load it or import it directly, and 0 are inferred from the runtime stack their declared library pulls in. Only 1 state a version requirement, so this is not a count of affected models.


// questions
Is ultralytics safe to install?

Versions 8.3.41, 8.3.42, 8.3.45 and 8.3.46 of ultralytics were compromised (GitHub Actions workflow injection). Other versions are not flagged as malicious.

Does ultralytics have known vulnerabilities?

No CVE advisories are recorded for ultralytics (pypi), but it has a malicious-package record: the risk is the package's own code, not a CVE.

Which version of ultralytics should I use?

Use 8.4.216 or a later release that is not named as malicious. Versions named on this report as malicious must not be installed.

How do I check ultralytics before installing?

Search ultralytics in CyberXYZ Check at https://cyberxyz.io/check?q=ultralytics. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.


Checked 2026-11-21 at 22:57 UTC. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.