Skip to main content

Lemmy EUVDEUVD-2026-62844

| CVE-2026-54740 MEDIUM
Missing Authorization (CWE-862)
2026-08-19 GitHub_M
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker holds moderator role on remote federated instance
  2. Delivery
    Identify victim community with cross-instance senior moderators
  3. Exploit
    Craft signed ActivityPub Remove activity targeting senior moderator
  4. Execution
    Submit activity to victim instance federation inbox
  5. Persist
    CollectionRemove::receive processes activity without rank check
  6. Impact
    CommunityActions::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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

lemmy 1.0.0-alpha.0, < 1.0.0-alpha.18
lemmy < 0.19.19

Affected Packages

euvd lemmy fix: 0.19.19
euvd lemmy_1_0_0_alpha_0 fix: 1.0.0-alpha.18

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

Vendor (GitHub_M) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
vuln.today AI 6.5 MEDIUM

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).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Lifecycle Timeline

1
Patch available
Aug 19, 2026 - 21:17 EUVD

DescriptionCVE.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

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Low
niche fediverse platform, limited enterprise or broad consumer footprint
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy