Malicious code in matplotlib-sqlalchemy (PyPI)

matplotlib-sqlalchemy Updated 02 Oct 2025

Summary

20/05/2023
CRITICAL
No i
Critical
Not published

MAL-2023-1379: Malicious code in matplotlib-sqlalchemy (PyPI). Affects matplotlib-sqlalchemy versions 16.18.4. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The matplotlib-sqlalchemy package is a Python package available on PyPI. It provides a SQLAlchemy backend for Matplotlib, a popular data visualization library. This package allows users to use SQLAlchemy to connect to various databases and retrieve data for visualization with Matplotlib. However, a specific version of this package, 16.18.4, has been identified as malicious.

Vulnerability Detail

The identified version of matplotlib-sqlalchemy, 16.18.4, has been flagged as malicious due to its communication with a domain associated with malicious activity. This indicates that the package may perform unauthorized actions or collect sensitive information from the user's system. The exact nature and impact of the malicious code are not specified in the vulnerability report.

How To Fix

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

pip uninstall matplotlib-sqlalchemy

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 →

Conclusion

The matplotlib-sqlalchemy package version 16.18.4 has been identified as malicious due to its communication with a domain associated with malicious activity. It is crucial to uninstall this version and upgrade to a non-malicious version to ensure the security and integrity of your system. For further support and assistance, please contact DevNack.com.

See every vulnerability recorded for matplotlib-sqlalchemy →

Share this vulnerability

FAQ

Matplotlib-sqlalchemy is a Python package that provides a SQLAlchemy backend for Matplotlib, allowing users to connect to databases and retrieve data for visualization.

You can check the installed version of matplotlib-sqlalchemy by running the following command: pip show matplotlib-sqlalchemy.

The malicious code in matplotlib-sqlalchemy may perform unauthorized actions on the user's system or collect sensitive information without consent.

No, only version 16.18.4 of matplotlib-sqlalchemy has been identified as malicious. It is recommended to upgrade to a newer, non-malicious version.

If you have any further questions or need assistance regarding this vulnerability, you can contact info@devnack.com for support.

How To Fix

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

pip uninstall matplotlib-sqlalchemy

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