CVE-2025-31481 Details
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.
A vulnerability in API Platform Core's GraphQL implementation allows users to bypass security checks on certain operations. This issue arises when using the Relay 'node' field, which can be exploited to access resources without proper authorization. The vulnerability affects API Platform Core versions prior to 4.0.21 and 3.4.16, and is present in the GraphQL component of the API Platform ecosystem.
Users can upgrade to API Platform Core versions 4.0.22 or 3.4.17 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 3, 2025CISA-ADP
Assessed Apr 3, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/api-platform/core/commit/55712452b4f630978537bdb2a07dc958202336bb | [email protected] | Source CodeVendor |
| https://github.com/api-platform/core/commit/60747cc8c2fb855798c923b5537888f8d0969568 | [email protected] | Source CodeVendor |
| https://github.com/api-platform/core/releases/tag/v3.4.17 | [email protected] | Release NotesVendor |
| https://github.com/api-platform/core/security/advisories/GHSA-cg3c-245w-728m | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-863 | Incorrect Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| api-platform/core | < 4.0.21 (semver) < 3.4.16 (semver) |
CPE
Remediation
| |
| api-platform/graphql | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 8, 2025 | CVE Modified | [email protected] |
| Apr 3, 2025 | New CVE Received | [email protected] |
Volerion