Skip to content
OpenAdvisories
High · 7.5 CVE-2025-31481 EUVD-2025-9737GHSA-cg3c-245w-728m

GraphQL query operations security can be bypassed

Published Apr 3, 2025 · Updated Apr 8, 2025 · Assigned by GitHub_M

Description

API Platform Core is a system to create hypermedia-driven REST and GraphQL APIs. Using the Relay special node type you can bypass the configured security on an operation. This vulnerability is fixed in 4.0.22 and 3.4.17.

Affected products

VendorProductAffectedFixed
api-platform core >= 4.0.0, < 4.0.22, < 3.4.17 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist api-platform/core >= 4.0.0-alpha.1, < 4.0.22 4.0.22 GHSA-cg3c-245w-728m
Packagist api-platform/core < 3.4.17 3.4.17 GHSA-cg3c-245w-728m
Packagist api-platform/core >= 4.1.0-alpha.1, < 4.1.5 4.1.5 GHSA-cg3c-245w-728m
Packagist api-platform/graphql >= 4.0.0-alpha.1, < 4.0.22 4.0.22 GHSA-cg3c-245w-728m
Packagist api-platform/graphql < 3.4.17 3.4.17 GHSA-cg3c-245w-728m
Packagist api-platform/graphql >= 4.1.0-alpha.1, < 4.1.5 4.1.5 GHSA-cg3c-245w-728m

References