CVE-2025-31485: GraphQL grant on a property might be cached with different objects
api-platform · core
Affected: api-platform core · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 50% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- api-platform · core>= 4.0.0-alpha.1, < 4.0.22; < 3.4.17
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- api-platform
- Published
- April 2025
CoverageNo articles yet
No CyberSIXT article names CVE-2025-31485 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-696cwe.mitre.org
- github.com/api-platform/core/security/advisories/GHSA-428q-q3vv-github.com
- github.com/api-platform/core/commit/7af65aad13037d7649348ee3dcd8github.com
- github.com/api-platform/core/commit/cba3acfbd517763cf320167250c5github.com
- github.com/api-platform/core/releases/tag/v3.4.17github.com