Intel

AIKIDO-2026-38394

yoke is vulnerable to Race Condition

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Sep 23, 2026
September 23, 2026

37

CVE Score

Low

Race Condition

Are you affected? Scan for Free

TL;DR

The yoke crate's CartableOptionPointer type declares its unsafe Send and Sync impls with the thread safety bounds swapped, granting Send when the wrapped cart type is only Sync and granting Sync when the cart type is only Send. This lets a cart that is not actually safe to share or move across threads (for example one built on interior mutability) be moved or accessed concurrently as if it were, so two threads can race on the same underlying cart data. The fix swaps the bounds back to match Option<C>'s real thread safety requirements.

How do I fix this?

Upgrade the yoke library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you convert a Yoke cart into a CartableOptionPointer with a cart type that is not both Send and Sync, then share or move it across threads.

Package

Versions

0.7.4 - 0.8.2

Fixed in 0.8.3

Background info

yoke is vulnerable to Race Condition in versions 0.7.4 - 0.8.2.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea