PT-2025-14796 · Unknown · Api Platform Core

Published

2025-04-03

·

Updated

2025-04-04

·

CVE-2025-31485

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

Weakness Enumeration

Related Identifiers

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

Affected Products

Api Platform Core