Intel

AIKIDO-2026-64772

@circleci/mcp-server-circleci is vulnerable to Path Traversal

Path TraversalGHSA-4pxc-9x5p-39fc Published Aug 11, 2026

88

High Risk

This Affects:

JS@circleci/mcp-server-circleci
0.0.1 - 0.19.0
Fixed in 0.19.1
Are you affected? Scan for Free

TL;DR

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.

Who does this affect?

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.

Background info

@circleci/mcp-server-circleci is vulnerable to Path Traversal in versions 0.0.1 - 0.19.0.

How to fix this

Upgrade the @circleci/mcp-server-circleci library to the patch version.