RCE in Wp-Graphql
CVE-2026-27938
WPGraphQL provides a GraphQL API for WordPress sites. Prior to version 2.9.1, the `wp-graphql/wp-graphql` repository contains a GitHub Actions workflow (`release.yml`) vulnerable to OS command injection through direct use of `${{ github.event.pull_request.body }}` inside a `run:` shell block. When a pull request from `develop` to `master` is merged, the PR body is injected verbatim into a shell command, allowing arbitrary command execution on the Actions runner. Version 2.9.1 contains a fix for the vulnerability.
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.008 (53.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.7 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N.
Affected products
- Wp-graphql — versions < 2.9.1
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM)
- security-advisories@github.com (x_refsource_MISC)
Frequently asked questions
- What is CVE-2026-27938?
- CVE-2026-27938 is a high-severity vulnerability in Wp-Graphql, classified under OS Command Injection. CVSS score: 7.7/10. Published 2026-02-26.
- How severe is CVE-2026-27938?
- High severity. CVSS v3 base score is 7.7 out of 10.