Malicious Code Vulnerability in graphdict Package

graphdict Updated 02 Oct 2025

Summary

31/07/2025
CRITICAL
No i
Critical
Not published

MAL-2025-6515: Malicious code in graphdict (PyPI). Affects graphdict versions 3.4.0 – 3.4.8. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The graphdict package is a Python library available on PyPI, designed for creating and manipulating graph data structures. It offers functionalities such as graph traversal, node and edge management, and various algorithms for graph analysis. However, certain versions of this package have been identified to contain malicious code, posing significant security risks to users who integrate it into their applications.

Vulnerability Detail

The vulnerability in the graphdict package stems from the presence of malicious code that can execute harmful actions on the user's system. This code was introduced in several versions, including 3.4.0, 3.4.2, 3.4.6, 3.4.8, 3.4.10, 3.4.11, 3.4.12, 3.4.13, and 3.4.14. Users who have installed these versions may unknowingly expose their systems to data breaches, unauthorized access, or other malicious activities. The origin of this vulnerability is linked to a malicious package upload, which was detected by security researchers.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

pip uninstall graphdict

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

If immediate updating is not feasible, consider removing the graphdict package from your project until a secure version is confirmed. You can uninstall it using the command: pip uninstall graphdict.

Conclusion

The graphdict package has been found to contain malicious code in several of its versions, posing serious security risks. Users are advised to update to a secure version or uninstall the package until a fix is available. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for graphdict →

Share this vulnerability

FAQ

The affected versions include 3.4.0, 3.4.2, 3.4.6, 3.4.8, 3.4.10, 3.4.11, 3.4.12, 3.4.13, and 3.4.14.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

If you cannot update the package right away, consider uninstalling it to mitigate risks until a secure version is available.

The vulnerability was identified by ReversingLabs, a security research firm specializing in malware detection.

Using the affected versions may lead to data breaches, unauthorized access, or other malicious activities that can compromise your system's security.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

pip uninstall graphdict

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback