Read the docs
TI-2025-22666 Aliases CVE-2025-31485GHSA-428q-q3vv-3fq3

GraphQL grant on a property might be cached with different objects

Priority MEDIUM 40CWE-696Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00626 50th percentileScored 2026-11-07
Fix Fixed core (api-platform): 4.0.22, 3.4.17api-platform/graphql (Packagist): 4.0.22, 3.4.17, 4.1.5+1 more product

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
api-platformcore4.0.0-alpha.1 to before 4.0.22; before 3.4.174.0.22, 3.4.17Patch availableCNA
—api-platform/graphql (Packagist)4.0.0-alpha.1 to before 4.0.224.0.22Patch availableGHSA-428q-q3vv-3fq3
—api-platform/core (Packagist)4.0.0-alpha.1 to before 4.0.224.0.22Patch availableGHSA-428q-q3vv-3fq3
—api-platform/graphql (Packagist)before 3.4.173.4.17Patch availableGHSA-428q-q3vv-3fq3
—api-platform/core (Packagist)before 3.4.173.4.17Patch availableGHSA-428q-q3vv-3fq3
—api-platform/core (Packagist)4.1.0-alpha.1 to before 4.1.54.1.5Patch availableGHSA-428q-q3vv-3fq3
—api-platform/graphql (Packagist)4.1.0-alpha.1 to before 4.1.54.1.5Patch availableGHSA-428q-q3vv-3fq3
  • core Vendorapi-platform Affected 4.0.0-alpha.1 to before 4.0.22; before 3.4.17 Fixed in 4.0.22, 3.4.17 Patch available CNA
  • api-platform/graphql (Packagist) Vendor— Affected 4.0.0-alpha.1 to before 4.0.22 Fixed in 4.0.22 Patch available GHSA-428q-q3vv-3fq3
  • api-platform/core (Packagist) Vendor— Affected 4.0.0-alpha.1 to before 4.0.22 Fixed in 4.0.22 Patch available GHSA-428q-q3vv-3fq3
  • api-platform/graphql (Packagist) Vendor— Affected before 3.4.17 Fixed in 3.4.17 Patch available GHSA-428q-q3vv-3fq3
  • api-platform/core (Packagist) Vendor— Affected before 3.4.17 Fixed in 3.4.17 Patch available GHSA-428q-q3vv-3fq3
  • api-platform/core (Packagist) Vendor— Affected 4.1.0-alpha.1 to before 4.1.5 Fixed in 4.1.5 Patch available GHSA-428q-q3vv-3fq3
  • api-platform/graphql (Packagist) Vendor— Affected 4.1.0-alpha.1 to before 4.1.5 Fixed in 4.1.5 Patch available GHSA-428q-q3vv-3fq3

Remediation

  • Fix · CNA core (api-platform) Fixed in 4.0.22, 3.4.17
  • Fix · GHSA-428q-q3vv-3fq3 api-platform/graphql (Packagist) Fixed in 4.0.22 Advisory →
  • Fix · GHSA-428q-q3vv-3fq3 api-platform/core (Packagist) Fixed in 4.0.22 Advisory →
  • Fix · GHSA-428q-q3vv-3fq3 api-platform/graphql (Packagist) Fixed in 3.4.17 Advisory →
  • Fix · GHSA-428q-q3vv-3fq3 api-platform/core (Packagist) Fixed in 3.4.17 Advisory →
  • Fix · GHSA-428q-q3vv-3fq3 api-platform/core (Packagist) Fixed in 4.1.5 Advisory →
  • Fix · GHSA-428q-q3vv-3fq3 api-platform/graphql (Packagist) Fixed in 4.1.5 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-31485
  2. 2026-10-03 Alias added: GHSA-428q-q3vv-3fq3
  3. 2026-10-31 EPSS moved to the 50th–90th percentile

References

  • TI-2025-22662 GraphQL query operations security can be bypassed CVSS 3.1HIGH 7.5
  • TI-2023-25779 API Platform Core can leak exceptions message that may contain sensitive information CVSS 3.1MEDIUM 5.3
  • TI-2026-39072 API Platform Core: Missing IRI type check enables resource type confusion CVSS 3.1MEDIUM 6.5
  • TI-2025-16989 GraphQl securityAfterResolver not called CVSS 3.1MEDIUM 4.4
  • TI-2023-10878 Secured properties in API Platform Core may be accessible within collections CVSS 3.1HIGH 7.7
  • TI-2019-15828 API Platform version from 2.2.0 to 2.3.5 contains an Incorrect Access Control… CVSS 3.0MEDIUM 6.5
See all 7 →

Sources