CVE-2026-33170
Last modified
CVE-2026-33170 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. Active Support is a toolkit of support libraries and Ruby core extensions extracted from the Rails framework. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, `SafeBuffer#%` does not propagate the `@html_unsafe` flag to the newly created buffer. EPSS estimates a 0.33% chance of exploitation in the next 30 days.
Description
Active Support is a toolkit of support libraries and Ruby core extensions extracted from the Rails framework. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, `SafeBuffer#%` does not propagate the `@html_unsafe` flag to the newly created buffer. If a `SafeBuffer` is mutated in place (e.g. via `gsub!`) and then formatted with `%` using untrusted arguments, the result incorrectly reports `html_safe? == true`, bypassing ERB auto-escaping and possibly leading to XSS. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Rubyonrails | Rails | < 7.2.3.1 |
| Rubyonrails | Rails | >= 8.0.0, < 8.0.4.1 |
| Rubyonrails | Rails | >= 8.1.0, < 8.1.2.1 |
References
- https://github.com/rails/rails/releases/tag/v7.2.3.1Release Notes
- https://github.com/rails/rails/releases/tag/v8.0.4.1Release Notes
- https://github.com/rails/rails/releases/tag/v8.1.2.1Release Notes
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-33170?
How severe is CVE-2026-33170?
How do I fix CVE-2026-33170?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-33165libde265 is an open source implementation of the h.265 video…5
- CVE-2026-33166Allure 2 is the version 2.x branch of Allure Report, a multi…7.5
- CVE-2026-33167Action Pack is a Rubygem for building web applications on th…6.1
- CVE-2026-33168Action View provides conventions and helpers for building we…2.3
- CVE-2026-33169Active Support is a toolkit of support libraries and Ruby co…5.3
- CVE-2026-3317Reflected Cross-Site Scripting (XSS) vulnerability in Naviga…5.1
- CVE-2026-33171Statamic is a Laravel and Git powered content management sys…4.3
- CVE-2026-33172Statamic is a Laravel and Git powered content management sys…8.7
- CVE-2026-33173Active Storage allows users to attach cloud and local files …5.3
- CVE-2026-33174Active Storage allows users to attach cloud and local files …7.5
- CVE-2026-33175OAuthenticator is software that allows OAuth2 identity provi…8.8
- CVE-2026-33176Active Support is a toolkit of support libraries and Ruby co…7.5
Are you affected by CVE-2026-33170?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
