# CVE-2026-88974: WPGraphQL: Contributor can publish and modify posts without the required capabilities via updatePost

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 21% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-23T14:11:06.092Z
- Modified: 2026-09-23T18:12:04.247Z
- Also known as: GHSA-5mmc-8pc9-wggg
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- wp-graphql wp-graphql: < 2.22.2
- wp-graphql/wp-graphql (Packagist): all versions

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L`

## References

- <https://github.com/wp-graphql/wp-graphql/security/advisories/GHSA-5mmc-8pc9-wggg> (exploit, web)
- <https://github.com/wp-graphql/wp-graphql/pull/4270> (web)
- <https://github.com/wp-graphql/wp-graphql/commit/55441663eaa33c3f2e05de038c8286c845916461> (web)
- <https://github.com/wp-graphql/wp-graphql/releases/tag/wp-graphql%2Fv2.22.2> (web)
- <https://github.com/wp-graphql/wp-graphql> (package)

## Sources

- CVE List: [CVE-2026-88974](https://www.cve.org/CVERecord?id=CVE-2026-88974), CVE Terms of Use, modified 2026-09-23
- GitHub Advisory Database: [GHSA-5mmc-8pc9-wggg](https://github.com/advisories/GHSA-5mmc-8pc9-wggg), CC-BY-4.0, modified 2026-09-23
- NVD: [CVE-2026-88974](https://nvd.nist.gov/vuln/detail/CVE-2026-88974), Public domain, modified 2026-09-23

---

Page: https://cve.day/CVE-2026-88974 · Whole record: https://cve.day/CVE-2026-88974.json · Rebuilt by cve.day 2026-11-25T22:59:40.628Z
