Description
Rodauth before 2.47.0 contains a cross-site request forgery protection bypass vulnerability in the JSON request content type validation. Attackers can craft cross-origin form posts with content types containing application/json substrings to bypass CSRF token validation and force victims to authenticate to attacker-controlled accounts.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| jeremyevans | rodauth | < 2.47.0 | 2.47.0 |
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 | ruby-rodauth | 2.47.0-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | ruby-rodauth | No fix yet | — |
References
- Patch Commit patch
- GitHub Security Advisory (GHSA-hh2f-xw94-5p79) vendor-advisory
- https://github.com/jeremyevans/rodauth product
- VulnCheck Advisory: Rodauth before 2.47.0 CSRF Protection Bypass via Content-Type third-party-advisory