CVE-2026-54741
published medium CVSS 4.0 · 5.3Lemmy: Blocked users can edit private messages sent before the block
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| LemmyNet | — | lemmy< 0.19.19 · >= 1.0.0-alpha.0, < 1.0.0-alpha.18 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| LemmyNet | lemmy | < 0.19.19 (affected)>= 1.0.0-alpha.0, < 1.0.0-alpha.18 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-862 CWE-862: Missing Authorization
References
7- https://github.com/LemmyNet/lemmy/commit/051b317c9d14b91972bb372c67f319d6900beb93
- https://github.com/LemmyNet/lemmy/commit/2d169d630b86b9351e4b1dca451214b741f46150
- https://github.com/LemmyNet/lemmy/pull/6472
- https://github.com/LemmyNet/lemmy/pull/6476
- https://github.com/LemmyNet/lemmy/releases/tag/0.19.19
- https://github.com/LemmyNet/lemmy/releases/tag/1.0.0-alpha.18
- https://github.com/LemmyNet/lemmy/security/advisories/GHSA-46g9-847m-qf8r
Provider assertions
2GitHub_M · cna
Lemmy: Blocked users can edit private messages sent before the block
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c1242ee42459afaa4b8044c922f6ef3592b4705f2ef00e6c2ab97bf64220ce90
- Ingested
- 23 Sep 2026, 09:20:39 UTC
- Source record
- Official CVE record