The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-34978

CVE-2026-34978: OpenPrinting CUPS Path Traversal Flaw

CVE-2026-34978 is a path traversal vulnerability in OpenPrinting CUPS that allows remote attackers to write files outside intended directories. This article covers technical details, affected versions, impact, and mitigation.

Published: April 10, 2026

CVE-2026-34978 Overview

OpenPrinting CUPS, an open source printing system for Linux and other Unix-like operating systems, contains a path traversal vulnerability in the RSS notifier component. In versions 2.4.16 and prior, the RSS notifier allows .. path traversal in notify-recipient-uri (e.g., rss:///../job.cache), enabling a remote IPP client to write RSS XML bytes outside CacheDir/rss to anywhere that is lp-writable. Because CacheDir is group-writable by default (typically root:lp and mode 0770), the notifier (running as lp) can replace root-managed state files via temp-file + rename() operations.

Critical Impact

Remote attackers can exploit this path traversal to clobber critical system files such as CacheDir/job.cache with RSS XML content. After restarting cupsd, the scheduler fails to parse the corrupted job cache, causing previously queued print jobs to disappear and disrupting print services.

Affected Products

  • OpenPrinting CUPS versions 2.4.16 and prior
  • Linux and Unix-like operating systems running vulnerable CUPS versions
  • Systems with default CacheDir group-writable permissions (root:lp, mode 0770)

Discovery Timeline

  • 2026-04-03 - CVE CVE-2026-34978 published to NVD
  • 2026-04-07 - Last updated in NVD database

Technical Details for CVE-2026-34978

Vulnerability Analysis

This vulnerability is classified as CWE-22 (Path Traversal), allowing attackers to access files outside of a restricted directory. The RSS notifier component in CUPS fails to properly sanitize the notify-recipient-uri parameter, accepting directory traversal sequences that enable writing to arbitrary locations within the lp user's write permissions.

The attack exploits the default permission model where CacheDir is group-writable by the lp group. When the notifier processes a malicious URI like rss:///../job.cache, it follows the traversal path and writes RSS XML content to the targeted file. The use of temporary files combined with the rename() system call allows atomic replacement of root-managed state files.

Root Cause

The root cause stems from insufficient input validation in the RSS notifier's handling of the notify-recipient-uri parameter. The component fails to canonicalize and validate the path before performing file operations, allowing directory traversal sequences (..) to escape the intended CacheDir/rss directory. Combined with the default permission structure that grants the lp user/group write access to CacheDir, this creates an exploitable condition for file manipulation attacks.

Attack Vector

The attack is network-accessible, requiring no authentication or user interaction. An attacker can craft a malicious IPP request with a specially constructed notify-recipient-uri containing path traversal sequences. The vulnerability affects file integrity by allowing overwriting of critical system files, and impacts availability by corrupting the job cache, which prevents the CUPS scheduler from functioning correctly after a restart.

The proof-of-concept demonstrates clobbering CacheDir/job.cache with RSS XML content. When cupsd is subsequently restarted, it fails to parse the corrupted job cache, resulting in loss of all previously queued print jobs.

Detection Methods for CVE-2026-34978

Indicators of Compromise

  • Unexpected modification timestamps on files within CUPS CacheDir directory
  • Presence of RSS XML content in non-RSS files such as job.cache
  • CUPS scheduler errors related to job cache parsing failures after service restart
  • IPP requests containing notify-recipient-uri parameters with .. path sequences

Detection Strategies

  • Monitor IPP traffic for requests containing notify-recipient-uri parameters with directory traversal patterns (../, ..%2f, etc.)
  • Implement file integrity monitoring on critical CUPS state files including job.cache
  • Configure CUPS logging to capture notification subscription requests at debug level
  • Deploy network intrusion detection rules to identify malicious IPP request patterns

Monitoring Recommendations

  • Enable verbose logging for the CUPS notifier subsystem to capture URI processing events
  • Set up alerts for file modification events in CacheDir outside of normal CUPS operations
  • Monitor for CUPS service restart failures accompanied by job cache parsing errors
  • Track lp user file operations using audit logging to detect unauthorized writes

How to Mitigate CVE-2026-34978

Immediate Actions Required

  • Restrict network access to the CUPS IPP service using firewall rules to trusted hosts only
  • Review and restrict permissions on CacheDir to prevent group-write access where feasible
  • Disable RSS notifications if not required by setting appropriate CUPS configuration options
  • Implement network segmentation to limit exposure of printing services

Patch Information

At time of publication, there are no publicly available patches for this vulnerability. Organizations should monitor the GitHub Security Advisory for updates on patch availability. Until a patch is released, implementing the recommended workarounds is essential to reduce exposure.

Workarounds

  • Disable the RSS notifier by removing or restricting access to the rss notifier binary in the CUPS notifier directory
  • Modify CacheDir permissions to remove group-write access if operationally feasible
  • Implement strict firewall rules to allow IPP connections only from trusted print clients
  • Consider running CUPS in a containerized environment with restricted filesystem access
bash
# Configuration example
# Restrict CUPS listening to localhost only (if remote printing not required)
# Edit /etc/cups/cupsd.conf
Listen localhost:631

# Remove group-write permission from CacheDir (may impact some operations)
chmod 0750 /var/cache/cups

# Block external IPP access at firewall level
iptables -A INPUT -p tcp --dport 631 -s ! 127.0.0.1 -j DROP

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechCups

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.08%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-39316: OpenPrinting CUPS Use-After-Free Flaw

  • CVE-2026-39314: OpenPrinting CUPS DoS Vulnerability

  • CVE-2026-34979: CUPS Buffer Overflow Vulnerability

  • CVE-2026-27447: OpenPrinting CUPS Auth Bypass 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