omniauth-saml vulnerable to Improper Verification of Cryptographic SignatureGHSA-cvp8-5r8g-fhvq
CRITICALFix: omniauth/omniauth-saml@4274e9dGHSA-cvp8-5r8g-fhvq is a critical-severity (CVSS 10) vulnerability in omniauth-saml. A fix is available for omniauth-saml — see the affected versions and patch details below.
Real-World Exposure
omniauth-saml💎omniauth-saml💎omniauth-samlReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects RubyGems packages — download data is not available via public APIs for these ecosystems.
Description
ruby-saml, the dependent SAML gem of omniauth-saml has a signature wrapping vulnerability in <= v1.12.0 and v1.13.0 to v1.16.0 , see https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-jw9c-mfg7-9rx2 As a result, omniauth-saml created a new release by upgrading ruby-saml to the patched versions v1.17.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 💎RubyGems | omniauth-saml | ≥ 2.0.0&&< 2.1.2 | 2.1.2bundle update omniauth-saml --conservative |
| 💎RubyGems | omniauth-saml | all versions | 1.10.5bundle update omniauth-saml --conservative |
| 💎RubyGems | omniauth-saml | ≥ 2.2.0&&< 2.2.1 | 2.2.1bundle update omniauth-saml --conservative |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for omniauth-saml, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update omniauth-saml to 2.1.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-cvp8-5r8g-fhvq is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-cvp8-5r8g-fhvq in your dependencies?
Find it across RubyGems, including transitive dependencies.