Intel

AIKIDO-2026-10956

@turbo/darwin-64 is vulnerable to Race Condition (TOCTOU)

Race Condition (TOCTOU) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published May 27, 2026

63

Medium Risk

This Affects:

JS@turbo/darwin-64
2.8.18 - 2.9.14
Fixed in 2.9.15
Are you affected? Scan for Free

TL;DR

Turborepo cache archive and restore logic follows symlinks and is vulnerable to time-of-check/time-of-use races when restoring cached task outputs or writing structured logs. A local attacker who can plant or swap symlinks in the workspace during a run can redirect file reads and writes outside the intended output directory. Experimental OpenTelemetry export also accepted HTTPS endpoints targeting private networks and cloud metadata hosts. The fix uses no-follow opens, race-safe path validation, directory modes only at creation time, and rejects unsafe OTEL endpoint hosts.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@turbo/darwin-64 is vulnerable to Race Condition (TOCTOU) in versions 2.8.18 - 2.9.14.

How to fix this

Upgrade the @turbo/darwin library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform