Skip to main content
EPSS 0.4%top 65%

CVE-2026-54740: CWE-862: Missing Authorization in LemmyNet lemmy

0
Medium
VulnerabilityCVE-2026-54740cvecve-2026-54740cwe-862
Published: 08/19/2026 (08/19/2026, 20:14:29 UTC)
Source: CVE Database V5
Vendor/Project: LemmyNet
Product: lemmy

Description

CVE-2026-54740 is a missing authorization vulnerability in LemmyNet's lemmy software that allows a lower-ranked remote moderator to remove a higher-ranked moderator in federated communities. This occurs because the verification logic for moderator removal does not properly check the actor's rank against the target moderator's rank. The issue affects versions prior to 0.19.19 and 1.0.0-alpha.18 and has been fixed in those versions.

CVSS v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Affected software

LemmyNet

lemmy

Affected versions
<0.19.19>=1.0.0-alpha.0 <1.0.0-alpha.18
GitHub Actionsmore threats →ai
lemmynet/lemmy
pkg:github/lemmynet/lemmy
Affected versions
>=0 <0.19.19

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/11/2026, 05:17:49 UTC

Technical Analysis

LemmyNet's lemmy software contains a missing authorization vulnerability (CWE-862) where 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 enforces moderator rank via LocalUser::is_higher_mod_or_admin_check, but the federated removal logic in CollectionRemove::verify only calls verify_mod_action and does not check that the actor outranks the moderator identified by the object field. This allows junior moderators in federated communities to strip senior moderators from the community moderator list, bypassing local API restrictions. The vulnerability is fixed in versions 0.19.19 and 1.0.0-alpha.18.

Potential Impact

An attacker with lower moderator privileges on a federated instance can remove higher-ranked moderators from communities, potentially disrupting community moderation and governance. The vulnerability does not impact confidentiality or availability but allows unauthorized modification of moderator roles, impacting integrity.

Mitigation Recommendations

Upgrade lemmy to version 0.19.19 or later, or 1.0.0-alpha.18 or later, where this authorization issue is fixed. No other mitigation is required as the fix addresses the root cause.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-15T23:07:33.233Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a86e0f3acd9273b49838518

Added to database: 08/20/2026, 11:11:47 UTC

Last enriched: 09/11/2026, 05:17:49 UTC

Last updated: 10/05/2026, 06:48:17 UTC

Views: 76

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses