@circleci/mcp-server-circleci is vulnerable to Path Traversal
88
High Risk
The get_build_failure_logs, download_usage_api_data, and find_underused_resource_classes tools pass caller-supplied outputDir and csvFilePath values into filesystem operations without validation, and interpolate jobId, startDate, and endDate into output filenames without sanitization. A caller who controls tool input can escape the intended directory and create directories, write files, or read files anywhere the server process can access, including overwriting configuration or startup files. Because output filenames derive from caller input and the temp directory is world-writable, a pre-planted symlink can also redirect a write to an arbitrary target. The fix confines reads and writes to permitted roots, unconditionally rejects system and hidden directories, reduces filename segments to safe values, and opens writes with O_NOFOLLOW.
You are affected if you are using a version that falls within the vulnerable range and a caller can influence the filesystem-path inputs to the affected tools.
@circleci/mcp-server-circleci is vulnerable to Path Traversal in versions 0.0.1 - 0.19.0.
Upgrade the @circleci/mcp-server-circleci library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant