Skip to main content
← All vulnerabilities
CVE-2026-54741

Lemmy: Blocked users can edit private messages sent before the block

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.19.19, 1.0.0-alpha.18
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • LemmyNet lemmy

    fixed in 0.19.19; From 1.0.0-alpha.0 · fixed in 1.0.0-alpha.18

References 7

GitHub · LemmyNet/lemmy