Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker holds moderator role on remote federated instance
-
DeliveryIdentify victim community with cross-instance senior moderators
-
ExploitCraft signed ActivityPub Remove activity targeting senior moderator
-
ExecutionSubmit activity to victim instance federation inbox
-
PersistCollectionRemove::receive processes activity without rank check
-
ImpactCommunityActions::leave strips senior moderator from community list
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must hold an active moderator role (any rank) on the target community as recognized by the victim instance - this requires prior legitimate or social-engineering-based moderator appointment on a federated remote instance. The victim Lemmy instance must have ActivityPub federation enabled (the default configuration) and must host communities with at least one moderator whose account resides on a different instance. Exploitation is blocked for: communities whose moderators are exclusively local accounts; instances with federation disabled; and instances running patched versions (0.19.19 or 1.0.0-alpha.18 and later). The attack requires no user interaction on the victim side and no special network positioning beyond the ability to send ActivityPub activities over HTTPS to the victim instance's inbox. |
| Impact | The CVSS 6.5 score with vector AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N accurately characterizes the threat: network-reachable, low complexity, requiring only low-privileged access (moderator status on any federated instance), with high integrity impact confined to the vulnerable system. There is no confidentiality or availability impact, so the real-world harm is governance disruption - senior moderators ejected from communities - rather than data exfiltration or service outage. No EPSS score was provided in the input data, limiting probabilistic exploitation estimates. The vulnerability is not listed in CISA KEV, and no public proof-of-concept code has been identified. The attack surface is bounded by federation topology: only instances with ActivityPub enabled (the default) and communities that have granted moderator roles to users from external instances are reachable targets. This means single-instance deployments or tightly controlled communities are not exposed. Overall, the practical urgency is moderate - the patch is available and the impact is limited to community governance rather than system integrity - but any federated multi-instance operator should treat this as a prompt upgrade priority given the ease of exploitation (AC:L, no special tooling beyond a valid signed ActivityPub activity). |
| Exploit ScenarioDerived | A moderator account on a federated remote Lemmy instance identifies a target community on a victim instance where that account holds moderator status alongside higher-ranked local moderators. The attacker constructs and signs a valid ActivityPub Remove activity naming a senior moderator as the object and submits it to the victim instance via standard federation channels. The victim instance's CollectionRemove handler accepts the activity, bypasses the rank check, and removes the senior moderator from the community list - with no warning or visible error to the victim or local admins beyond a moderator list change. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 19, 2026
Missing moderator rank authorization in Lemmy's ActivityPub federation layer allows a lower-ranked remote moderator to forcibly remove a higher-ranked moderator from a community by sending a crafted signed Remove activity. Affected versions prior to 0.19.19 and 1.0.0-alpha.18 enforce hierarchy correctly in the local REST API via LocalUser::is_higher_mod_or_admin_check, but CollectionRemove::verify in the federation path skips this rank check entirely, trusting only that the actor holds some moderator role. An authenticated moderator on any federated remote instance can therefore subvert community governance on the victim instance without the local API's protections. No public exploit code has been identified at time of analysis, and patches are available in both stable and alpha release lines.
RemediationAI
The primary fix is to upgrade to Lemmy 0.19.19 (stable) or 1.0.0-alpha.18 (alpha), both of which add the moderator rank check inside the ActivityPub CollectionRemove handler for local communities. Release notes and binaries are available at https://github.com/LemmyNet/lemmy/releases/tag/0.19.19 and the community announcement at https://join-lemmy.org/news/2026-06-09_-_Lemmy_Release_v0.19.19. If immediate patching is not feasible, a partial compensating control is to audit and restrict cross-instance moderator assignments: removing remote-instance users from senior moderator roles on sensitive communities eliminates the attack vector for those communities, though this reduces federation utility. Disabling federation entirely (if operationally acceptable) would fully block the attack path but severs the instance from the wider fediverse. There is no configuration toggle or network-layer workaround that selectively blocks malicious Remove activities without also disrupting legitimate federation traffic.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Lemmy implements ActivityPub federation for its fediverse link-aggregator and forum functionality, exchanging signed activities between instances. The vulnerability is in crates/apub/activities/src/community/collection_remove.rs: CollectionRemove::verify calls verify_mod_action, which confirms the actor is a moderator, but does not invoke LocalUser::is_higher_mod_or_admin_check, which is the function that enforces rank ordering. CollectionRemove::receive then dereferences self.object as an ApubPerson, constructs a CommunityModeratorForm, and calls CommunityActions::leave - stripping the target from the moderator list - without ever comparing the actor's rank against the target's rank. CWE-862 (Missing Authorization) accurately classifies this: the authorization step exists in the local code path but is absent in the federated code path. The fix in PR #6475 adds the rank check for local communities inside the ActivityPub handler, while correctly acknowledging that remote communities cannot always be fully validated due to incomplete federated mod-info. CPE: cpe:2.3:a:lemmynet:lemmy:*:*:*:*:*:*:*:*.
Know when Lemmy gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Actor must hold moderator status (PR:L); exploit is delivered over the network via ActivityPub (AV:N); no confidentiality or availability impact, only moderator-list integrity (C:N/I:H/A:N).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
Lemmy is a link aggregator and forum for the fediverse. Prior to 0.19.19 and 1.0.0-alpha.18, a lower-ranked remote moderator can remove a higher-ranked moderator by sending a signed ActivityPub Remove activity to the target instance. The local API uses LocalUser::is_higher_mod_or_admin_check to enforce moderator rank, but CollectionRemove::verify in crates/apub/activities/src/community/collection_remove.rs only calls verify_mod_action. CollectionRemove::receive dereferences self.object as an ApubPerson, creates a CommunityModeratorForm, and calls CommunityActions::leave without checking that the actor outranks the moderator identified by the object field. In communities with federated moderators, a junior moderator can therefore strip senior moderators from the community moderator list even though the local API rejects the same action. This issue is fixed in versions 0.19.19 and 1.0.0-alpha.18.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Username enumeration in Lemmy's login endpoint allows unauthenticated remote attackers to confirm whether a given userna
Rate limit bypass in Lemmy prior to 0.19.19 and 1.0.0-beta.1 allows unauthenticated remote attackers to circumvent all I
Server-side request forgery (SSRF) in Lemmy prior to version 0.19.18 allows authenticated low-privileged users to bypass
Lemmy is a link aggregator and forum for the fediverse. Rated medium severity (CVSS 6.5), this vulnerability is remotely
Stored cross-site scripting in lemmy-ui prior to 0.19.19-beta.1 allows session hijacking and unauthorized authenticated
Server-side request forgery (SSRF) in Lemmy prior to version 0.19.18 allows authenticated low-privileged users to trigge
Private message block enforcement in Lemmy is bypassed by the edit path, allowing a blocked sender to keep modifying old
EUVD-2026-62844
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB