Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. api-platform/core
  4. ›
  5. CVE-2025-31485

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

April 4, 2025 (updated August 29, 2025)

It grants access to properties that it should not.

References

  • github.com/FriendsOfPHP/security-advisories/blob/master/api-platform/core/CVE-2025-31485.yaml
  • github.com/FriendsOfPHP/security-advisories/blob/master/api-platform/graphql/CVE-2025-31485.yaml
  • github.com/advisories/GHSA-428q-q3vv-3fq3
  • github.com/api-platform/core
  • github.com/api-platform/core/commit/7af65aad13037d7649348ee3dcd88e084ef771f8
  • github.com/api-platform/core/commit/cba3acfbd517763cf320167250c5bed6d569696a
  • github.com/api-platform/core/releases/tag/v3.4.17
  • github.com/api-platform/core/security/advisories/GHSA-428q-q3vv-3fq3
  • nvd.nist.gov/vuln/detail/CVE-2025-31485

Code Behaviors & Features

Detect and mitigate CVE-2025-31485 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.4.17, all versions starting from 4.0.0-alpha.1 before 4.0.22, all versions starting from 4.1.0-alpha.1 before 4.1.5

Fixed versions

  • 4.0.22
  • 3.4.17
  • 4.1.5

Solution

Upgrade to versions 3.4.17, 4.0.22, 4.1.5 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-696: Incorrect Behavior Order

Source file

packagist/api-platform/core/CVE-2025-31485.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:46 +0000.