{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-54740","id":"CVE-2026-54740","title":"Lemmy: Lower-ranked federated moderator can remove higher-ranked moderators","description":"Lemmy is a link aggregator and forum for the fediverse. Prior to 0.19.19 and 1.0.0-alpha.18, a lower-ranked remote moderator can remove a higher-ranked moderator by sending a signed ActivityPub Remove activity to the target instance. The local API uses LocalUser::is_higher_mod_or_admin_check to enforce moderator rank, but CollectionRemove::verify in crates/apub/activities/src/community/collection_","descriptionLong":"Lemmy is a link aggregator and forum for the fediverse. Prior to 0.19.19 and 1.0.0-alpha.18, a lower-ranked remote moderator can remove a higher-ranked moderator by sending a signed ActivityPub Remove activity to the target instance. The local API uses LocalUser::is_higher_mod_or_admin_check to enforce moderator rank, but CollectionRemove::verify in crates/apub/activities/src/community/collection_remove.rs only calls verify_mod_action. CollectionRemove::receive dereferences self.object as an ApubPerson, creates a CommunityModeratorForm, and calls CommunityActions::leave without checking that the actor outranks the moderator identified by the object field. In communities with federated moderators, a junior moderator can therefore strip senior moderators from the community moderator list even though the local API rejects the same action. This issue is fixed in versions 0.19.19 and 1.0.0-alpha.18.","published":"2026-08-19T20:14:29.391Z","updated":"2026-11-11T10:47:34.682946544Z","reserved":"2026-06-15T23:07:33.233Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"OSV"}],"rating":"medium","products":["LemmyNet lemmy"],"affectedProducts":[{"vendor":"LemmyNet","product":"lemmy","defaultStatus":null,"versions":[{"version":"< 0.19.19","status":"affected"},{"version":">= 1.0.0-alpha.0, < 1.0.0-alpha.18","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-862"],"aliases":["GHSA-xmpx-2j2f-c7g7"],"references":[{"url":"https://github.com/LemmyNet/lemmy/security/advisories/GHSA-xmpx-2j2f-c7g7","tags":["x_refsource_CONFIRM","exploit","advisory"]},{"url":"https://github.com/LemmyNet/lemmy/pull/6475","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/LemmyNet/lemmy/pull/6478","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/LemmyNet/lemmy/commit/d127e714a66f34f6b9c8ea15f20097ac907cdf28","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/LemmyNet/lemmy/commit/ede1d348344ca2027fd1bc6a0cab25575c0c3a4c","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/LemmyNet/lemmy/releases/tag/0.19.19","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/LemmyNet/lemmy/releases/tag/1.0.0-alpha.18","tags":["x_refsource_MISC","web"]},{"url":"https://join-lemmy.org/news/2026-06-09_-_Lemmy_Release_v0.19.19","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54740.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54740","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00427,"epssPercentile":0.37733,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-54740","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54740","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-54740","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-54740","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}