Intel

AIKIDO-2026-10323

corvus is vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition

Time-of-check Time-of-use (TOCTOU) Race Condition Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Mar 10, 2026

20

Low Risk

This Affects:

RUSTcorvus
0.0.1 - 0.1.6
Fixed in 0.1.7
Are you affected? Scan for Free

TL;DR

Affected versions of this package create the secret key file and then restrict its permissions in a separate step, introducing a TOCTOU race condition. A local attacker could potentially read the secret key during the brief window between file creation and permission restriction. The patch uses OpenOptions with mode(0o600) on Unix to atomically create the file with restrictive permissions.

Who does this affect?

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

Background info

corvus is vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition in versions 0.0.1 - 0.1.6.

How to fix this

Upgrade the corvus library to the patch version.