Staging Environment: Content and features may be unstable or change without notice.
Search for vulnerabilities
Vulnerability details: VCID-ezka-28sk-rbaz
Vulnerability ID VCID-ezka-28sk-rbaz
Aliases CVE-2025-31481
GHSA-cg3c-245w-728m
Summary API Platform Core is a system to create hypermedia-driven REST and GraphQL APIs. Using the Relay special node type you can bypass the configured security on an operation. This vulnerability is fixed in 4.0.22 and 3.4.17.
Status Published
Exploitability 0.5
Weighted Severity 8.0
Risk 4.0
Affected and Fixed Packages Package Details
Weaknesses (3)
System Score Found at
epss 0.0014 https://api.first.org/data/v1/epss?cve=CVE-2025-31481
epss 0.0014 https://api.first.org/data/v1/epss?cve=CVE-2025-31481
epss 0.0014 https://api.first.org/data/v1/epss?cve=CVE-2025-31481
cvssv3.1_qr HIGH https://github.com/advisories/GHSA-cg3c-245w-728m
cvssv3.1 7.5 https://github.com/api-platform/core
generic_textual HIGH https://github.com/api-platform/core
cvssv3.1 7.5 https://github.com/api-platform/core/commit/55712452b4f630978537bdb2a07dc958202336bb
generic_textual HIGH https://github.com/api-platform/core/commit/55712452b4f630978537bdb2a07dc958202336bb
ssvc Track https://github.com/api-platform/core/commit/55712452b4f630978537bdb2a07dc958202336bb
cvssv3.1 7.5 https://github.com/api-platform/core/commit/60747cc8c2fb855798c923b5537888f8d0969568
generic_textual HIGH https://github.com/api-platform/core/commit/60747cc8c2fb855798c923b5537888f8d0969568
ssvc Track https://github.com/api-platform/core/commit/60747cc8c2fb855798c923b5537888f8d0969568
cvssv3.1 7.5 https://github.com/api-platform/core/releases/tag/v3.4.17
generic_textual HIGH https://github.com/api-platform/core/releases/tag/v3.4.17
ssvc Track https://github.com/api-platform/core/releases/tag/v3.4.17
cvssv3.1 7.5 https://github.com/api-platform/core/releases/tag/v4.1.5
generic_textual HIGH https://github.com/api-platform/core/releases/tag/v4.1.5
cvssv3.1 7.5 https://github.com/api-platform/core/security/advisories/GHSA-cg3c-245w-728m
cvssv3.1_qr HIGH https://github.com/api-platform/core/security/advisories/GHSA-cg3c-245w-728m
generic_textual HIGH https://github.com/api-platform/core/security/advisories/GHSA-cg3c-245w-728m
ssvc Track https://github.com/api-platform/core/security/advisories/GHSA-cg3c-245w-728m
cvssv3.1 7.5 https://github.com/FriendsOfPHP/security-advisories/blob/master/api-platform/core/CVE-2025-31481.yaml
generic_textual HIGH https://github.com/FriendsOfPHP/security-advisories/blob/master/api-platform/core/CVE-2025-31481.yaml
cvssv3.1 7.5 https://github.com/FriendsOfPHP/security-advisories/blob/master/api-platform/graphql/CVE-2025-31481.yaml
generic_textual HIGH https://github.com/FriendsOfPHP/security-advisories/blob/master/api-platform/graphql/CVE-2025-31481.yaml
cvssv3.1 7.5 https://nvd.nist.gov/vuln/detail/CVE-2025-31481
generic_textual HIGH https://nvd.nist.gov/vuln/detail/CVE-2025-31481
No exploits are available.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Found at https://github.com/api-platform/core
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Found at https://github.com/api-platform/core/commit/55712452b4f630978537bdb2a07dc958202336bb
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2025-04-03T19:39:57Z/ Found at https://github.com/api-platform/core/commit/55712452b4f630978537bdb2a07dc958202336bb
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Found at https://github.com/api-platform/core/commit/60747cc8c2fb855798c923b5537888f8d0969568
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2025-04-03T19:39:57Z/ Found at https://github.com/api-platform/core/commit/60747cc8c2fb855798c923b5537888f8d0969568
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Found at https://github.com/api-platform/core/releases/tag/v3.4.17
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2025-04-03T19:39:57Z/ Found at https://github.com/api-platform/core/releases/tag/v3.4.17
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Found at https://github.com/api-platform/core/releases/tag/v4.1.5
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Found at https://github.com/api-platform/core/security/advisories/GHSA-cg3c-245w-728m
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2025-04-03T19:39:57Z/ Found at https://github.com/api-platform/core/security/advisories/GHSA-cg3c-245w-728m
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Found at https://github.com/FriendsOfPHP/security-advisories/blob/master/api-platform/core/CVE-2025-31481.yaml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Found at https://github.com/FriendsOfPHP/security-advisories/blob/master/api-platform/graphql/CVE-2025-31481.yaml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Found at https://nvd.nist.gov/vuln/detail/CVE-2025-31481
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.33956
EPSS Score 0.0014
Published At June 11, 2026, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2026-06-11T17:05:03.176089+00:00 Vulnrichment Import https://github.com/cisagov/vulnrichment/blob/develop/2025/31xxx/CVE-2025-31481.json 38.6.0