Vulnerabilities

CVE-2025-46720

Medium 4.3 CVSS 3.1

Description

Keystone is a content management system for Node.js. Prior to version 6.5.0, `{field}.isFilterable` access control can be bypassed in `update` and `delete` mutations by adding additional unique filters. These filters can be used as an oracle to probe the existence or value of otherwise unreadable fields. Specifically, when a mutation includes a `where` clause with multiple unique filters (e.g. `id` and `email`), Keystone will attempt to match records even if filtering by the latter fields would normally be rejected by `field.isFilterable` or `list.defaultIsFilterable`. This can allow malicious actors to infer the presence of a particular field value when a filter is successful in returning a result. This affects any project relying on the default or dynamic `isFilterable` behavior (at the list or field level) to prevent external users from using the filtering of fields as a discovery mechanism. While this access control is respected during `findMany` operations, it was not completely enforced during `update` and `delete` mutations when accepting more than one unique `where` values in filters. This has no impact on projects using `isFilterable: false` or `defaultIsFilterable: false` for sensitive fields, or for those who have otherwise omitted filtering by these fields from their GraphQL schema. This issue has been patched in `@keystone-6/core` version 6.5.0. To mitigate this issue in older versions where patching is not a viable pathway, set `isFilterable: false` statically for relevant fields to prevent filtering by them earlier in the access control pipeline (that is, don't use functions); set `{field}.graphql.omit.read: true` for relevant fields, which implicitly removes filtering by these fields from the GraphQL schema; and/or deny `update` and `delete` operations for the relevant lists completely.

Description as published by the source, in English.

Key facts

Published
2025-05-05
Last modified
2026-06-17
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.2 % higher than 16 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
keystone-6 core (npm) < 6.5.0 Affected
Keystonejs Keystone < 6.5.0 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1007: System Service Discovery discovery
  • T1016: System Network Configuration Discovery discovery
  • T1018: Remote System Discovery discovery
  • T1033: System Owner/User Discovery discovery
  • T1036.005: Match Legitimate Resource Name or Location stealth
  • T1046: Network Service Discovery discovery
  • T1049: System Network Connections Discovery discovery
  • T1057: Process Discovery discovery
  • T1069: Permission Groups Discovery discovery
  • T1082: System Information Discovery discovery
  • T1083: File and Directory Discovery discovery
  • T1087: Account Discovery discovery
  • T1111: Multi-Factor Authentication Interception credential-access
  • T1120: Peripheral Device Discovery discovery
  • T1124: System Time Discovery discovery
  • T1134.001: Token Impersonation/Theft stealth, privilege-escalation
  • T1135: Network Share Discovery discovery
  • T1217: Browser Information Discovery discovery
  • T1550.004: Web Session Cookie lateral-movement
  • T1574.006: Dynamic Linker Hijacking stealth, execution

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities