Description
OmniAuth is a flexible authentication system utilizing Rack middleware. Prior to 2.2.0, OmniAuth derives provider callback URLs from request-controlled host information when neither a fixed full_host nor framework-level incoming host validation is configured. A remote unauthenticated client can supply a forged Host header, creating a host header injection risk in applications whose web framework does not verify incoming host headers. Applications using appropriately configured Rails host authorization or a fixed full_host are not affected by this path. This issue is fixed in version 2.2.0.
Severity (CVSS)
| Base score | 6.9 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:L/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-346 — CWE-346: Origin Validation Error
Affected products
| Vendor | Product | Versions |
|---|---|---|
| omniauth | omniauth | < 2.2.0 [affected] |
References
- https://github.com/omniauth/omniauth/security/advisories/GHSA-m27g-v28p-f9fx (x_refsource_CONFIRM)
- https://github.com/omniauth/omniauth/commit/943b44faea242f063fa9230254fe7d60cfcc9c90 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 05 Nov 2026 08:03 UTC.