CVE-2017-18076: Vulnerability in omniauth

omniauth Updated 02 Oct 2025

Summary

29/01/2018
Yes i
High
7.5

CVE-2017-18076: Omniauth allows POST parameters to be stored in session. Affects omniauth versions < 1.3.2. Fixed in 1.3.2. How to fix ↓

Also tracked for

The same CVE-2017-18076 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Omniauth is a RubyGem that provides a flexible authentication system for web applications. It allows users to authenticate using various external providers such as Facebook, Google, and Twitter. The gem simplifies the process of implementing multiple authentication strategies in a Ruby application. However, a vulnerability has been discovered in versions prior to 1.3.2 that could potentially expose sensitive information stored in the session.

Vulnerability Detail

The vulnerability (CVE-2017-18076) in OmniAuth before version 1.3.2 arises from the improper protection of the authenticity_token value. POST parameters, in addition to GET parameters, are stored in the session and become available in the environment of the callback phase. This can lead to unauthorized access to sensitive data and potential security breaches.

How To Fix

Latest published version: 2.3.1 as of 23 Oct 2026

gem install omniauth -v 2.3.1

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.3.2

This is the first release that contains the fix.

gem install omniauth -v 1.3.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is crucial to update to the fixed version of OmniAuth to ensure the security of your application.

Conclusion

In conclusion, the vulnerability (CVE-2017-18076) in OmniAuth versions prior to 1.3.2 can lead to unauthorized access to sensitive information stored in the session. It is crucial to upgrade to the fixed version to ensure the security of your application. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for omniauth →

Share this vulnerability

FAQ

OmniAuth is a RubyGem that provides an authentication system for web applications, allowing users to authenticate using external providers.

This vulnerability could potentially expose sensitive information stored in the session, leading to unauthorized access and security breaches.

To fix this vulnerability, you should upgrade to OmniAuth version 1.3.2 or later.

No, there is no known workaround for this vulnerability. Updating to the fixed version is the recommended solution.

Related vulnerabilities

Recent vulnerabilities recorded for omniauth.

How To Fix

Latest published version: 2.3.1 as of 23 Oct 2026

gem install omniauth -v 2.3.1

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.3.2

This is the first release that contains the fix.

gem install omniauth -v 1.3.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback