CVE-2025-31485

CVSS 3.1 Score 7.5 of 10 (high)

Details

Published Apr 3, 2025
Updated: Apr 8, 2025
CWE ID 696

Summary

CVE-2025-31485 affects the API Platform Core, a popular system for creating REST and GraphQL APIs. Before version 4.0.22 and 3.4.17, a GraphQL grant on a property could result in different objects being cached under the same key. The issue arises because the ApiPlatform\GraphQl\Serializer\ItemNormalizer::isCacheKeySafe() method fails to prevent caching, while the normalize method that follows still generates the cache key. This vulnerability has been addressed in versions 4.0.22 and 3.4.17.

Ligh bulbPrevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.

Share