All vulnerabilities

Servers and applications

GHSA-pcmv-c398-gc5m

Unauthenticated user-PII disclosure via GQL "draftCreator"/"revisionCreator"

Severity
Medium
Published
1 Sept 2026
Last changed
1 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
5.11.0
Weakness
Information exposure (CWE-200)
Sources
Project advisories (GitHub)

Description

In Craft's GraphQL API, every intended route to a User object is gated on Gql::canQueryUsers(), which requires a usergroups.*:read scope - this covers author/authors, the Users relation field, Asset uploader, and the top-level users/addresses queries.

Two fields are the exception: draftCreator and revisionCreator are gated on canQueryDrafts() / canQueryRevisions() (the elements.drafts:read / elements.revisions:read scope) instead. Their resolver returns a raw User element via getCreator(), and the User GraphQL type exposes email, username, fullName and addresses with no per-field authorization.

As a result, a schema that has the drafts (or revisions) scope but no user-data scope can still read the full PII of every draft/revision creator - typically the site’s editors and administrators. This is reachable unauthenticated when the operator enables Craft’s public GraphQL schema with the drafts scope.

From craftcms/cms's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Craft CMSServers and applications · github:craftcms/cms
  • From 5.0.0-RC1 before 5.11.0

About Craft CMS

Build bespoke content experiences with Craft.

From its GitHub repository.
Monthly downloads (Packagist)
79,322Packagist, 15 Nov 2026
Total downloads (Packagist)
3,879,755Packagist, 15 Nov 2026
GitHub stars
3,628GitHub, 15 Nov 2026
Forks
713GitHub, 15 Nov 2026
Latest release
5.12.1GitHub, 15 Nov 2026
Released
10 Nov 2026GitHub
First published on GitHub
27 Jan 2017GitHub

Release lines

ReleaseLatestSecurity fixes
55.12.1Until 31 Dec 2031
44.18.9Ended 30 Apr 2026
33.9.15Ended 30 Apr 2024
22.9.2Ended 31 Jan 2022

From endoflife.date.

References