A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-8784

CVE-2026-8784: cramfs-tools Path Traversal Vulnerability

CVE-2026-8784 is a path traversal flaw in cramfs-tools that enables symlink following attacks through local exploitation. This article covers the technical details, affected versions, and mitigation strategies.

Published: May 21, 2026

CVE-2026-8784 Overview

CVE-2026-8784 is a symlink following vulnerability [CWE-59] in npitre cramfs-tools versions up to 2.2. The flaw resides in the change_file_status function within cramfsck.c. An attacker with local access and high privileges can manipulate filesystem symbolic links to redirect file status operations to unintended targets. A public exploit has been disclosed, and a patch identified as commit b4a3a695c9873f824907bd15659f2a6ac7667b4f is available in the upstream repository.

Critical Impact

Successful exploitation enables a local actor to alter file ownership or permissions on files outside the intended target through symlink redirection, undermining filesystem integrity controls.

Affected Products

  • npitre cramfs-tools versions up to and including 2.2
  • cramfsck utility shipped with affected cramfs-tools releases
  • Downstream Linux distributions packaging vulnerable cramfs-tools builds

Discovery Timeline

  • 2026-05-18 - CVE-2026-8784 published to NVD
  • 2026-05-18 - Last updated in NVD database

Technical Details for CVE-2026-8784

Vulnerability Analysis

The vulnerability is classified under [CWE-59] Improper Link Resolution Before File Access, commonly referred to as a symlink following issue. The change_file_status function in cramfsck.c operates on file paths without verifying whether the target is a symbolic link before applying status changes. When cramfsck is invoked in repair or check mode against an attacker-influenced directory, the utility follows planted symlinks and applies operations to files outside the intended scope.

The attack requires local access and elevated privileges, since cramfsck is typically run by administrators or build pipelines. Public exploit details are referenced in the GitHub Issue Tracker and the VulDB Vulnerability Details entry. The EPSS probability is 0.016%, reflecting limited observed exploitation activity.

Root Cause

The root cause is the absence of link checks in change_file_status before performing privileged file operations. The function does not use lstat semantics or O_NOFOLLOW style protections, allowing symbolic links present in the working tree to redirect operations to arbitrary filesystem paths reachable by the invoking user.

Attack Vector

An attacker with local access stages a crafted directory tree or cramfs image containing symbolic links pointing to sensitive files. When a privileged user runs cramfsck against the staged content, the utility follows the symlinks and modifies the status of the linked targets rather than the in-tree files. The published patch removes the unsafe flow by reworking error and exit handling around the affected code path.

c
// Patch excerpt from cramfsck.c
// Source: https://github.com/npitre/cramfs-tools/commit/b4a3a695c9873f824907bd15659f2a6ac7667b4f
 	exit(status);
 }
 
-static void die(int status, int syserr, const char *fmt, ...)
+static void print_error(int saved_errno, int syserr, const char *fmt, va_list arg_ptr)
 {
-	va_list arg_ptr;
-	int save = errno;
-
 	fflush(0);
-	va_start(arg_ptr, fmt);
 	fprintf(stderr, "%s: ", progname);
 	vfprintf(stderr, fmt, arg_ptr);
 	if (syserr) {
-		fprintf(stderr, ": %s", strerror(save));
+		fprintf(stderr, ": %s", strerror(saved_errno));
 	}
 	fprintf(stderr, "\n");
+}
+
+static void __attribute__((noreturn)) die(int status, int syserr, const char *fmt, ...)
+{
+	int save = errno;
+	va_list arg_ptr;
+
+	va_start(arg_ptr, fmt);
+	print_error(save, syserr, fmt, arg_ptr);
+	va_end(arg_ptr);
+	exit(status);
+}

This patch ensures die() actually terminates execution by marking it noreturn and centralizing error printing in print_error(). Without a real termination, downstream code paths including change_file_status could continue executing on attacker-controlled paths after error conditions.

Detection Methods for CVE-2026-8784

Indicators of Compromise

  • Unexpected ownership or permission changes on files outside the directory targeted by cramfsck invocations.
  • Presence of symbolic links inside cramfs working directories that resolve to system paths such as /etc, /root, or /var.
  • Audit log entries showing cramfsck executions immediately preceding privileged file metadata changes.

Detection Strategies

  • Inventory hosts running cramfs-tools package versions at or below 2.2 using package management queries such as dpkg -l cramfs-tools or rpm -q cramfs-tools.
  • Hash the installed cramfsck binary and compare against builds derived from the patched commit b4a3a695c9873f824907bd15659f2a6ac7667b4f.
  • Review build pipelines and embedded Linux image workflows that invoke cramfsck against untrusted filesystem images.

Monitoring Recommendations

  • Enable Linux audit rules on chown, chmod, and fchownat syscalls executed by cramfsck to flag changes that traverse symlinks.
  • Monitor for cramfsck execution as root or via build automation accounts and correlate with subsequent filesystem metadata changes.
  • Track package update events to confirm patched cramfs-tools versions propagate across the fleet.

How to Mitigate CVE-2026-8784

Immediate Actions Required

  • Apply the upstream patch by rebuilding cramfs-tools from commit b4a3a695c9873f824907bd15659f2a6ac7667b4f or installing a distribution package that incorporates it.
  • Restrict cramfsck execution to trusted operators and avoid running it against directories or images sourced from untrusted users.
  • Audit existing automation that processes cramfs images for symlink contents before invoking repair operations.

Patch Information

The fix is published in the upstream repository at GitHub Commit Details. Discussion and reproduction details are tracked in GitHub Issue Tracker. Downstream maintainers should pull the patched source and rebuild affected packages.

Workarounds

  • Run cramfsck only inside ephemeral, isolated containers or chroots that do not expose sensitive host paths.
  • Pre-scan target directories for symbolic links with find <path> -type l and remove or reject untrusted links before invoking the tool.
  • Drop privileges where possible by executing cramfsck under a dedicated unprivileged service account.
bash
# Verify installed cramfs-tools version and scan target trees for symlinks
cramfsck -V
find /path/to/cramfs/work -xdev -type l -print
# Reject the workload if symlinks reference paths outside the working tree

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechCramfs Tools

  • SeverityLOW

  • CVSS Score1.8

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-59
  • Technical References
  • GitHub Project Repository

  • GitHub Commit Details

  • GitHub Issue Tracker

  • GitHub Issue Comment

  • VulDB Submission Report

  • VulDB Vulnerability Details

  • VulDB Vulnerability CTI
  • Related CVEs
  • CVE-2026-8274: cramfs-tools Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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