KeygraphLabs · CVE MCP

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.

CVSS
4
medium, from the CNA
EPSS
0.33%
percentile 28.5%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

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-29Package advisory GHSA-4g8v-vg43-wpgf
2025-01-09Published
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 0.38%
2026-12-06Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-4g8v-vg43-wpgfactionpack (RubyGems)6.1.7.4
GHSA-4g8v-vg43-wpgfactionpack (RubyGems)7.0.5.1

Also known as: GHSA-4g8v-vg43-wpgf

Related

CVEPublishedCVSSSummary
CVE-2026-1260832026-11-107.4Action Pack: Possible IP spoofing in Action Dispatch RemoteIp
CVE-2026-1260812026-11-107.5Action Pack: Possible Strong Parameters bypass in Parameters#each_key
CVE-2026-1260772026-11-106.8Action Pack: Possible sensitive session information leak in Active Storage proxy mode
CVE-2026-1260762026-11-104.2Action Pack: Possible restoration of destroyed sessions in Action Dispatch CacheStore
CVE-2026-1260732026-11-104.8Action Pack: Possible cache poisoning in Action Pack content negotiation
CVE-2026-1260722026-11-105.9Action Pack: Possible DoS vulnerability in Action Controller Live streaming
CVE-2026-1260672026-11-103.1Action Pack: Missing SameSite attribute on session cookies from Action Pack session stores
CVE-2026-331672026-03-236.1Rails 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.

NVD · CVE.org