CVE-2022-31025
mediumpriority · track · 21EPSS 0.010 · 63 %ileEUUSEPSS · scored 2026-10-27
Discourse is an open source platform for community discussion. Prior to version 2.8.4 on the `stable` branch and 2.9.0beta5 on the `beta` and `tests-passed` branches, inviting users on sites that use single sign-on could bypass the `must_approve_users` check and invites by staff are always approved automatically. The issue is patched in Discourse version 2.8.4 on the `stable` branch and version `2.9.0.beta5` on the `beta` and `tests-passed` branches. As a workaround, disable invites or increase `min_trust_level_to_allow_invite` to reduce the attack surface to more trusted users.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 2.6–5.3
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (5)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- BIT-discourse-2022-31025Invite bypasses user approval in Discourse2024-03-06vendor · osvUS
Discourse is an open source platform for community discussion. Prior to version 2.8.4 on the `stable` branch and 2.9.0 on the `beta` and `tests-passed` branches, inviting users on sites that use single sign-on could bypass the `must_approve_users` check and invites by staff are always approved automatically. The issue is patched in Discourse version 2.8.4 on the `stable` branch and version `2.9.0.beta5` on the `beta` and `tests-passed` branches. As a workaround, disable invites or increase `min_trust_level_to_allow_invite` to reduce the attack surface to more trusted users.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (16)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-31025/cnnvd
- https://github.com/discourse/discourse/commit/0fa0094531efc82d9371f90a02aa804b176d59cfcnnvd
- https://github.com/discourse/discourse/commit/7c4e2d33fa4b922354c177ffc880a2f2701a91f9cnnvd
- https://github.com/discourse/discourse/pull/16974cnnvd
- https://github.com/discourse/discourse/pull/16984cnnvd
- https://github.com/discourse/discourse/security/advisories/GHSA-x7jh-mx5q-6f9qcnnvd
- https://github.com/discourse/discourse/commit/0fa0094531efc82d9371f90a02aa804b176d59cfenisa_euvd
- https://github.com/discourse/discourse/commit/7c4e2d33fa4b922354c177ffc880a2f2701a91f9enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan