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-2024-35235

CVE-2024-35235: OpenPrinting CUPS RCE Vulnerability

CVE-2024-35235 is a remote code execution vulnerability in OpenPrinting CUPS versions 2.4.8 and earlier. Attackers can exploit symbolic links to gain arbitrary file permissions and execute commands as root.

Updated: January 22, 2026

CVE-2024-35235 Overview

CVE-2024-35235 is a symlink attack vulnerability in OpenPrinting CUPS, the open source printing system widely used on Linux and other Unix-like operating systems. In versions 2.4.8 and earlier, when starting the cupsd server with a Listen configuration item pointing to a symbolic link, the cupsd process can be caused to perform an arbitrary chmod of the provided argument, providing world-writable access to the target file or directory.

Critical Impact

Since cupsd typically runs as root, this vulnerability can result in changing permissions of any user or system files to world-writable, potentially leading to privilege escalation and arbitrary command execution.

Affected Products

  • OpenPrinting CUPS versions 2.4.8 and earlier
  • Debian Linux 10.0
  • Linux and Unix-like systems running vulnerable CUPS versions

Discovery Timeline

  • 2024-06-11 - CVE-2024-35235 published to NVD
  • 2025-09-26 - Last updated in NVD database

Technical Details for CVE-2024-35235

Vulnerability Analysis

This vulnerability is classified under CWE-59 (Improper Link Resolution Before File Access), commonly known as a symlink attack. The flaw exists in how the CUPS daemon handles the Listen configuration directive. When cupsd processes a Listen argument that points to a symbolic link, it performs a chmod operation on the target of that symlink without properly validating whether the path is a legitimate socket file or a malicious symbolic link.

On systems where cupsd runs with root privileges, an attacker with local access can exploit this behavior to modify permissions on arbitrary files. The exploitation chain can be extended further on Ubuntu systems. While Ubuntu's AppArmor profile limits which files the cupsd process can modify, researchers found it was still possible to gain full control over the cupsd.conf and cups-files.conf configuration files.

By manipulating these configuration files, an attacker can set the User and Group arguments in cups-files.conf, then configure a printer with a PPD file containing a FoomaticRIPCommandLine argument to achieve arbitrary command execution under a non-root user context. This initial foothold can subsequently be leveraged for full root command execution on vulnerable Ubuntu systems.

Root Cause

The root cause of this vulnerability lies in insufficient validation of symbolic links in the Listen configuration path handling code within cupsd. The vulnerable code path can be found in the CUPS HTTP address handling code. The daemon fails to verify that the Listen path resolves to an expected socket file type before performing file permission operations, allowing an attacker to redirect the chmod operation to arbitrary targets through symbolic links.

Attack Vector

The attack requires local access to the system and follows a multi-stage exploitation path:

  1. An attacker creates a symbolic link pointing from a path that will be used as a Listen socket to a target file they wish to make world-writable
  2. When cupsd starts (or restarts), it processes the Listen configuration and performs a chmod operation that follows the symbolic link
  3. The target file becomes world-writable, allowing the attacker to modify its contents
  4. On systems with AppArmor protection, the attacker can target CUPS configuration files to modify service settings
  5. By editing cups-files.conf to change User/Group settings and configuring a malicious PPD file with FoomaticRIPCommandLine, arbitrary command execution is achieved

The attack exploits the trust placed in the Listen configuration path and leverages the elevated privileges of the cupsd daemon to escalate from local access to potential root-level compromise.

Detection Methods for CVE-2024-35235

Indicators of Compromise

  • Unexpected symbolic links in CUPS socket directories (typically /var/run/cups/ or similar paths)
  • Modified permissions on system files (especially world-writable configuration files)
  • Unauthorized changes to cupsd.conf or cups-files.conf
  • Suspicious User or Group settings in cups-files.conf
  • PPD files containing FoomaticRIPCommandLine directives with unexpected commands

Detection Strategies

  • Monitor file integrity for CUPS configuration files using tools like AIDE or OSSEC
  • Audit symbolic link creation in directories used by CUPS services
  • Review system logs for unexpected cupsd restarts or configuration changes
  • Implement auditd rules to track chmod operations performed by the cupsd process

Monitoring Recommendations

  • Enable detailed logging for CUPS service activities
  • Configure file integrity monitoring on /etc/cups/ directory and contents
  • Set up alerts for permission changes on sensitive system files
  • Monitor for unexpected print jobs or printer configuration changes

How to Mitigate CVE-2024-35235

Immediate Actions Required

  • Update OpenPrinting CUPS to a patched version that includes commit ff1f8a623e090dee8a8aadf12a6a4b25efac143d
  • Review CUPS configuration files for unauthorized modifications
  • Audit Listen configuration directives for symbolic link references
  • Restrict local access to systems running vulnerable CUPS versions

Patch Information

OpenPrinting has released a security patch addressing this vulnerability. The fix is contained in commit ff1f8a623e090dee8a8aadf12a6a4b25efac143d. Organizations should apply this patch or upgrade to a CUPS version that includes this fix. For Debian Linux systems, refer to the Debian LTS Security Announcement for distribution-specific update instructions. Additional details are available in the GitHub CUPS Security Advisory.

Workarounds

  • Ensure Listen configuration paths do not point to symbolic links
  • Run cupsd with reduced privileges where possible using AppArmor or SELinux policies
  • Implement strict file permissions on directories used by CUPS
  • Disable or remove unused printing services on critical systems
bash
# Configuration example
# Verify Listen configuration does not contain symbolic links
ls -la $(grep -E "^Listen" /etc/cups/cupsd.conf | awk '{print $2}')

# Check CUPS configuration file integrity
sha256sum /etc/cups/cupsd.conf /etc/cups/cups-files.conf

# Ensure proper permissions on CUPS directories
chmod 755 /etc/cups
chmod 644 /etc/cups/cupsd.conf
chmod 640 /etc/cups/cups-files.conf

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechOpenprinting Cups

  • SeverityMEDIUM

  • CVSS Score6.7

  • EPSS Probability3.10%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-59
  • Technical References
  • OpenWall OSS Security Update

  • OpenWall OSS Security Update

  • OpenWall OSS Security Update

  • Launchpad AppArmor Profile

  • GitHub CUPS HTTP Code Review

  • Debian LTS Security Announcement

  • OpenWall OSS Security Update
  • Vendor Resources
  • GitHub CUPS Commit Update

  • GitHub CUPS Security Advisory
  • Related CVEs
  • CVE-2026-34980: OpenPrinting CUPS Auth Bypass Vulnerability

  • CVE-2025-58060: OpenPrinting CUPS Auth Bypass Vulnerability

  • CVE-2023-32324: OpenPrinting CUPS DoS Vulnerability
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