CVE-2023-28362 · hackerone
CVE-2023-28362
The redirect_to method in Rails allows provided values to contain characters which are not legal in an HTTP header value. This results in the potential for downstream services which enforce RFC compliance on HTTP response headers to remove the assigned Location header.
Published 2025-01-09, last changed 2026-06-17. Weakness: CWE-116.
How to fix
Upgrade to a fixed version: actionpack 6.1.7.4, 7.0.5.1 (RubyGems) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in rails/rails by 1c3f93d1e9, 69e37c84e3, c9ab9b32bc. Functions changed by the fix: redirect_to, _ensure_url_is_http_header_safe. Regression tests: actionpack/test/controller/redirect_test.rb. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2023-06-29 | Package advisory GHSA-4g8v-vg43-wpgf |
| 2025-01-09 | Published |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 0.38% |
| 2026-12-06 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-4g8v-vg43-wpgf | actionpack (RubyGems) | 6.1.7.4 |
| GHSA-4g8v-vg43-wpgf | actionpack (RubyGems) | 7.0.5.1 |
Also known as: GHSA-4g8v-vg43-wpgf
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-126083 | 2026-11-10 | 7.4 | Action Pack: Possible IP spoofing in Action Dispatch RemoteIp |
| CVE-2026-126081 | 2026-11-10 | 7.5 | Action Pack: Possible Strong Parameters bypass in Parameters#each_key |
| CVE-2026-126077 | 2026-11-10 | 6.8 | Action Pack: Possible sensitive session information leak in Active Storage proxy mode |
| CVE-2026-126076 | 2026-11-10 | 4.2 | Action Pack: Possible restoration of destroyed sessions in Action Dispatch CacheStore |
| CVE-2026-126073 | 2026-11-10 | 4.8 | Action Pack: Possible cache poisoning in Action Pack content negotiation |
| CVE-2026-126072 | 2026-11-10 | 5.9 | Action Pack: Possible DoS vulnerability in Action Controller Live streaming |
| CVE-2026-126067 | 2026-11-10 | 3.1 | Action Pack: Missing SameSite attribute on session cookies from Action Pack session stores |
| CVE-2026-33167 | 2026-03-23 | 6.1 | Rails has a possible XSS vulnerability in its Action Pack debug exceptions |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2023-28362, or call /api/v1/vulnerabilities/CVE-2023-28362. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.