Security advisory
solidus_auth_devise provides authentication services for the Solidus webstore framework, using the Devise gem. In affected versions solidus_auth_devise is subject to a CSRF vulnerability that allows user account takeover. All applications using any version of the frontend component of `solidus_auth_devise` are affected if `protect_from_forgery` method is both: Executed whether as: A `before_action` callback (the default) or 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 should promptly update to `solidus_auth_devise` version `2.5.4`. Users unable to update should if possible, change their strategy to `:exception`. Please see the linked GHSA for more workaround details.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-41274
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:20 UTC · Revision 1
Source evidence
solidus_auth_devise provides authentication services for the Solidus webstore framework, using the Devise gem. In affected versions solidus_auth_devise is subject to a CSRF vulnerability that allows user account takeover. All applications using any version of the frontend component of `solidus_auth_devise` are affected if `protect_from_forgery` method is both: Executed whether as: A `before_action` callback (the default) or 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 should promptly update to `solidus_auth_devise` version `2.5.4`. Users unable to update should if possible, change their strategy to `:exception`. Please see the linked GHSA for more workaround details.
osv:CVE-2021-41274
Complete source record
{
"id": "91f73df4b9d6d9ac251b418845bf916667abc6e0bf934f97214cb363120d95b7",
"url": "https://osv.dev/vulnerability/CVE-2021-41274",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-41274",
"summary": "solidus_auth_devise provides authentication services for the Solidus webstore framework, using the Devise gem. In affected versions solidus_auth_devise is subject to a CSRF vulnerability that allows user account takeover. All applications using any version of the frontend component of `solidus_auth_devise` are affected if `protect_from_forgery` method is both: Executed whether as: A `before_action` callback (the default) or 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 should promptly update to `solidus_auth_devise` version `2.5.4`. Users unable to update should if possible, change their strategy to `:exception`. Please see the linked GHSA for more workaround details.",
"evidence": "osv:CVE-2021-41274",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-41274",
"aliases": [
"CVE-2021-41274",
"GHSA-xm34-v85h-9pg2"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/solidusio/solidus_auth_devise",
"type": "GIT",
"events": [
{
"introduced": "32496f9875de6b773522c306fd2501c12c08d08f"
},
{
"fixed": "b02f89132758be58c215128e80decf96f103d55f"
},
{
"fixed": "731a6645e90ea9fd228f78ec53c6976c048a0555"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:nebulab:solidus_auth_devise:*:*:*:*:*:ruby:*:*",
"range": [
{
"introduced": "1.0.0"
},
{
"fixed": "2.5.4"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "731a6645e90ea9fd228f78ec53c6976c048a0555"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v2.5.3",
"v2.5.2",
"v2.5.1",
"v2.5.0",
"v2.4.0",
"v2.3.0",
"v2.2.0",
"v2.1.0",
"v1.6.4",
"v2.0.0",
"v1.6.3",
"v1.6.2",
"v1.6.1",
"v1.6.0",
"v1.5.0",
"v1.4.0",
"v1.3.0",
"v1.2.3",
"v1.2.2",
"v1.2.0",
"v1.1.0",
"v1.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41274.json"
}
}
],
"modified": "2026-10-20T10:53:59.396226183Z",
"provider": "osv",
"references": [
"https://github.com/solidusio/solidus_auth_devise/commit/731a6645e90ea9fd228f78ec53c6976c048a0555",
"https://github.com/solidusio/solidus_auth_devise/security/advisories/GHSA-xm34-v85h-9pg2"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-41274",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 384805,
"published_at": "2021-11-17T20:15:10.463+00:00"
}