Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 96%

CVE-2026-35339: CWE-253: Incorrect Check of Function Return Value in Uutils coreutils

0
Medium
VulnerabilityCVE-2026-35339cvecve-2026-35339cwe-253
Published: 04/22/2026 (04/22/2026, 16:07:33 UTC)
Source: CVE Database V5
Vendor/Project: Uutils
Product: coreutils

Description

The chmod utility in uutils coreutils has a vulnerability in its recursive mode (-R) where it incorrectly reports success by only considering the exit code of the last file processed. This can cause scripts relying on exit codes to mistakenly believe all files were processed successfully, even if earlier files encountered errors such as 'Operation not permitted'. This may lead to sensitive files retaining incorrect permissions.

CVSS v3.1

Score 5.5medium

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Affected software

GitHub Actionsmore threats →ai
uutils/coreutils
pkg:github/uutils/coreutils
Affected versions
=0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/06/2026, 23:20:39 UTC

Technical Analysis

CVE-2026-35339 describes a flaw in the recursive mode (-R) of the chmod utility within uutils coreutils. The utility determines its final exit code based solely on the last file processed, ignoring errors encountered on previous files. This incorrect check of function return values (CWE-253) can cause the command to return a success exit code (0) despite failures on some files, potentially misleading automated scripts or processes that depend on accurate exit status for permission changes.

Potential Impact

Scripts and automation relying on chmod's exit code to verify successful permission changes may proceed under a false assumption of success. This can result in sensitive files retaining restrictive or incorrect permissions, potentially causing security or operational issues. The vulnerability does not affect confidentiality or availability directly but impacts integrity by misreporting the success of permission changes.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should manually verify permissions after recursive chmod operations or avoid relying solely on exit codes for success confirmation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
canonical
Date Reserved
2026-04-02T12:58:56.086Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69e8f7ce19fe3cd2cdd00c01

Added to database: 04/22/2026, 16:31:10 UTC

Last enriched: 07/06/2026, 23:20:39 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 105

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses