Critical Malicious Code Vulnerability in Synium Package Exposes Sensitive Data
Summary
MAL-2025-192438: Malicious code in synium (PyPI). Affects synium versions 1.0.0 – 1.0.2. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
Synium is a Python package available on the PyPI repository, designed for various functionalities in Python applications. It is widely used for its ease of integration and utility in handling specific tasks. However, recent findings have revealed that Synium contains a serious vulnerability that allows malicious actors to exfiltrate sensitive global variables during the import process, posing significant risks to users' data security.
Vulnerability Detail
The vulnerability originates from a malicious code embedded in the Synium package, specifically in versions 1.0.0, 1.0.1, and 1.0.2. Upon import, this code exfiltrates specific global variables to a remote target, functioning similarly to infostealers. This can lead to unauthorized access to sensitive credentials and other critical information, making it imperative for users to address this issue promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall synium
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
As a temporary workaround, users are advised to avoid importing the Synium package until it has been updated to a secure version. Additionally, consider using alternative packages that provide similar functionalities without the associated risks.
Conclusion
The Synium package has been found to contain a critical vulnerability that allows for the exfiltration of sensitive data. Users are strongly encouraged to update to a secure version of the package and to monitor their applications for potential vulnerabilities using tools like Vulert. Taking these steps will help safeguard against unauthorized access to sensitive information.
See every vulnerability recorded for synium →
FAQ
The vulnerability involves malicious code that exfiltrates sensitive global variables to a remote target during the import process.
Versions 1.0.0, 1.0.1, and 1.0.2 of the Synium package are known to contain the malicious code.
You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.
If an immediate update is not possible, refrain from using the Synium package and consider alternative solutions until a secure version is available.
The vulnerability was reported by Kamil Mańkowski (kam193), who identified the malicious behavior in the Synium package.