Security advisory
trestle-auth is an authentication plugin for the Trestle admin framework. A vulnerability in trestle-auth versions 0.4.0 and 0.4.1 allows an attacker to create a form that will bypass Rails' built-in CSRF protection when submitted by a victim with a trestle-auth admin session. This potentially allows an attacker to alter protected data, including admin account credentials. The vulnerability has been fixed in trestle-auth 0.4.2 released to RubyGems.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-29435
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:16 UTC · Revision 1
Source evidence
trestle-auth is an authentication plugin for the Trestle admin framework. A vulnerability in trestle-auth versions 0.4.0 and 0.4.1 allows an attacker to create a form that will bypass Rails' built-in CSRF protection when submitted by a victim with a trestle-auth admin session. This potentially allows an attacker to alter protected data, including admin account credentials. The vulnerability has been fixed in trestle-auth 0.4.2 released to RubyGems.
osv:CVE-2021-29435
Complete source record
{
"id": "6b789309f2e6e8f496b5d9b09f241f6e6ef1a18a7f701f132aa5acf996b8af5c",
"url": "https://osv.dev/vulnerability/CVE-2021-29435",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-29435",
"summary": "trestle-auth is an authentication plugin for the Trestle admin framework. A vulnerability in trestle-auth versions 0.4.0 and 0.4.1 allows an attacker to create a form that will bypass Rails' built-in CSRF protection when submitted by a victim with a trestle-auth admin session. This potentially allows an attacker to alter protected data, including admin account credentials. The vulnerability has been fixed in trestle-auth 0.4.2 released to RubyGems.",
"evidence": "osv:CVE-2021-29435",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-29435",
"aliases": [
"CVE-2021-29435",
"GHSA-h8hx-2c5r-32cf"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/trestleadmin/trestle-auth",
"type": "GIT",
"events": [
{
"introduced": "e57cda555a25caf4f6c02bd122cf07cf4b4c7b7a"
},
{
"last_affected": "71d7f3d9f32d2f2cae385a9d9beb397a142b9203"
},
{
"fixed": "cb95b05cdb2609052207af07b4b8dfe3a23c11dc"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:trestle-auth_project:trestle-auth:0.4.0:*:*:*:*:ruby:*:*",
"range": [
{
"introduced": "0.4.0"
},
{
"last_affected": "0.4.0"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:trestle-auth_project:trestle-auth:0.4.1:*:*:*:*:ruby:*:*",
"range": [
{
"introduced": "0.4.1"
},
{
"last_affected": "0.4.1"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "cb95b05cdb2609052207af07b4b8dfe3a23c11dc"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"0.4.0",
"0.4.1",
"v0.4.1",
"v0.4.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-29435.json"
}
}
],
"modified": "2026-10-20T10:53:43.039344991Z",
"provider": "osv",
"references": [
"https://github.com/TrestleAdmin/trestle-auth/security/advisories/GHSA-h8hx-2c5r-32cf",
"https://rubygems.org/gems/trestle-auth",
"https://github.com/TrestleAdmin/trestle-auth/commit/cb95b05cdb2609052207af07b4b8dfe3a23c11dc"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-29435",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 384534,
"published_at": "2021-04-13T20:15:21.907+00:00"
}