Description
A open redirect vulnerability exists in Action Pack >= 6.0.0 that could allow an attacker to craft a "X-Forwarded-Host" headers in combination with certain "allowed host" formats can cause the Host Authorization middleware in Action Pack to redirect users to a malicious website.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | https://github.com/rails/rails | 6.1.4.2, 6.0.4.2, 7.0.0.rc2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | rails | 2:6.1.4.6+dfsg-1 | — |
| Debian 13 | rails | 2:6.1.4.6+dfsg-1 | — |
| Debian 12 | rails | 2:6.1.4.6+dfsg-1 | — |
| Debian 11 | rails | 2:6.0.3.7+dfsg-2+deb11u1 | DSA-5372-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | rails | No fix yet | — |
| Ubuntu 26.04 LTS | rails | No fix yet | — |
| Ubuntu 25.10 | rails | No fix yet | — |
| Ubuntu 24.04 LTS | rails | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | rails | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | rubygem-actionpack-6.0 | 6.0.4.4-1.1 | openSUSE-SU-2024:11821-1 |
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Open Redirect in Host Authorization Middleware http/cves/2021/CVE-2021-44528.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | actionpack | >= 6.0.0, < 6.0.4.2 | 6.0.4.2 | GHSA-qphc-hf5q-v8fc |
| RubyGems | actionpack | >= 6.1.0, < 6.1.4.2 | 6.1.4.2 | GHSA-qphc-hf5q-v8fc |
Advisories 2
- DSA-5372-1 rails - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:11821-1 ruby3.1-rubygem-actionpack-6.0-6.0.4.4-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026