{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-54742",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-06-15T23:12:41.964Z",
        "datePublished": "2026-08-19T20:10:56.632Z",
        "dateUpdated": "2026-08-20T20:01:19.950Z"
    },
    "containers": {
        "cna": {
            "title": "Lemmy: `CollectionAdd::Featured` does not check the post is in the community",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-863",
                            "lang": "en",
                            "description": "CWE-863: Incorrect Authorization",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "HIGH",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "LOW",
                        "vulnAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 5.1,
                        "baseSeverity": "MEDIUM",
                        "vectorString": "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",
                        "version": "4.0"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/LemmyNet/lemmy/security/advisories/GHSA-gwfj-h8r7-792v",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/LemmyNet/lemmy/security/advisories/GHSA-gwfj-h8r7-792v"
                },
                {
                    "name": "https://github.com/LemmyNet/lemmy/pull/6500",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/LemmyNet/lemmy/pull/6500"
                },
                {
                    "name": "https://github.com/LemmyNet/lemmy/pull/6501",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/LemmyNet/lemmy/pull/6501"
                },
                {
                    "name": "https://github.com/LemmyNet/lemmy/commit/108d78c592cc88bac2b0bf52ca6631be54f6fb23",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/LemmyNet/lemmy/commit/108d78c592cc88bac2b0bf52ca6631be54f6fb23"
                },
                {
                    "name": "https://github.com/LemmyNet/lemmy/commit/abe256243822526dcd4bca857f7c0adeb49944f5",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/LemmyNet/lemmy/commit/abe256243822526dcd4bca857f7c0adeb49944f5"
                },
                {
                    "name": "https://github.com/LemmyNet/lemmy/releases/tag/0.19.19",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/LemmyNet/lemmy/releases/tag/0.19.19"
                },
                {
                    "name": "https://github.com/LemmyNet/lemmy/releases/tag/1.0.0-alpha.20",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/LemmyNet/lemmy/releases/tag/1.0.0-alpha.20"
                },
                {
                    "name": "https://join-lemmy.org/news/2026-06-09_-_Lemmy_Release_v0.19.19",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://join-lemmy.org/news/2026-06-09_-_Lemmy_Release_v0.19.19"
                }
            ],
            "affected": [
                {
                    "vendor": "LemmyNet",
                    "product": "lemmy",
                    "versions": [
                        {
                            "version": "< 0.19.19",
                            "status": "affected"
                        },
                        {
                            "version": ">= 1.0.0-alpha.0, < 1.0.0-alpha.20",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-08-19T20:10:56.632Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "source": {
                "advisory": "GHSA-gwfj-h8r7-792v",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "references": [
                    {
                        "url": "https://github.com/LemmyNet/lemmy/security/advisories/GHSA-gwfj-h8r7-792v",
                        "tags": [
                            "exploit"
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-08-20T20:01:14.417876Z",
                                "id": "CVE-2026-54742",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-08-20T20:01:19.950Z"
                }
            }
        ]
    }
}