{"id":"CVE-2026-88974","state":"PUBLISHED","title":"WPGraphQL: Contributor can publish and modify posts without the required capabilities via updatePost","description":"WPGraphQL provides a GraphQL API for WordPress sites. Prior to 2.22.2, the updatePost mutation in src/Mutation/PostObjectUpdate.php checks only the collection-level edit_posts capability and the post author, but does not enforce the object-level edit_post capability or require publish_posts for public status transitions. An authenticated Contributor can therefore publish the Contributor's own draft without editorial approval or modify the Contributor's previously published post despite lacking edit_published_posts, while posts owned by other authors remain protected. This issue is fixed in version 2.22.2.","publishedAt":"2026-09-23T14:11:06.092Z","updatedAt":"2026-09-23T16:21:35.694Z","severity":{"score":5.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["wp-graphql wp-graphql"],"affected":[{"vendor":"wp-graphql","product":"wp-graphql","versions":[{"version":"< 2.22.2","status":"affected"}]}],"references":["https://github.com/wp-graphql/wp-graphql/security/advisories/GHSA-5mmc-8pc9-wggg","https://github.com/wp-graphql/wp-graphql/pull/4270","https://github.com/wp-graphql/wp-graphql/commit/55441663eaa33c3f2e05de038c8286c845916461","https://github.com/wp-graphql/wp-graphql/releases/tag/wp-graphql%2Fv2.22.2"],"weaknesses":["CWE-863"],"ingestedAt":"2026-10-29T20:13:26.108Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/88xxx/CVE-2026-88974.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-88974","state":"PUBLISHED","datePublished":"2026-09-23T14:11:06.092Z","dateUpdated":"2026-09-23T16:21:35.694Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-09-10T16:02:31.341Z"},"containers":{"cna":{"title":"WPGraphQL: Contributor can publish and modify posts without the required capabilities via updatePost","descriptions":[{"lang":"en","value":"WPGraphQL provides a GraphQL API for WordPress sites. Prior to 2.22.2, the updatePost mutation in src/Mutation/PostObjectUpdate.php checks only the collection-level edit_posts capability and the post author, but does not enforce the object-level edit_post capability or require publish_posts for public status transitions. An authenticated Contributor can therefore publish the Contributor's own draft without editorial approval or modify the Contributor's previously published post despite lacking edit_published_posts, while posts owned by other authors remain protected. This issue is fixed in version 2.22.2."}],"affected":[{"vendor":"wp-graphql","product":"wp-graphql","versions":[{"version":"< 2.22.2","status":"affected"}]}],"references":[{"url":"https://github.com/wp-graphql/wp-graphql/security/advisories/GHSA-5mmc-8pc9-wggg","name":"https://github.com/wp-graphql/wp-graphql/security/advisories/GHSA-5mmc-8pc9-wggg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/wp-graphql/wp-graphql/pull/4270","name":"https://github.com/wp-graphql/wp-graphql/pull/4270","tags":["x_refsource_MISC"]},{"url":"https://github.com/wp-graphql/wp-graphql/commit/55441663eaa33c3f2e05de038c8286c845916461","name":"https://github.com/wp-graphql/wp-graphql/commit/55441663eaa33c3f2e05de038c8286c845916461","tags":["x_refsource_MISC"]},{"url":"https://github.com/wp-graphql/wp-graphql/releases/tag/wp-graphql%2Fv2.22.2","name":"https://github.com/wp-graphql/wp-graphql/releases/tag/wp-graphql%2Fv2.22.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-863","lang":"en","description":"CWE-863: Incorrect Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-23T14:11:06.092Z"},"source":{"advisory":"GHSA-5mmc-8pc9-wggg","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/wp-graphql/wp-graphql/security/advisories/GHSA-5mmc-8pc9-wggg","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-23T16:21:07.871440Z","id":"CVE-2026-88974","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-23T16:21:35.694Z"}}]}}}