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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

CVSS 7.5 · High EPSS 0.17% · P37
Get alerts for future matching vulnerabilitiesLog 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: NVD (National Vulnerability Database)
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: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
不正确的行为次序
Source: NVD (National Vulnerability Database)
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

VendorProductAffected VersionsCPESubscribe
api-platformcore >= 4.0.0-alpha.1, < 4.0.22 -

II. Public POCs for CVE-2025-31485

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-31485

登录查看更多情报信息。

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

CVE-2025-314817.5 HIGHGraphQL query operations security can be bypassed
CVE-2023-476395.3 MEDIUMAPI 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