CVE-2026-33167 Rails has a possible XSS vulnerability in its Action Pack debug exceptions
LowCVSS 1.3
EPSS 0.29%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
Action Pack is a Rubygem for building web applications on the Rails framework. In versions on the 8.1 branch prior to 8.1.2.1, the debug exceptions page does not properly escape exception messages. A carefully crafted exception message could inject arbitrary HTML and JavaScript into the page, leading to XSS. This affects applications with detailed exception pages enabled (config.consider_all_requests_local = true), which is the default in development. Version 8.1.2.1 contains a patch.
Upgrade path
9 packages: 2 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/rubygem-actionpack(Red Hat satellite 6) | All versions | No fix listed | No fix yet |
| redhat/satellite:el8/rubygem-actionpack(Red Hat satellite 6) | All versions | No fix listed | No fix yet |
| ubuntu/rails(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/rails(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/rails(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/rails(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| rubygems actionpack(RubyGems) | = 8.1.0; = 8.1.1; = 8.1.2; >= 8.1.0, < 8.1.2.1 | 8.1.2.1 | Fixed |
| rubyonrails rails | >= 8.1.0, < 8.1.2.1 | 8.1.2.1 | Fixed |
| rails actionpack | = >= 8.1.0, < 8.1.2.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems actionpack(RubyGems) | >= 8.1.0, < 8.1.2.1 | 8.1.2.1 |
| rubygems actionpack(RubyGems) | = 8.1.0 | No fix listed |
| rubygems actionpack(RubyGems) | = 8.1.1 | No fix listed |
| rubygems actionpack(RubyGems) | = 8.1.2 | No fix listed |
| rails actionpack | = >= 8.1.0, < 8.1.2.1 | No fix listed |
| redhat/rubygem-actionpack(Red Hat:satellite:6) | All versions | No fix listed |
| redhat/satellite:el8/rubygem-actionpack(Red Hat:satellite:6) | All versions | No fix listed |
| ubuntu/rails(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/rails(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/rails(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/rails(Ubuntu:26.10) | All versions | No fix listed |
| rubyonrails rails | >= 8.1.0, < 8.1.2.1 | 8.1.2.1 |
References
- https://github.com/rails/rails/security/advisories/GHSA-pgm4-439c-5jp6 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/rails/rails/commit/6752711c8c31d79ba50d13af6a6698a3b85415e0 patch
- github.com product
- https://github.com/rails/rails/releases/tag/v8.1.2.1 release-notes
- github.com exploit
- github.com
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2450552 issue-tracking
- www.cve.org
- Ubuntu CVE tracker vendor-advisory
- Debian Security Tracker CVE-2026-33167 vendor-advisory