Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. wp-graphql/wp-graphql
  4. ›
  5. CVE-2026-88974

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

September 23, 2026

WPGraphQL 2.19.0 contains an authorization bypass in the updatePost mutation. An authenticated WordPress Contributor can change one of their own draft posts to PUBLISH despite lacking the publish_posts capability. The same mutation also permits the Contributor to modify their own previously published posts despite lacking edit_published_posts and failing WordPress’s object-level edit_post capability check.

This bypasses the standard WordPress editorial workflow. The WordPress REST API correctly rejects the equivalent operations for the same user.

References

  • github.com/advisories/GHSA-5mmc-8pc9-wggg
  • github.com/wp-graphql/wp-graphql/commit/55441663eaa33c3f2e05de038c8286c845916461
  • github.com/wp-graphql/wp-graphql/pull/4270
  • github.com/wp-graphql/wp-graphql/releases/tag/wp-graphql%2Fv2.22.2
  • github.com/wp-graphql/wp-graphql/security/advisories/GHSA-5mmc-8pc9-wggg
  • nvd.nist.gov/vuln/detail/CVE-2026-88974

Code Behaviors & Features

Detect and mitigate CVE-2026-88974 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.22.2

Fixed versions

  • 2.22.2

Solution

Upgrade to version 2.22.2 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

packagist/wp-graphql/wp-graphql/CVE-2026-88974.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 12 Oct 2026 12:18:04 +0000.