Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-35366

CVE-2026-35366: uutils coreutils Information Disclosure

CVE-2026-35366 is an information disclosure flaw in uutils coreutils printenv that silently skips environment variables with invalid UTF-8, allowing malicious entries to evade detection. This article covers the technical details, affected versions, impact, and mitigation strategies.

Published: April 23, 2026

CVE-2026-35366 Overview

The printenv utility in uutils coreutils fails to display environment variables containing invalid UTF-8 byte sequences. While POSIX permits arbitrary bytes in environment strings, the uutils implementation silently skips these entries rather than printing the raw bytes. This vulnerability allows malicious environment variables (e.g., adversarial LD_PRELOAD values) to evade inspection by administrators or security auditing tools, potentially allowing library injection or other environment-based attacks to go undetected.

Critical Impact

Malicious environment variables with invalid UTF-8 sequences can evade security auditing tools, enabling undetected library injection attacks via LD_PRELOAD or similar environment-based attack vectors.

Affected Products

  • uutils coreutils versions prior to 0.6.0

Discovery Timeline

  • 2026-04-22 - CVE CVE-2026-35366 published to NVD
  • 2026-04-22 - Last updated in NVD database

Technical Details for CVE-2026-35366

Vulnerability Analysis

This vulnerability is classified as CWE-754 (Improper Check for Unusual or Exceptional Conditions). The core issue lies in how uutils coreutils handles environment variables that contain byte sequences not valid in UTF-8 encoding.

POSIX standards explicitly allow environment strings to contain arbitrary byte sequences, including those that are not valid UTF-8. However, the Rust-based uutils implementation of printenv assumes UTF-8 validity when iterating through environment variables. When it encounters an environment variable with invalid UTF-8 bytes, the utility silently skips that entry rather than outputting the raw bytes as expected.

This behavior deviation from traditional GNU coreutils creates a security blind spot. An attacker who sets malicious environment variables (such as LD_PRELOAD for dynamic library injection) using invalid UTF-8 byte sequences can effectively hide these variables from administrators and security tools that rely on printenv for environment inspection.

Root Cause

The root cause stems from Rust's strict UTF-8 string handling. Rust's std::env::vars() iterator only yields environment variables that are valid UTF-8, silently filtering out any variables with non-UTF-8 byte sequences. The printenv implementation relied on this iterator without accounting for the possibility of non-UTF-8 environment variables, causing legitimate POSIX-compliant environment entries to be omitted from output.

Attack Vector

The attack requires local access to the system. An attacker with the ability to set environment variables can craft malicious entries containing invalid UTF-8 byte sequences. These variables will function normally for the operating system and any programs that read them, but will be invisible when administrators use printenv to audit the environment. This is particularly dangerous for security-sensitive variables like:

  • LD_PRELOAD - Used for library preloading, commonly exploited for privilege escalation
  • LD_LIBRARY_PATH - Affects dynamic linker library search paths
  • PATH - Can redirect command execution to malicious binaries

The attacker could embed malicious library paths with non-UTF-8 characters that still resolve correctly at the filesystem level, making the attack invisible to UTF-8-only inspection tools while remaining functional for exploitation.

Detection Methods for CVE-2026-35366

Indicators of Compromise

  • Environment variables containing non-printable or unusual byte sequences that are not visible when running printenv but appear when using /proc/[pid]/environ
  • Discrepancies between printenv output and actual environment contents revealed through /proc filesystem inspection
  • Unexpected LD_PRELOAD or LD_LIBRARY_PATH configurations detected through alternative inspection methods

Detection Strategies

  • Compare printenv output against direct reads from /proc/self/environ to identify hidden environment variables
  • Implement security tools that read environment variables directly from the kernel rather than relying on printenv
  • Deploy file integrity monitoring on system libraries to detect unauthorized preloading

Monitoring Recommendations

  • Monitor for processes with unusual environment configurations using process inspection tools that read directly from /proc
  • Alert on library preload indicators detected through methods other than printenv
  • Implement auditing for environment variable modifications, especially for security-sensitive variables

How to Mitigate CVE-2026-35366

Immediate Actions Required

  • Upgrade uutils coreutils to version 0.6.0 or later which addresses this issue
  • Use alternative methods such as directly reading /proc/[pid]/environ for security-critical environment auditing
  • Review systems for any evidence of environment-based attack techniques that may have exploited this visibility gap

Patch Information

The fix for this vulnerability is available in uutils coreutils version 0.6.0. The patch addresses the issue through changes tracked in Pull Request #9728, which ensures that environment variables with non-UTF-8 byte sequences are properly displayed rather than silently skipped.

For additional technical details about the vulnerability, see GitHub Issue #9701.

Workarounds

  • Use GNU coreutils printenv instead of uutils implementation for security auditing purposes, as the traditional implementation properly handles non-UTF-8 environment variables
  • Directly read /proc/self/environ or /proc/[pid]/environ for complete environment inspection, which bypasses any user-space filtering
  • Implement custom scripts using od or xxd on /proc/*/environ to detect environment variables with non-UTF-8 content
bash
# Configuration example
# Direct environment inspection bypassing printenv
cat /proc/self/environ | tr '\0' '\n'

# Compare printenv output with direct /proc read
diff <(printenv | sort) <(cat /proc/self/environ | tr '\0' '\n' | sort)

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechUutils Coreutils

  • SeverityMEDIUM

  • CVSS Score4.4

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-754
  • Technical References
  • GitHub Issue #9701

  • GitHub Pull Request #9728

  • GitHub Release 0.6.0
  • Related CVEs
  • CVE-2026-35381: uutils coreutils Information Disclosure

  • CVE-2026-35367: uutils coreutils Information Disclosure

  • CVE-2026-35346: uutils coreutils Information Disclosure

  • CVE-2026-35339: uutils coreutils Information Disclosure
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English