Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-31485— GraphQL grant on a property might be cached with different objects

Quick assessment

Affected
api-platform core
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

API Platform Core是API Platform开源的一个 API Platform 的服务器组件。 API Platform Core 4.0.21之前版本存在安全漏洞,该漏洞源于GraphQL授权可能缓存不同对象。

CVSS 7.5 · High EPSS 0.60% · P47

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-31485

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
GraphQL grant on a property might be cached with different objects
Source: CVE Program / CVE List V5
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
不正确的行为次序
Source: CVE Program / CVE List V5
Vulnerability Title
API Platform Core 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
API Platform Core是API Platform开源的一个 API Platform 的服务器组件。 API Platform Core 4.0.21之前版本存在安全漏洞,该漏洞源于GraphQL授权可能缓存不同对象。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
api-platform core >= 4.0.0-alpha.1, < 4.0.22 -

II. Public POCs for CVE-2025-31485

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 8395 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2025-31485

请登录查看更多情报信息。

Same Patch Batch · api-platform · 2025-04-03 · 3 CVEs total

CVE-2025-31481 7.5 HIGH GraphQL query operations security can be bypassed
CVE-2023-47639 5.3 MEDIUM API Platform Core can leak exceptions message that may contain sensitive information

IV. Related Vulnerabilities

V. Comments for CVE-2025-31485

No comments yet


Leave a comment