Intel

AIKIDO-2026-139190

coreutils is vulnerable to Incorrect Permission Assignment

GHSA-54x6-c4c8-44frPublished Sep 21, 2026
September 21, 2026

50

CVE Score

Medium

Incorrect Permission Assignment

Are you affected? Scan for Free

TL;DR

install's fd-based copy path, reached by install -D, opens the destination with O_CREAT|O_WRONLY|O_TRUNC and a default mode of 0666, unlike the path-based copy which opens with O_EXCL and mode 0600. A request such as install -m 600 secret.key /etc/... therefore briefly creates the file group/world readable under the process umask before the trailing chmod narrows it, so another local user can read the content during that window. The same fd path also unlinks the target before recreating it, opening a hard-link planting race. The fix routes the fd-based copy through the same private, exclusive creation already used by the path-based copy.

How do I fix this?

Upgrade the coreutils 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 run install -D (or another form that uses the fd-based copy path) to place a file with a restrictive mode on a host with other local users.

Package

Versions

0.0.1 - 0.11.0

Fixed in 0.12.0

Background info

coreutils is vulnerable to Incorrect Permission Assignment in versions 0.0.1 - 0.11.0.

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