BreachSpiderVerified, not vibes

CVE-2023-46241 in Discourse Microsoft Authentication

High 8.1

`discourse-microsoft-auth` is a plugin that enables authentication via Microsoft. On sites with the `discourse-microsoft-auth` plugin enabled, an attack can potentially take control of a victim's Discourse account. Sites that have configured their application's account type to any options other than `Accounts in thi...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.1
EPSS1.0%
EPSS percentile62th
FixUnknown

Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Discourse Microsoft Authentication < 2024-02-20

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

`discourse-microsoft-auth` is a plugin that enables authentication via Microsoft. On sites with the `discourse-microsoft-auth` plugin enabled, an attack can potentially take control of a victim's Discourse account. Sites that have configured their application's account type to any options other than `Accounts in this organizational directory only (O365 only - Single tenant)` are vulnerable. This vulnerability has been patched in commit c40665f44509724b64938c85def9fb2e79f62ec8 of `discourse-microsoft-auth`. A `microsoft_auth:revoke` rake task has also been added which will deactivate and log out all users that have connected their accounts to Microsoft. User API keys as well as API keys created by those users will also be revoked. The rake task will also remove the connection records to Microsoft for those users. This will allow affected users to re-verify their account emails as well as reconnect their Discourse account to Microsoft for authentication. As a workaround, disable the `discourse-microsoft-auth` plugin by setting the `microsoft_auth_enabled` site setting to `false`. Run the `microsoft_auth:log_out_users` rake task to log out all users with associated Microsoft accounts.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2023-46241
BreachSpider IDBS-2024-GLOBAL-051917-H
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2024-02-21
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-863: Incorrect Authorization

Software performs an authorization check incorrectly, allowing access beyond intended privileges.

Analysis AI-written, not human-reviewed

A vulnerability in the discourse-microsoft-auth plugin allows attackers to potentially take control of a victim's Discourse account if the site's application is configured with account types other than 'Accounts in this organizational directory only (O365 only - Single tenant)'.

The attack vector involves exploiting a misconfiguration in the discourse-microsoft-auth plugin settings, specifically when the account type is set to options other than 'Accounts in this organizational directory only (O365 only - Single tenant)'. This misconfiguration can allow unauthorized access and account takeover.

Questions

What is CVE-2023-46241?

A vulnerability in the discourse-microsoft-auth plugin allows attackers to potentially take control of a victim's Discourse account if the site's application is configured with account types other than 'Accounts in this organizational directory only (O365 only - Single tenant)'.

What is the CVSS score for CVE-2023-46241?

CVE-2023-46241 has CVSS 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.0%.

Is CVE-2023-46241 actively exploited?

No confirmed active exploitation of CVE-2023-46241 as of 2026-09-25.

How do I remediate CVE-2023-46241?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2023-46241?

CVE-2023-46241 affects Discourse Microsoft Authentication.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Discourse","product":"Microsoft Authentication","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.