Critical Malicious Code Vulnerability in test-workalendar-internal Package
Summary
MAL-2026-18092: Malicious code in test-workalendar-internal (PyPI). Affects test-workalendar-internal versions 0.0.1 – 0.0.3. 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
The test-workalendar-internal package, available on PyPI, is designed to provide internal functionalities related to work calendars. It is utilized by developers to manage and manipulate calendar data efficiently. However, this package has been compromised, exposing users to significant security risks due to malicious code embedded within it.
Vulnerability Detail
The vulnerability originates from a malicious actor who has modified the package to include a backdoor. During the installation process, the package overrides the install command in setup.py, executing harmful code that creates a web-sharable terminal session. This session is then exposed via a Cloudflare tunnel, allowing the attacker to gain unauthorized access to the user's system. The ramifications of this vulnerability are severe, as it can lead to data breaches and unauthorized control over the affected systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall test-workalendar-internal
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 can avoid using the test-workalendar-internal package until a secure version is released. Additionally, consider using alternative packages that provide similar functionalities without the associated risks.
Conclusion
The test-workalendar-internal package has been compromised with malicious code that poses significant security risks to users. It is essential to take immediate action by uninstalling the package and monitoring for updates. Utilizing tools like Vulert can help in identifying and managing vulnerabilities effectively.
See every vulnerability recorded for test-workalendar-internal →
FAQ
The vulnerability involves malicious code that creates a backdoor, allowing unauthorized access to the user's system.
You can use Vulert's playground at Vulert Scanner to check if your application is affected without requiring any signup.
Uninstall the test-workalendar-internal package immediately and monitor for any patched versions to update.
Yes, consider using other packages that offer similar functionalities without the security risks associated with test-workalendar-internal.
Vulert uses Pipfile.lock to monitor and alert in real-time for open-source vulnerabilities in your software, providing an easy way to stay informed.