Critical Malicious Code Vulnerability in cdo-apollo-server Package
Summary
MAL-2025-16695: Malicious code in cdo-apollo-server (npm). Affected versions are not published. 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 cdo-apollo-server package is an npm module designed to facilitate the implementation of Apollo Server, which is a community-driven, open-source GraphQL server that works with any GraphQL schema. This package is utilized by developers to create robust APIs with GraphQL, providing features such as real-time data updates and easy integration with various data sources. However, it has been identified to contain malicious code, posing a significant risk to applications that depend on it.
Vulnerability Detail
The vulnerability in the cdo-apollo-server package arises from the inclusion of malicious code that can compromise the security of applications using this package. This code may allow unauthorized access to sensitive data, execute arbitrary commands, or lead to further exploitation of the system. The malicious code was introduced in version 0 and has the potential to affect all subsequent versions unless addressed. The ramifications of this vulnerability can be severe, including data breaches and loss of user trust.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall cdo-apollo-server
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, you can avoid using the cdo-apollo-server package and instead implement a different GraphQL server solution that does not have known vulnerabilities. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities in real-time.
Conclusion
The cdo-apollo-server package has been identified to contain malicious code, posing a significant risk to applications that utilize it. It is crucial to remove this package and monitor your projects for vulnerabilities using tools like Vulert. Staying informed and proactive about security measures will help protect your applications from potential threats.
See every vulnerability recorded for cdo-apollo-server →
FAQ
cdo-apollo-server is an npm package used to implement Apollo Server for GraphQL APIs.
The malicious code can potentially allow unauthorized access to sensitive data and execute arbitrary commands.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.
You should remove the cdo-apollo-server package from your project and replace it with a secure alternative.
Vulert uses just the package-lock.json file to monitor and alert in real-time for open-source vulnerabilities in your software.