GHSA-j6mj-v752-pp4x

Suggest an improvement
Source
https://github.com/advisories/GHSA-j6mj-v752-pp4x
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-j6mj-v752-pp4x/GHSA-j6mj-v752-pp4x.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-j6mj-v752-pp4x
Withdrawn
2026-09-04T19:48:29Z
Published
2026-07-20T12:33:08Z
Modified
2026-09-04T20:00:28Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • 7.1 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
Duplicate Advisory: SurrealDB: Array element-level (field.*) SELECT permissions leak denied elements to record users
Details

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-8rw6-p7m8-63jp. This link is maintained to preserve external references.

Original Description

SurrealDB versions before 3.1.4 fail to properly enforce SELECT permissions on array elements (field.*) for record users, leaking denied array elements instead of hiding them. Attackers with record scope access can read array elements that element-level permissions should deny by exploiting incorrect index handling during permission filtering.

Database specific
{
    "cwe_ids": [
        "CWE-863"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-09-04T19:48:29Z",
    "nvd_published_at": "2026-07-20T12:19:43Z",
    "severity": "HIGH"
}
References

Affected packages

crates.io / surrealdb

Package

Name
surrealdb
View open source insights on deps.dev
Purl
pkg:cargo/surrealdb

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
3.1.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-j6mj-v752-pp4x/GHSA-j6mj-v752-pp4x.json"