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-33635

CVE-2026-33635: iCalendar Ruby Library XSS Vulnerability

CVE-2026-33635 is an XSS flaw in the iCalendar Ruby library that allows ICS injection through unsanitized URI properties. Attackers can inject arbitrary calendar data via CRLF sequences. This article covers technical details, affected versions, impact, and mitigation steps.

Published: March 26, 2026

CVE-2026-33635 Overview

CVE-2026-33635 is an ICS Injection vulnerability affecting the iCalendar Ruby library, a widely-used gem for handling iCalendar files in the RFC-5545 format. The vulnerability exists in versions 2.0.0 through 2.12.1, where improper sanitization of URI property values enables attackers to inject arbitrary calendar content through CRLF sequences in user-controlled input fields.

Critical Impact

Attackers can inject malicious calendar properties including fake attendees, modified URLs, alarms, or arbitrary event data that downstream calendar clients will process as legitimate content.

Affected Products

  • iCalendar Ruby gem versions 2.0.0 to 2.12.1
  • Applications generating .ics files from untrusted user input
  • Calendar systems importing attacker-crafted ICS content

Discovery Timeline

  • 2026-03-26 - CVE CVE-2026-33635 published to NVD
  • 2026-03-26 - Last updated in NVD database

Technical Details for CVE-2026-33635

Vulnerability Analysis

The vulnerability stems from the Icalendar::Values::Uri class falling back to raw input strings when URI.parse fails to process a value. During serialization via the value_ical method, the library calls value.to_s without removing or escaping carriage return (\r) or newline (\n) characters. This allows attackers to embed CRLF sequences that terminate the original property and inject new ICS properties or components.

Multiple URI-based properties are vulnerable to this injection technique, including: url, source, image, organizer, attach, attendee, conference, and tzurl. Applications that generate .ics files from partially untrusted metadata are particularly at risk, as downstream calendar clients or importers may process attacker-supplied content as if it were legitimate event data.

Root Cause

The root cause is CWE-93 (Improper Neutralization of CRLF Sequences) in the Icalendar::Values::Uri class. When URI.parse fails to parse a supplied value, the library stores the raw input string. During ICS serialization, the value_ical method outputs this raw string directly without sanitizing control characters. Since the ICS format uses CRLF line endings to delimit properties, an attacker can craft input containing \r\n sequences to break out of the URI property context and inject arbitrary calendar data.

Attack Vector

This vulnerability is exploitable over the network by providing malicious URI values to any application that uses the iCalendar gem to generate .ics files. The attack requires user interaction—a victim must import or process the maliciously crafted calendar file. Attackers can target any URI-based property field, injecting payloads that add fake attendees, modify event URLs, create alarms, or insert entirely new calendar components. The injected content appears legitimate to downstream calendar applications and users.

The security patch addresses this vulnerability by implementing control character sanitization:

ruby
   module Values
 
     class Uri < Value
+      CONTROL_BYTES_REGEX = /[\\x00-\\x1F\\x7F]/.freeze
 
       def initialize(value, *args)
         parsed = URI.parse(value) rescue value
         super parsed, *args
       end
 
       def value_ical
-        value.to_s
+        value.to_s.gsub(CONTROL_BYTES_REGEX) { |char| "%%%02X" % char.ord }
       end
     end

Source: GitHub Commit Update

Detection Methods for CVE-2026-33635

Indicators of Compromise

  • ICS files containing unexpected properties such as additional ATTENDEE, ALARM, or URL entries not present in the original source data
  • Calendar events with suspicious URLs or organizer email addresses that differ from expected values
  • User-submitted URI fields containing encoded or raw CRLF sequences (%0D%0A, \r\n)

Detection Strategies

  • Implement input validation logging to detect URI values containing control characters or CRLF sequences before ICS generation
  • Monitor generated ICS file content for anomalous property counts compared to input data
  • Audit Ruby gem dependencies using bundler-audit or similar tools to identify vulnerable iCalendar versions

Monitoring Recommendations

  • Enable application-level logging for all URI-based property assignments in calendar generation workflows
  • Implement integrity checks comparing input field counts against generated ICS property counts
  • Set up alerts for user input containing control characters in calendar-related forms or APIs

How to Mitigate CVE-2026-33635

Immediate Actions Required

  • Upgrade the iCalendar Ruby gem to version 2.12.2 or later immediately
  • Audit all applications that generate ICS files from user-provided input
  • Review recently generated calendar files for signs of injection attacks
  • Implement input validation to strip control characters from URI fields before processing

Patch Information

The vulnerability is addressed in iCalendar version 2.12.2. The patch modifies the value_ical method in lib/icalendar/values/uri.rb to percent-encode all control bytes (characters in the ranges \\x00-\\x1F and \\x7F) using a regex-based sanitization approach. For full technical details, refer to the GitHub Security Advisory and the security patch commit.

Workarounds

  • Implement application-level input sanitization to strip or reject CRLF characters from all URI-based fields before passing to the iCalendar library
  • Use a validation layer that rejects any input containing control characters (\\x00-\\x1F, \\x7F)
  • Consider implementing Content Security Policy for calendar file downloads to reduce exposure
bash
# Update the iCalendar gem to the patched version
bundle update icalendar
# Or specify the minimum safe version in Gemfile
# gem 'icalendar', '>= 2.12.2'

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechIcalendar

  • SeverityMEDIUM

  • CVSS Score4.3

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-93
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory

  • RubySec CVE-2026-33635
  • Latest CVEs
  • CVE-2026-40322: SiYuan Knowledge Management RCE Vulnerability

  • CVE-2026-40318: SiYuan Path Traversal Vulnerability

  • CVE-2026-40259: SiYuan Auth Bypass Vulnerability

  • CVE-2026-40255: AdonisJS HTTP Server CSRF 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