Intel

AIKIDO-2026-912985

nono is vulnerable to Race Condition (TOCTOU)

Race Condition (TOCTOU) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Today

42

Medium Risk

This Affects:

RUSTnono
0.1.0 - 0.73.0
Fixed in 0.74.0
Are you affected? Scan for Free

TL;DR

The Linux Landlock sandbox determined a path's file type from a stat() call on the path string and then applied access rules to that path in a separate step. Because the check and the use are not bound to the same inode, a local process can replace a file with a directory between the two steps and be granted unintended recursive directory permissions. This lets code running under the sandbox widen its own filesystem access and weaken the isolation the sandbox is meant to enforce. The fix opens each path once with O_PATH to derive the file type and rights from a stable descriptor and rejects non-socket nodes for unix-socket capabilities.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you run the Linux Landlock sandbox with file capabilities whose backing paths can be altered by a locally running, sandboxed process that races the sandbox setup.

Background info

nono is vulnerable to Race Condition (TOCTOU) in versions 0.1.0 - 0.73.0.

How to fix this

Upgrade the nono library to the patch version.