Skip to main content

Lemmy CVE-2026-54741

| EUVDEUVD-2026-62843 MEDIUM
Missing Authorization (CWE-862)
2026-08-19 GitHub_M
5.3
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Attacker sends initial private message to victim
  2. Delivery
    Victim blocks attacker
  3. Exploit
    Block prevents new message creation
  4. Execution
    Attacker calls edit endpoint on prior message with new content
  5. Persist
    Block check absent in update path, content persisted
  6. Impact
    Victim receives modified message despite active block

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

Exploitation requires an active authenticated Lemmy account (PR:L) and that the attacker have sent at least one private message to the target recipient before the block was applied - the attacker can only edit pre-existing messages, not create new ones post-block. Private messaging must be enabled on the instance (check_private_messages_enabled is also added by the fix). The bypass is limited to the edit endpoint; the create path correctly enforces the block check. Unauthenticated users cannot exploit this. Attackers who never sent a prior message to the victim before being blocked have no message to edit and cannot exploit the flaw. There is no requirement for elevated roles, admin access, or any non-default instance configuration beyond private messaging being enabled.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N) scores 5.3 Medium, accurately reflecting that exploitation requires authentication (PR:L) and produces only limited integrity impact (VI:L) with no confidentiality or availability consequence. The real-world risk is a harassment enablement path, not data theft or service disruption - a blocked user can persistently rewrite an old message to inject new unwanted content to the recipient. No CISA KEV listing and no public exploit code have been identified, making active widespread exploitation unlikely. EPSS data was not provided in the input and cannot be independently assessed. Attack complexity is low (AC:L) with no special timing or attack prerequisites (AT:N), so the mechanics are trivial for any authenticated user who previously messaged the victim. Despite the low severity tier, community-facing Lemmy instances should treat this as a prompt patching priority given the direct user safety implications of harassment bypass.

Exploit ScenarioDerived

An authenticated Lemmy user sends a private message to a target, who then blocks the sender. The now-blocked sender crafts a standard API edit request to the edit_private_message endpoint referencing the original message ID and supplies new harassing content; the endpoint accepts the update without consulting the block list, persists the modified text, and returns the updated PrivateMessageView - the victim sees the new content despite having blocked the sender. No special tooling is required beyond a standard HTTP client or Lemmy API access.

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

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

Alert me

AnalysisAIv1 – Aug 19, 2026

Private message block enforcement in Lemmy is bypassed by the edit path, allowing a blocked sender to keep modifying old messages visible to the recipient. All Lemmy instances running versions prior to 0.19.19 (stable) and 1.0.0-alpha.18 (alpha) are affected. An authenticated attacker who has been blocked by a recipient can repeatedly call the edit endpoint on any previously sent message, delivering new content and providing a post-block harassment channel - defeating the intent of Lemmy's block feature. No public exploit has been identified at time of analysis, and the vulnerability is not listed in CISA KEV.

RemediationAI

Upgrade to Lemmy 0.19.19 (stable) available at https://github.com/LemmyNet/lemmy/releases/tag/0.19.19 or to 1.0.0-alpha.18 (development track) at https://github.com/LemmyNet/lemmy/releases/tag/1.0.0-alpha.18; both releases include the fix from PRs #6472 and #6476 and commits 051b317c9d14b91972bb372c67f319d6900beb93 and 2d169d630b86b9351e4b1dca451214b741f46150. If an immediate upgrade is not feasible, instance administrators can disable private messaging entirely via the site settings (private_messages_enabled = false), which eliminates the attack surface completely but removes all private messaging functionality for all users - a significant usability trade-off. There is no known partial workaround that preserves private messaging while blocking only the edit bypass path.

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 is a federated link aggregator and forum built in Rust for the fediverse (ActivityPub ecosystem). The root cause is CWE-862 (Missing Authorization): the create_private_message handler correctly calls PersonActions::read_block against the recipient's block list before inserting a new message, but edit_private_message in crates/api/api_crud/src/private_message/update.rs only validates that the caller matches orig_private_message.creator_id, confirming authorship without re-checking the block relationship. The PR #6472 fix adds an identical PersonActions::read_block call and a check_private_messages_enabled guard to the update path. The affected CPE is cpe:2.3:a:lemmynet:lemmy:*:*:*:*:*:*:*:*, covering all pre-patch releases on both the stable and alpha development branches.

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 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 4.3 MEDIUM

Network-reachable API requires only low-privilege authentication; impact is limited to modifying own prior messages (I:L), with no confidentiality, availability, or scope impact.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: 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, Lemmy blocks new private messages from a sender after the recipient blocks that sender, but the edit path skips the same block check. create_private_message checks the recipient's block list with PersonActions::read_block before inserting a message, while edit_private_message in crates/api/api_crud/src/private_message/update.rs only checks that the caller is orig_private_message.creator_id. The update then writes new content and returns the modified PrivateMessageView without consulting the recipient's block list, allowing a blocked sender to keep changing an old message that the recipient can still see and providing a post-block harassment path. This issue is fixed in versions 0.19.19 and 1.0.0-alpha.18.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Low
niche open-source fediverse platform, limited mainstream or enterprise deployment
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.4%
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

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
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