iCalendar has ICS injection via unsanitized URI property values
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| icalendar | icalendar | 2.0.0 to before 2.12.2 | 2.12.2 | Patch available | CNA |
| — | icalendar (RubyGems) | 2.0.0 to before 2.12.2 | 2.12.2 | Patch available | GHSA-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
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:icalendar_project:icalendar:*:*:*:*:*:ruby:*:* | 2.0.0 to before 2.12.2 | Vulnerable | Icalendar 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
- 2026-10-02 Threatist record created from CVE-2026-33635
- 2026-10-03 Alias added: GHSA-pv9c-9mfh-hvxq
References
Advisory 2
Sources
- CVE-2026-33635 · CVE Program
- CVE-2026-33635 · NVD
- FIRST EPSS
- GHSA-pv9c-9mfh-hvxq · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences