Read the docs
TI-2021-20128 Aliases CVE-2021-44528GHSA-qphc-hf5q-v8fc

Open redirect in https://github.com/rails/rails

Priority LOW 34CWE-601Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Spoofing
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-601.

Summary

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.

Why it matters now

EPSS 0.04421 91st percentileScored 2026-11-07
Fix Fixed actionpack (RubyGems): 6.0.4.2, 6.1.4.2

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—https://github.com/rails/rails6.1.4.2, 6.0.4.2, 7.0.0.rc2—No fix listedCNA
—actionpack (RubyGems)6.0.0 to before 6.0.4.26.0.4.2Patch availableGHSA-qphc-hf5q-v8fc
—actionpack (RubyGems)6.1.0 to before 6.1.4.26.1.4.2Patch availableGHSA-qphc-hf5q-v8fc
  • https://github.com/rails/rails Vendor— Affected 6.1.4.2, 6.0.4.2, 7.0.0.rc2 Fixed in — No fix listed CNA
  • actionpack (RubyGems) Vendor— Affected 6.0.0 to before 6.0.4.2 Fixed in 6.0.4.2 Patch available GHSA-qphc-hf5q-v8fc
  • actionpack (RubyGems) Vendor— Affected 6.1.0 to before 6.1.4.2 Fixed in 6.1.4.2 Patch available GHSA-qphc-hf5q-v8fc

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:rubyonrails:rails:6.0.4.2:*:*:*:*:*:*:*6.0.4.2VulnerableRails
cpe:2.3:a:rubyonrails:rails:6.1.4.2:*:*:*:*:*:*:*6.1.4.2VulnerableRails
cpe:2.3:a:rubyonrails:rails:7.0.0:rc2:*:*:*:*:*:*7.0.0 rc2VulnerableRails
  • cpe:2.3:a:rubyonrails:rails:6.0.4.2:*:*:*:*:*:*:* Versions 6.0.4.2 Vulnerable ·Rails
  • cpe:2.3:a:rubyonrails:rails:6.1.4.2:*:*:*:*:*:*:* Versions 6.1.4.2 Vulnerable ·Rails
  • cpe:2.3:a:rubyonrails:rails:7.0.0:rc2:*:*:*:*:*:* Versions 7.0.0 rc2 Vulnerable ·Rails

Remediation

  • Fix · GHSA-qphc-hf5q-v8fc actionpack (RubyGems) Fixed in 6.0.4.2 Advisory →
  • Fix · GHSA-qphc-hf5q-v8fc actionpack (RubyGems) Fixed in 6.1.4.2 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat Satellite 6

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-44528
  2. 2026-10-03 Alias added: GHSA-qphc-hf5q-v8fc

References

  • TI-2014-00124 Directory traversal vulnerability in actionpack/lib/abstract_controller/base.rb in the… KEVCVSS 3.1HIGH 7.5
  • TI-2019-03828 Path traversal in Rails https://github.com/rails/rails KEVCVSS 3.1HIGH 7.5
  • TI-2016-00672 Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x… KEVCVSS 3.1HIGH 7.5
  • TI-2019-03830 Command injection in Rails https://github.com/rails/rails CVSS 3.1CRITICAL 9.8
  • TI-2020-06581 Code injection in https://github.com/rails/rails CVSS 3.1HIGH 8.8
  • TI-2013-00091 active_support/core_ext/hash/conversions.rb in Ruby on Rails before 2.3.15, 3.0.x before… CVSS 2.0HIGH 7.5
See all 117 →

Sources