CVE-2026-35350: CWE-281: Improper Preservation of Permissions in Uutils coreutils
The cp utility in uutils coreutils fails to properly handle setuid and setgid bits when ownership preservation fails. When copying with the -p (preserve) flag, the utility applies the source mode bits even if the chown operation is unsuccessful. This can result in a user-owned copy retaining original privileged bits, creating unexpected privileged executables that violate local security policies. This differs from GNU cp, which clears these bits when ownership cannot be preserved.
AI Analysis
Technical Summary
The cp utility in uutils coreutils fails to properly clear setuid and setgid bits when the ownership preservation operation (chown) fails during a copy with the -p flag. This results in user-owned copies retaining privileged mode bits, which can lead to unexpected privileged executables. The issue is categorized under CWE-281 (Improper Preservation of Permissions). The vulnerability has a CVSS 3.1 base score of 6.6 (medium severity) with local attack vector, low attack complexity, requiring privileges, no user interaction, unchanged scope, low confidentiality impact, high integrity impact, and low availability impact. No patch or official remediation level is indicated in the vendor or CVE data.
Potential Impact
If exploited, this vulnerability can cause user-owned files to retain setuid or setgid bits improperly, potentially allowing privilege escalation or violation of local security policies. The integrity of the system could be compromised due to unauthorized privileged executables. Confidentiality impact is low and availability impact is low. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid using the -p flag with uutils coreutils cp in environments where setuid/setgid bits are critical or consider using alternative utilities such as GNU cp that handle this scenario correctly.
CVE-2026-35350: CWE-281: Improper Preservation of Permissions in Uutils coreutils
Description
The cp utility in uutils coreutils fails to properly handle setuid and setgid bits when ownership preservation fails. When copying with the -p (preserve) flag, the utility applies the source mode bits even if the chown operation is unsuccessful. This can result in a user-owned copy retaining original privileged bits, creating unexpected privileged executables that violate local security policies. This differs from GNU cp, which clears these bits when ownership cannot be preserved.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The cp utility in uutils coreutils fails to properly clear setuid and setgid bits when the ownership preservation operation (chown) fails during a copy with the -p flag. This results in user-owned copies retaining privileged mode bits, which can lead to unexpected privileged executables. The issue is categorized under CWE-281 (Improper Preservation of Permissions). The vulnerability has a CVSS 3.1 base score of 6.6 (medium severity) with local attack vector, low attack complexity, requiring privileges, no user interaction, unchanged scope, low confidentiality impact, high integrity impact, and low availability impact. No patch or official remediation level is indicated in the vendor or CVE data.
Potential Impact
If exploited, this vulnerability can cause user-owned files to retain setuid or setgid bits improperly, potentially allowing privilege escalation or violation of local security policies. The integrity of the system could be compromised due to unauthorized privileged executables. Confidentiality impact is low and availability impact is low. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid using the -p flag with uutils coreutils cp in environments where setuid/setgid bits are critical or consider using alternative utilities such as GNU cp that handle this scenario correctly.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- canonical
- Date Reserved
- 2026-04-02T12:58:56.087Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e8f7d019fe3cd2cdd00c6a
Added to database: 4/22/2026, 4:31:12 PM
Last enriched: 4/22/2026, 5:02:17 PM
Last updated: 4/23/2026, 1:10:58 AM
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.