Read the docs
TI-2026-26016 Aliases CVE-2026-33635GHSA-pv9c-9mfh-hvxq

iCalendar has ICS injection via unsanitized URI property values

Priority MEDIUM 53CWE-93Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

iCalendar is a Ruby library for dealing with iCalendar files in the iCalendar format defined by RFC-5545. Starting in version 2.0.0 and prior to version 2.12.2, .ics serialization does not properly sanitize URI property values, enabling ICS injection through attacker-controlled input, adding arbitrary calendar lines to the output. `Icalendar::Values::Uri` falls back to the raw input string when `URI.parse` fails and later serializes it with `value.to_s` without removing or escaping `\r` or `\n` characters. That value is embedded directly into the final ICS line by the normal serializer, so a payload containing CRLF can terminate the original property and create a new ICS property or component. (It looks like you can inject via url, source, image, organizer, attach, attendee, conference, tzurl because of this). Applications that generate `.ics` files from partially untrusted metadata are impacted. As a result, downstream calendar clients or importers may process attacker-supplied content as if it were legitimate event data, such as added attendees, modified URLs, alarms, or other calendar fields. Version 2.12.2 contains a patch for the issue.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00254 17th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed icalendar (icalendar): 2.12.2icalendar (RubyGems): 2.12.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
icalendaricalendar2.0.0 to before 2.12.22.12.2Patch availableCNA
—icalendar (RubyGems)2.0.0 to before 2.12.22.12.2Patch availableGHSA-pv9c-9mfh-hvxq
  • icalendar Vendoricalendar Affected 2.0.0 to before 2.12.2 Fixed in 2.12.2 Patch available CNA
  • icalendar (RubyGems) Vendor— Affected 2.0.0 to before 2.12.2 Fixed in 2.12.2 Patch available GHSA-pv9c-9mfh-hvxq

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:icalendar_project:icalendar:*:*:*:*:*:ruby:*:*2.0.0 to before 2.12.2VulnerableIcalendar Project
  • cpe:2.3:a:icalendar_project:icalendar:*:*:*:*:*:ruby:*:* Versions 2.0.0 to before 2.12.2 Vulnerable ·Icalendar Project

Remediation

  • Fix · CNA icalendar (icalendar) Fixed in 2.12.2
  • Fix · GHSA-pv9c-9mfh-hvxq icalendar (RubyGems) Fixed in 2.12.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-33635
  2. 2026-10-03 Alias added: GHSA-pv9c-9mfh-hvxq

References

Sources