PT-2025-14796 · Unknown · Api Platform Core

CVE-2025-31485

·

Published

2025-04-03

·

Updated

2026-07-10

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions API Platform Core versions prior to 4.0.22
Description The issue concerns a caching problem in GraphQL grants on properties, which can lead to incorrect caching with different objects. The ApiPlatformGraphQlSerializerItemNormalizer::isCacheKeySafe() method is intended to prevent this caching issue, but the parent::normalize method still creates the cache key, causing the problem.
Recommendations For versions prior to 4.0.22, update to version 4.0.22 to resolve the issue. As a temporary workaround, consider disabling the parent::normalize method or restricting the caching of GraphQL grants on properties until the update is applied.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2025-31485
GHSA-428Q-Q3VV-3FQ3

Affected Products

Api Platform Core