CVE-2025-31485: high-severity vulnerability in api-platform core
GraphQL grant on a property might be cached with different objects
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
API Platform Core has a caching bug where GraphQL permission checks on properties can be incorrectly reused for different objects, potentially allowing unauthorized access to data that should be restricted.
The ItemNormalizer::isCacheKeySafe() method fails to prevent cache key generation for GraphQL field-level authorization checks; the parent normalize() method still creates the cache entry, causing permission decisions from one object to be applied to another object in subsequent requests.
In the same product, most dangerous first.