CVE-2025-31485 - CVE House
Back to Database
Status published High CVE-2025-31485

GraphQL grant on a property might be cached with different objects

Vulnerability Description

API Platform Core is a system to create hypermedia-driven REST and GraphQL APIs. Prior to 4.0.22 and 3.4.17, a GraphQL grant on a property might be cached with different objects. The ApiPlatform\GraphQl\Serializer\ItemNormalizer::isCacheKeySafe() method is meant to prevent the caching but the parent::normalize method that is called afterwards still creates the cache key and causes the issue. This vulnerability is fixed in 4.0.22 and 3.4.17.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-31485

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

api-platform

View all reports →

Affected Software

core
Vulnerable Versions:
>= 4.0.0-alpha.1, < 4.0.22, < 3.4.17

Timeline

Official Publish: April 3rd, 2025
Last Modified: April 8th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Weaknesses (CWE)

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.