PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet
Vulnerability DatabaseGHSA-xpg7-m6gm-4xfh

GHSA-xpg7-m6gm-4xfh: 
PHP vulnerability analysis and mitigation

Anonymous GraphQL clients can read out-of-scope section content via prev/next.

Preconditions

  • GraphQL API enabled with a public schema, or any scoped private token.
  • The schema grants read on at least one section and withholds at least one other.
  • One visible in-scope entry; the attacker reads its id from the root query, in band.
  • The two sections share an entry type, so the withheld entry’s GraphQL object type exists in the schema, and the response serializes.
  • Not required: allowAdminChanges, devMode, an account, an elevated session, or any config

Impact

An anonymous internet client holding only the endpoint URL — no account, no cookie, no CSRF token — reads the title, slug, uid, post date, and full custom-field content of entries in sections the operator deliberately excluded from the public GraphQL schema’s read scope, and enumerates the site’s entire entry list by chaining next{next{…}} hops from one visible entry. On a headless or partially exposed install, the schema scope is the only boundary protecting that content. Report ID: 1933


Source: NVD

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-3qcx-mjf6-48vjHIGHN/A
  • PHP logoPHP
  • craftcms/commerce-mollie
NoYesOct 23, 2026
GHSA-5v62-pcq7-fxj9LOWN/A
  • PHP logoPHP
  • craftcms/cms
NoYesOct 23, 2026
GHSA-hvp5-pwxx-2752LOWN/A
  • PHP logoPHP
  • craftcms/cms
NoYesOct 23, 2026
GHSA-mp59-9rf5-93wrMEDIUMN/A
  • PHP logoPHP
  • craftcms/cms
NoYesOct 23, 2026
GHSA-xpg7-m6gm-4xfhMEDIUMN/A
  • PHP logoPHP
  • craftcms/cms
NoYesOct 23, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management