CVEBrief

Home / spree / spree_auth_devise / CVE-2021-41275

CVE-2021-41275: is it exploited, and which versions of spree_auth_devise are affected and fixed?

CVE-2021-41275 is a cross-site request forgery (CSRF) vulnerability in spree_auth_devise. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: spree_auth_devise from 4.3.0 before 4.4.1, spree_auth_devise from 4.2.0 before 4.2.1, spree_auth_devise from 4.1.0 before 4.1.1 and 1 more (GitHub advisory GHSA-26xx-m4q2-xhq8). Fixed in 4.4.1, 4.2.1, 4.1.1 and 4.0.1 (GitHub advisory GHSA-26xx-m4q2-xhq8). Severity: Critical (9.3, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:53 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 12:08 UTC
Affected
spree_auth_devise from 4.3.0 before 4.4.1, spree_auth_devise from 4.2.0 before 4.2.1, spree_auth_devise from 4.1.0 before 4.1.1 and 1 more
GitHub advisory GHSA-26xx-m4q2-xhq8
Fixed in
4.4.1, 4.2.1, 4.1.1 and 4.0.1
GitHub advisory GHSA-26xx-m4q2-xhq8
Severity
Critical 9.3
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
0.65% in 30 days
higher than 52% of CVEs; FIRST, December 2, 2026

What is CVE-2021-41275?

Authentication Bypass by CSRF Weakness

spree_auth_devise is an open source library which provides authentication and authorization services for use with the Spree storefront framework by using an underlying Devise authentication framework. In affected versions spree_auth_devise is subject to a CSRF vulnerability that allows user account takeover. All applications using any version of the frontend component of spree_auth_devise are affected if protect_from_forgery method is both: Executed whether as: A before_action callback (the default). A prepend_before_action (option prepend: true given) before the :load_object hook in Spree::UserController (most likely order to find). Configured to use :null_session or :reset_session strategies (:null_session is the default in case the no strategy is given, but rails --new generated skeleton use :exception). Users are advised to update their spree_auth_devise gem. For users unable to update it may be possible to change your strategy to :exception. Please see the linked GHSA for more workaround details. ### Impact CSRF vulnerability that allows user account takeover. All applications using any version of the frontend component of `spree_auth_devise` are affected if `protect_from_forgery` method is both: * Executed whether as: * A before_action callback (the default) * A prepend_before_action (option prepend: true given) before the :load_object hook in Spree::UserController (most likely order to find). * Configured to use :null_session or :reset_session strategies (:null_session is the default in case the no strategy is given, but rails --new generated skeleton use :exception). That means that applications that haven't been configured differently from what it's generated with Rails aren't affected. Thanks @waiting-for-dev for reporting and providing a patch �� ### Patches Spree 4.3 users should update to spree_auth_devise 4.4.1 Spree 4.2 users should update to spree_auth_devise 4.2.1 ### Workarounds If possible, change your strategy to :exception: ```ruby class ApplicationController < ActionController::Base protect_from_forgery with: :exception end ``` Add the following to`config/application.rb `to at least run the `:exception` strategy on the affected controller: ```ruby config.after_initialize do Spree::UsersController.protect_from_forgery with: :exception end ``` ### References https://github.com/solidusio/solidus_auth_devise/security/advisories/GHSA-xm34-v85h-9pg2

From the CVE record by GitHub_M, last updated August 4, 2024, 03:08 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
spreespree_auth_devise>= 4.3.0, < 4.4.1
>= 4.2.0, < 4.2.1
>= 4.1.0, < 4.1.1
< 4.0.1

As the CVE record by GitHub_M states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
RubyGemsspree_auth_devise>= 4.3.0, < 4.4.14.4.1GHSA-26xx-m4q2-xhq8
RubyGemsspree_auth_devise>= 4.2.0, < 4.2.14.2.1GHSA-26xx-m4q2-xhq8
RubyGemsspree_auth_devise>= 4.1.0, < 4.1.14.1.1GHSA-26xx-m4q2-xhq8
RubyGemsspree_auth_devise< 4.0.14.0.1GHSA-26xx-m4q2-xhq8

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 1, 2025. Summary: Spree Auth Devise vulnerability allows for authentication bypass through CSRF weakness.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
spreecommercespree auth devisethrough 4.0.1application
spreecommercespree auth devisefrom 4.3.0 before 4.4.1application
spreecommercespree auth devise4.1.0application
spreecommercespree auth devise4.2.0application

NVD analysis (status Modified), last modified June 17, 2026, 04:08 UTC.

How severe is CVE-2021-41275?

ScoreVersionVectorSource
Critical 9.3CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:NGitHub_M
High 8.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HNVD
Medium 6.8CVSS 2.0AV:N/AC:M/Au:N/C:P/I:P/A:PNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2021-41275 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
EPSS
0.65% probability of exploitation activity in the next 30 days, percentile 52.3 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
September 15, 2021
Published
November 17, 2021, 19:50 UTC
CVE record updated
August 4, 2024, 03:08 UTC by GitHub_M
NVD
Modified, last modified June 17, 2026, 04:08 UTC
Last checked
CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:53 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

Questions about CVE-2021-41275

Is CVE-2021-41275 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.65% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of spree_auth_devise are affected by CVE-2021-41275?

spree_auth_devise from 4.3.0 before 4.4.1, spree_auth_devise from 4.2.0 before 4.2.1, spree_auth_devise from 4.1.0 before 4.1.1 and spree_auth_devise before 4.0.1, per the GitHub advisory GHSA-26xx-m4q2-xhq8. The tables above give every range the sources list.

Which version fixes CVE-2021-41275?

4.4.1, 4.2.1, 4.1.1 and 4.0.1, per the GitHub advisory GHSA-26xx-m4q2-xhq8. Check the vendor's advisory before you rely on it.

How severe is CVE-2021-41275?

Critical (9.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2021-41275?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.