CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2025-31481: GraphQL query operations security can be bypassed

7.5 CVSS

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.

Classification

CVE ID: CVE-2025-31481

CVSS Base Severity: HIGH

CVSS Base Score: 7.5

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Problem Types

CWE-863: Incorrect Authorization

Affected Products

Vendor: api-platform

Product: core

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 12.01% (scored less or equal to compared to others)

EPSS Date: 2025-05-02 (when was this score calculated)

Stakeholder-Specific Vulnerability Categorization (SSVC)

SSVC Exploitation: poc

SSVC Technical Impact: partial

SSVC Automatable: true

References

https://nvd.nist.gov/vuln/detail/CVE-2025-31481
https://github.com/api-platform/core/security/advisories/GHSA-cg3c-245w-728m
https://github.com/api-platform/core/commit/60747cc8c2fb855798c923b5537888f8d0969568

Timeline