CVE-2026-54742: Lemmy: `CollectionAdd::Featured` does not check the post is in the community

Published Aug 19, 2026
·
Updated

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 verifymodaction authorizes the actor against self.community(), the receive handlers in crates/apub/activities/src/community/collectionadd.rs and crates/apub/activities/src/community/collectionremove.rs dereference self.object as an ApubPost and update featuredcommunity without verifying that post.communityid 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.

Affected Software

1 affected component
Lemmy Lemmy>0.19.18<=0.19.19, =1.0.0-alpha.20

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 0.19.19
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.0.0-alpha.20

Event History

Aug 19, 2026
CVE Published
via MITRE·08:10 PM
Data Sourced
via MITRE·08:10 PM
DescriptionWeakness

Frequently Asked Questions

1

Which deployments are affected?

Lemmy versions from 0.19.18 until the fixes in 0.19.19 and 1.0.0-alpha.20 are affected. Deployments running 0.19.19 or 1.0.0-alpha.20 are identified as fixed.

2

What access does an attacker need?

The attacker needs community moderator privileges. The issue is exercised through federated CollectionAdd or CollectionRemove activities using CollectionType::Featured.

3

What can a malicious moderator do?

A moderator can feature or unfeature a post belonging to another community. This can place unrelated posts into featured feeds and listings or reverse another community's legitimate featured-post decision.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203