# CVE-2026-35341: uutils coreutils improper permission assignment in mkfifo

Source: https://junglewise.ai/threats/cve-2026-35341-uutils-coreutils-improper-permission-assignment-in-mkfifo  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-22. Updated: 2026-07-06  
License: CC BY 4.0 with a link back

CVE-2026-35341 · Severity: high · CVSS 7.1 · Published 2026-04-22

A vulnerability in the uutils implementation of the mkfifo command can cause existing files to have their security permissions unintentionally weakened. If a user attempts to create a new pipe (FIFO) at a location where a file already exists, the tool fails to stop and instead resets the existing file's permissions to a default public-readable state. This could allow a local attacker to gain access to sensitive private data, such as SSH keys, that were previously restricted.

Technologies: [Uutils Coreutils](https://junglewise.ai/threats/technologies/uutils-coreutils). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io), [Uutils](https://junglewise.ai/threats/vendors/uutils).

## Quick answers

**Is CVE-2026-35341 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-35341 being exploited in the wild.

**How severe is CVE-2026-35341?** High severity, with a CVSS score of 7.1, published 22 April 2026.

**Which products and versions are affected?** uu_mkfifo (crates.io) < 0.6.0, SEMVER:introduced=0,fixed=0.6.0.

**Is there a fix for CVE-2026-35341?** Yes. uu_mkfifo (crates.io): upgrade to 0.6.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-35341 attacked?** It is attacked with local access, in a software library.

**Am I affected by CVE-2026-35341?** Check whether you run uu_mkfifo (crates.io) or Uutils Coreutils at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- uu_mkfifo (crates.io): upgrade to 0.6.0 or later

  ```sh
  cargo update -p uu_mkfifo
  ```


## Technical details

A logic error in the mkfifo implementation of uutils coreutils leads to an improper preservation of permissions (CWE-281). When mkfifo() fails because the target path already exists, the program fails to execute a 'continue' statement and instead falls through to a 'set_permissions' call. This causes the pre-existing file's permissions to be modified to the default FIFO mode (typically 0644 after umask). A local attacker can exploit this to relax permissions on sensitive files owned by other users. The issue is fixed in version 0.6.0.

## Affected products

- uutils coreutils (uutils) < 0.6.0

## Identifiers

- CVE-2026-35341
- GHSA-pmf6-rcx4-v53v

## Timeline

- 2026-01-03: disclosed: Initial issue reported on GitHub
- 2026-01-21: patched: Fix merged in PR #10376
- 2026-04-22: advisory: CVE-2026-35341 assigned and published by NVD
- 2026-07-06: advisory: GitHub Advisory published

## References

- [https://github.com/uutils/coreutils/security/advisories/GHSA-pmf6-rcx4-v53v](https://github.com/uutils/coreutils/security/advisories/GHSA-pmf6-rcx4-v53v)
- [https://github.com/uutils/coreutils/issues/10020](https://github.com/uutils/coreutils/issues/10020)
- [https://github.com/uutils/coreutils/pull/10376](https://github.com/uutils/coreutils/pull/10376)
- [https://api.github.com/repos/uutils/coreutils/security-advisories/GHSA-pmf6-rcx4-v53v](https://api.github.com/repos/uutils/coreutils/security-advisories/GHSA-pmf6-rcx4-v53v)

## Related threats

- [uutils coreutils Incorrect Provision of Specified Functionality in cut](https://junglewise.ai/threats/cve-2026-35381-uutils-coreutils-incorrect-provision-of-specified-functionality)
- [uutils coreutils has an Improper Input Validation Issue in its cut Utility](https://junglewise.ai/threats/cve-2026-35380-uutils-coreutils-has-an-improper-input-validation-issue-in-its)
- [A logic error in the tr utility of uutils coreutils causes the program to incorrectly define the [:graph:] and [:print:] character classes.](https://junglewise.ai/threats/cve-2026-35379-uutils-coreutils-has-an-incorrect-provision-of-specified)
- [uutils coreutils has an Incorrect Short Circuit Evaluation Issue](https://junglewise.ai/threats/cve-2026-35378-uutils-coreutils-has-an-incorrect-short-circuit-evaluation-issue)
- [uutils coreutils has an Improper Input Validation Issue in its env Utility](https://junglewise.ai/threats/cve-2026-35377-uutils-coreutils-has-an-improper-input-validation-issue-in-its)
