CVE-2026-54742 json
Lemmy: `CollectionAdd::Featured` does not check the post is in the community
published 5mo ago modified 2mo ago also EUVD-2026-62841 , GHSA-gwfj-h8r7-792v
Unreviewed: the maintainers' own advisory
Published by the maintainers on their GitHub repository LemmyNet/lemmy. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.
- cvss
- 5.1
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 46%
- public exploits
- 0
- none known
Summary
Lemmy is a link aggregator and forum for the fediverse. From 0.19.18 until 0.19.19 and 1.0.0-alpha.20, a community moderator can feature or unfeature posts in other communities through federated CollectionAdd and CollectionRemove activities using CollectionType::Featured. After verify_mod_action authorizes the actor against self.community(), the receive handlers in crates/apub/activities/src/community/collection_add.rs and crates/apub/activities/src/community/collection_remove.rs dereference self.object as an ApubPost and update featured_community without verifying that post.community_id equals community.id. A moderator can therefore target an unrelated post owned by another community, push it into featured feeds and listings, or undo another community's legitimate curation decision. This issue is fixed in versions 0.19.19 and 1.0.0-alpha.20.
Patch / fix
- join-lemmy lemmy 0.19.19, 1.0.0-alpha.20
- github.com/LemmyNet/lemmy@108d78c commit
- github.com/LemmyNet/lemmy@abe2562 commit
- github.com/LemmyNet/lemmy#6500 pull request
- github.com/LemmyNet/lemmy#6501 pull request
- github.com/LemmyNet/lemmy/releases/tag/0.19.19 release
- github.com/LemmyNet/lemmy/releases/tag/1.0.0-alpha.20 release
Is CVE-2026-54742 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2mo ago
Exploit prediction
0.55% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-11).
Exploits and checks
- github.com https://github.com/LemmyNet/lemmy/security/advisories/GHSA-gwfj-h8r7-792v referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 5.1 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| CNA | 4.0 | 5.1 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected products
- LemmyNet lemmy
Classification
- Weakness
-
- CWE-863 Incorrect Authorization
References
- github.com /LemmyNet/lemmy/pull/6500
- github.com /LemmyNet/lemmy/pull/6501
- github.com /LemmyNet/lemmy/commit/108d78c592cc88bac2b0bf52ca6631be54f6fb23
- github.com /LemmyNet/lemmy/commit/abe256243822526dcd4bca857f7c0adeb49944f5
-
github.com
/LemmyNet/lemmy/security/advisories/GHSA-gwfj-h8r7-792v
exploit, advisory
- github.com /LemmyNet/lemmy/releases/tag/0.19.19
- github.com /LemmyNet/lemmy/releases/tag/1.0.0-alpha.20
- join-lemmy.org /news/2026-06-09_-_Lemmy_Release_v0.19.19
Sources
- CVE List CVE-2026-54742
- NVD CVE-2026-54742
- Maintainer advisory GHSA-gwfj-h8r7-792v
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of LemmyNet/lemmy published their own advisory on GitHub. Reviewed sources take precedence over it.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.