Auth bypass in Api-platform Core

CVE-2025-31481

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.

Vulnerability class: Broken Access Control

EPSS: 0.001 (33.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-31481?
CVE-2025-31481 is a high-severity vulnerability in Api-platform Core, classified under Incorrect Authorization. CVSS score: 7.5/10. Published 2025-04-03.
How severe is CVE-2025-31481?
High severity. CVSS v3 base score is 7.5 out of 10.