OmniAuth: Host Header Injection Vulnerability
- State
- Published
- Severity
- 6.9 Medium
- Published
- Nov 4, 2026
- Updated
- Nov 5, 2026
- Reserved
- Jul 15, 2026
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.
| Product | Versions |
|---|---|
| omniauth omniauth | < 2.2.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | GitHub_M |
Weaknesses
- CWE-346 Origin Validation Error
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.