Search
Find a vulnerability
Search criteria
2 vulnerabilities found for oauth by FriendsOfFlarum
CVE-2026-92161 (GCVE-0-2026-92161)
Vulnerability from nvd – Published: 2026-09-25 15:53 – Updated: 2026-09-25 15:53
VLAI
EPSS
VEX
Title
FriendsOfFlarum OAuth: Unauthenticated account takeover via unverified email trust in Discord OAuth provider
Summary
FriendsOfFlarum OAuth allows users to log in to Flarum with GitHub, Twitter, Facebook, and other providers. Prior to 1.7.4 and 2.0.0-beta.4, the Discord OAuth provider does not check the verified field returned for an OAuth email before passing the address to Flarum core as trusted through provideTrustedEmail(). When Discord sign-in is enabled, an unauthenticated attacker who knows the email address of a Flarum user can configure a Discord account with that unverified address and a verified phone number, then sign in to cause Flarum to match the trusted address, link the attacker-controlled Discord identity to the existing user, and authenticate as the victim without a password or victim interaction. Exploitation requires that the victim's email address is not already associated with a Discord account, and it can compromise administrator accounts. Other bundled providers were not confirmed to be practically exploitable by this method because their relevant authentication flows return only verified or confirmed email addresses. This issue is fixed in versions 1.7.4 and 2.0.0-beta.4.
Severity
9.8 (Critical)
CWE
- CWE-345 - Insufficient Verification of Data Authenticity
Assigner
References
5 references
| URL | Tags |
|---|---|
| https://github.com/FriendsOfFlarum/oauth/security… | x_refsource_CONFIRM |
| https://github.com/FriendsOfFlarum/oauth/commit/b… | x_refsource_MISC |
| https://github.com/FriendsOfFlarum/oauth/commit/b… | x_refsource_MISC |
| https://github.com/FriendsOfFlarum/oauth/releases… | x_refsource_MISC |
| https://github.com/FriendsOfFlarum/oauth/releases… | x_refsource_MISC |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| FriendsOfFlarum | oauth |
Affected:
< 1.7.4
Affected: >= 2.0.0-beta.1, < 2.0.0-beta.4 |
{
"containers": {
"cna": {
"affected": [
{
"product": "oauth",
"vendor": "FriendsOfFlarum",
"versions": [
{
"status": "affected",
"version": "\u003c 1.7.4"
},
{
"status": "affected",
"version": "\u003e= 2.0.0-beta.1, \u003c 2.0.0-beta.4"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "FriendsOfFlarum OAuth allows users to log in to Flarum with GitHub, Twitter, Facebook, and other providers. Prior to 1.7.4 and 2.0.0-beta.4, the Discord OAuth provider does not check the verified field returned for an OAuth email before passing the address to Flarum core as trusted through provideTrustedEmail(). When Discord sign-in is enabled, an unauthenticated attacker who knows the email address of a Flarum user can configure a Discord account with that unverified address and a verified phone number, then sign in to cause Flarum to match the trusted address, link the attacker-controlled Discord identity to the existing user, and authenticate as the victim without a password or victim interaction. Exploitation requires that the victim\u0027s email address is not already associated with a Discord account, and it can compromise administrator accounts. Other bundled providers were not confirmed to be practically exploitable by this method because their relevant authentication flows return only verified or confirmed email addresses. This issue is fixed in versions 1.7.4 and 2.0.0-beta.4."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-345",
"description": "CWE-345: Insufficient Verification of Data Authenticity",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-09-25T15:53:34.825Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/FriendsOfFlarum/oauth/security/advisories/GHSA-g7vj-c29h-3h5m",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/FriendsOfFlarum/oauth/security/advisories/GHSA-g7vj-c29h-3h5m"
},
{
"name": "https://github.com/FriendsOfFlarum/oauth/commit/baca3466b3b7be51c70a7e0ba966901aefeb344a",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/FriendsOfFlarum/oauth/commit/baca3466b3b7be51c70a7e0ba966901aefeb344a"
},
{
"name": "https://github.com/FriendsOfFlarum/oauth/commit/bb4bf376832e6bb68c579715d2a4b5a92c4a2567",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/FriendsOfFlarum/oauth/commit/bb4bf376832e6bb68c579715d2a4b5a92c4a2567"
},
{
"name": "https://github.com/FriendsOfFlarum/oauth/releases/tag/1.7.4",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/FriendsOfFlarum/oauth/releases/tag/1.7.4"
},
{
"name": "https://github.com/FriendsOfFlarum/oauth/releases/tag/2.0.0-beta.4",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/FriendsOfFlarum/oauth/releases/tag/2.0.0-beta.4"
}
],
"source": {
"advisory": "GHSA-g7vj-c29h-3h5m",
"discovery": "UNKNOWN"
},
"title": "FriendsOfFlarum OAuth: Unauthenticated account takeover via unverified email trust in Discord OAuth provider"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-92161",
"datePublished": "2026-09-25T15:53:34.825Z",
"dateReserved": "2026-09-15T17:13:57.866Z",
"dateUpdated": "2026-09-25T15:53:34.825Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-92161 (GCVE-0-2026-92161)
Vulnerability from cvelistv5 – Published: 2026-09-25 15:53 – Updated: 2026-09-25 15:53
VLAI
EPSS
VEX
Title
FriendsOfFlarum OAuth: Unauthenticated account takeover via unverified email trust in Discord OAuth provider
Summary
FriendsOfFlarum OAuth allows users to log in to Flarum with GitHub, Twitter, Facebook, and other providers. Prior to 1.7.4 and 2.0.0-beta.4, the Discord OAuth provider does not check the verified field returned for an OAuth email before passing the address to Flarum core as trusted through provideTrustedEmail(). When Discord sign-in is enabled, an unauthenticated attacker who knows the email address of a Flarum user can configure a Discord account with that unverified address and a verified phone number, then sign in to cause Flarum to match the trusted address, link the attacker-controlled Discord identity to the existing user, and authenticate as the victim without a password or victim interaction. Exploitation requires that the victim's email address is not already associated with a Discord account, and it can compromise administrator accounts. Other bundled providers were not confirmed to be practically exploitable by this method because their relevant authentication flows return only verified or confirmed email addresses. This issue is fixed in versions 1.7.4 and 2.0.0-beta.4.
Severity
9.8 (Critical)
CWE
- CWE-345 - Insufficient Verification of Data Authenticity
Assigner
References
5 references
| URL | Tags |
|---|---|
| https://github.com/FriendsOfFlarum/oauth/security… | x_refsource_CONFIRM |
| https://github.com/FriendsOfFlarum/oauth/commit/b… | x_refsource_MISC |
| https://github.com/FriendsOfFlarum/oauth/commit/b… | x_refsource_MISC |
| https://github.com/FriendsOfFlarum/oauth/releases… | x_refsource_MISC |
| https://github.com/FriendsOfFlarum/oauth/releases… | x_refsource_MISC |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| FriendsOfFlarum | oauth |
Affected:
< 1.7.4
Affected: >= 2.0.0-beta.1, < 2.0.0-beta.4 |
{
"containers": {
"cna": {
"affected": [
{
"product": "oauth",
"vendor": "FriendsOfFlarum",
"versions": [
{
"status": "affected",
"version": "\u003c 1.7.4"
},
{
"status": "affected",
"version": "\u003e= 2.0.0-beta.1, \u003c 2.0.0-beta.4"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "FriendsOfFlarum OAuth allows users to log in to Flarum with GitHub, Twitter, Facebook, and other providers. Prior to 1.7.4 and 2.0.0-beta.4, the Discord OAuth provider does not check the verified field returned for an OAuth email before passing the address to Flarum core as trusted through provideTrustedEmail(). When Discord sign-in is enabled, an unauthenticated attacker who knows the email address of a Flarum user can configure a Discord account with that unverified address and a verified phone number, then sign in to cause Flarum to match the trusted address, link the attacker-controlled Discord identity to the existing user, and authenticate as the victim without a password or victim interaction. Exploitation requires that the victim\u0027s email address is not already associated with a Discord account, and it can compromise administrator accounts. Other bundled providers were not confirmed to be practically exploitable by this method because their relevant authentication flows return only verified or confirmed email addresses. This issue is fixed in versions 1.7.4 and 2.0.0-beta.4."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-345",
"description": "CWE-345: Insufficient Verification of Data Authenticity",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-09-25T15:53:34.825Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/FriendsOfFlarum/oauth/security/advisories/GHSA-g7vj-c29h-3h5m",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/FriendsOfFlarum/oauth/security/advisories/GHSA-g7vj-c29h-3h5m"
},
{
"name": "https://github.com/FriendsOfFlarum/oauth/commit/baca3466b3b7be51c70a7e0ba966901aefeb344a",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/FriendsOfFlarum/oauth/commit/baca3466b3b7be51c70a7e0ba966901aefeb344a"
},
{
"name": "https://github.com/FriendsOfFlarum/oauth/commit/bb4bf376832e6bb68c579715d2a4b5a92c4a2567",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/FriendsOfFlarum/oauth/commit/bb4bf376832e6bb68c579715d2a4b5a92c4a2567"
},
{
"name": "https://github.com/FriendsOfFlarum/oauth/releases/tag/1.7.4",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/FriendsOfFlarum/oauth/releases/tag/1.7.4"
},
{
"name": "https://github.com/FriendsOfFlarum/oauth/releases/tag/2.0.0-beta.4",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/FriendsOfFlarum/oauth/releases/tag/2.0.0-beta.4"
}
],
"source": {
"advisory": "GHSA-g7vj-c29h-3h5m",
"discovery": "UNKNOWN"
},
"title": "FriendsOfFlarum OAuth: Unauthenticated account takeover via unverified email trust in Discord OAuth provider"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-92161",
"datePublished": "2026-09-25T15:53:34.825Z",
"dateReserved": "2026-09-15T17:13:57.866Z",
"dateUpdated": "2026-09-25T15:53:34.825Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}