{"id":"EUVD-2026-45909","revision":null,"records":[{"revision":"d5b4b37d02b34167b63370631d40f5c8","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-63738","aliases":[],"title":"SurrealDB 3.1.0 before 3.1.5 Field Permission Bypass via Traversal","description":"SurrealDB versions 3.1.0 before 3.1.5 fail to enforce field-level SELECT permissions when records are accessed through graph-edge or back-reference traversals. Attackers with table-level SELECT access can read field values hidden by field-level permissions by materializing records through graph traversals instead of direct table scans.","state":0,"publishedAt":"2026-07-20T12:04:33.53+00:00","modifiedAt":"2026-07-28T01:05:35.271+00:00","affected":[{"ecosystem":"Vendor product","name":"surrealdb","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"surrealdb\",\n                    \"product\": \"surrealdb\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:cargo/surrealdb\",\n                    \"versions\": [\n                        {\n                            \"version\": \"3.1.0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"3.1.5\"\n                        },\n                        {\n                            \"version\": \"3.1.5\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","score":5.3,"severity":"MEDIUM"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"severity":"MEDIUM"}],"references":["https://github.com/surrealdb/surrealdb/security/advisories/GHSA-hv6h-hc26-q48p","https://www.vulncheck.com/advisories/surrealdb-before-field-permission-bypass-via-traversal"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-63738","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-63738","identifiers":["CVE-2026-63738"]},"retained":false,"historicalAffected":[]},{"revision":"7a5b801e16d64e58a2e28218e1b9f361","observedAt":"2026-11-17T17:39:38.193+00:00","statement":{"source":"euvd","id":"EUVD-2026-45909","aliases":["CVE-2026-63738","GHSA-9c3h-q3pp-fw5x"],"title":"SurrealDB versions 3.1.0 before 3.1.5 fail to enforce field-level SELECT permissions when records are accessed through graph-edge or back-reference traversals. Attackers with table-level SELECT access can read field values hidden by field-l…","description":"SurrealDB versions 3.1.0 before 3.1.5 fail to enforce field-level SELECT permissions when records are accessed through graph-edge or back-reference traversals. Attackers with table-level SELECT access can read field values hidden by field-level permissions by materializing records through graph traversals instead of direct table scans.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","score":5.3,"severity":null}],"references":["https://github.com/surrealdb/surrealdb/security/advisories/GHSA-hv6h-hc26-q48p","https://www.vulncheck.com/advisories/surrealdb-before-field-permission-bypass-via-traversal"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-45909","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jul 20, 2026, 12:04:33 PM","dateUpdated":"Jul 28, 2026, 1:05:35 AM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-45909","identifiers":["EUVD-2026-45909","CVE-2026-63738","GHSA-9c3h-q3pp-fw5x"]},"retained":false,"historicalAffected":[]},{"revision":"b9b87babd6244cadae3285b7f218b971","observedAt":"2026-10-25T15:18:45.851+00:00","statement":{"source":"nvd","id":"CVE-2026-63738","aliases":[],"title":"SurrealDB versions 3.1.0 before 3.1.5 fail to enforce field-level SELECT permissions when records are accessed through graph-edge or back-reference traversals. Attackers with table-level SELECT access can read field values hidden by field-l…","description":"SurrealDB versions 3.1.0 before 3.1.5 fail to enforce field-level SELECT permissions when records are accessed through graph-edge or back-reference traversals. Attackers with table-level SELECT access can read field values hidden by field-level permissions by materializing records through graph traversals instead of direct table scans.","state":0,"publishedAt":"2026-07-20T12:19:43+00:00","modifiedAt":"2026-07-22T15:49:56.96+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · disclosure@vulncheck.com · Secondary","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/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","score":5.3,"severity":"MEDIUM"},{"system":"CVSS 3.1 · disclosure@vulncheck.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"severity":"MEDIUM"}],"references":["https://github.com/surrealdb/surrealdb/security/advisories/GHSA-hv6h-hc26-q48p","https://www.vulncheck.com/advisories/surrealdb-before-field-permission-bypass-via-traversal"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-63738","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-863"],"productCriteria":["cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*"],"sourceDates":{"published":"2026-07-20T12:19:43.000","lastModified":"2026-07-22T15:49:56.960"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-63738","identifiers":["CVE-2026-63738"]},"retained":false,"historicalAffected":[]},{"revision":"c0ffb7e69fe8439483e4ab04d35ec6d6","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-9c3h-q3pp-fw5x","aliases":[],"title":"Duplicate Advisory: SurrealDB: Field-level SELECT permissions bypassed via graph and reference traversals","description":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of\u00A0GHSA-hv6h-hc26-q48p. This link is maintained to preserve external references.\n\n## Original Description\nSurrealDB versions 3.1.0 before 3.1.5 fail to enforce field-level SELECT permissions when records are accessed through graph-edge or back-reference traversals. Attackers with table-level SELECT access can read field values hidden by field-level permissions by materializing records through graph traversals instead of direct table scans.","state":2,"publishedAt":"2026-07-20T12:33:08+00:00","modifiedAt":"2026-09-04T20:00:28.2218069+00:00","affected":[{"ecosystem":"crates.io","name":"surrealdb","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"3.1.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":null,"severity":null},{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/surrealdb/surrealdb/security/advisories/GHSA-hv6h-hc26-q48p","https://nvd.nist.gov/vuln/detail/CVE-2026-63738","https://www.vulncheck.com/advisories/surrealdb-before-field-permission-bypass-via-traversal"],"sourceUrl":"https://github.com/advisories/GHSA-9c3h-q3pp-fw5x","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-9c3h-q3pp-fw5x","identifiers":["GHSA-9c3h-q3pp-fw5x"]},"retained":false,"historicalAffected":[]},{"revision":"67119a91f48e4c7f9b867d27dc16a742","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-hv6h-hc26-q48p","aliases":["CVE-2026-63738"],"title":"SurrealDB: Field-level SELECT permissions bypassed via graph and reference traversals","description":"A record user could read field values hidden from them by field-level SELECT permissions by reaching the records through a graph-edge (`->`) or back-reference (`<~`) traversal instead of a direct `SELECT`.\n\nWhen a table was readable at the table level but carried a field hidden by a field-level permission (`DEFINE FIELD secret ON knows PERMISSIONS FOR select NONE`), a direct `SELECT * FROM knows` hid `secret` — but reaching the same records through a traversal that yields full objects — `person:bob->(SELECT * FROM knows)`, `person:bob<~(SELECT * FROM comment)`, or a projected target vertex `->knows->(SELECT * FROM person)` — returned it intact.\n\nThe root cause: the shared `resolve_record_batch` helper used by `GraphEdgeScan` (`FullEdge`) and `ReferenceScan` (`FullRecord`) enforced only the table-level SELECT permission and pushed raw record data, never running the field-level filtering (`build_field_state` / `filter_fields_by_permission`) that ordinary table scans and `fetch_record` apply.\n\n### Impact\n\nA record user can read the values of fields hidden by field-level SELECT permissions, on tables they already hold table-level SELECT on, by materialising the records through a graph-edge, back-reference, or target-vertex traversal — recovering the values directly, for every record the traversal returns.\n\nThe disclosure is confined to the field-permission layer: it grants **no unauthorised cross-table, cross-record, or cross-namespace/database access**. The table's own SELECT permission — including any row-level `WHERE` predicate — is still enforced, so the caller only reaches records they were already entitled to read; only the per-field SELECT filtering within those records is skipped. Root and record-owner sessions are unaffected, and data cannot be modified (confidentiality only).\n\nTable-level enforcement on these traversals landed in 3.1.0 (the fix for GHSA-vjjx-rfw4-rmfc); releases before 3.1.0 additionally exposed whole records on tables the caller could not read, and are covered by that advisory.\n\n### Patches\n\n`resolve_record_batch` (the shared helper that materialises full records for graph and reference traversals) now applies field-level SELECT permissions and read-time `COMPUTED` fields to each record, matching the regular table-scan and `fetch_record` paths.\n\nVersions 3.1.5 and later are not affected.\n\n### Workarounds\n\n- Force the unaffected legacy executor with `--planner-strategy compute-only` (env `SURREAL_PLANNER_STRATEGY`).\n- Do not rely on field-level SELECT permissions to hide values on tables reachable as a graph edge, reference target, or traversal vertex; restrict at the table level instead.\n- Use namespace / database isolation as the primary boundary where feasible.\n\n### Resources\n\n- [SurrealQL Documentation — DEFINE FIELD](https://surrealdb.com/docs/surrealql/statements/define/field)\n- [SurrealQL Documentation — DEFINE TABLE … PERMISSIONS](https://surrealdb.com/docs/surrealql/statements/define/table)\n- [SurrealQL Documentation — Graph relationships](https://surrealdb.com/docs/surrealql/datamodel/relationships)\n- `fix(exec): apply field-level SELECT permissions + computed fields when graph/reference traversals materialize full records`","state":0,"publishedAt":"2026-06-19T22:10:53+00:00","modifiedAt":"2026-09-04T20:25:35.82443+00:00","affected":[{"ecosystem":"crates.io","name":"surrealdb","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"3.1.0"},{"kind":"fixed","version":"3.1.5"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/surrealdb/surrealdb/security/advisories/GHSA-hv6h-hc26-q48p","https://nvd.nist.gov/vuln/detail/CVE-2026-63738","https://github.com/surrealdb/surrealdb","https://www.vulncheck.com/advisories/surrealdb-before-field-permission-bypass-via-traversal"],"sourceUrl":"https://github.com/advisories/GHSA-hv6h-hc26-q48p","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-hv6h-hc26-q48p","identifiers":["GHSA-hv6h-hc26-q48p","CVE-2026-63738"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-19T13:59:38.0220724+00:00","complete":true,"records":1786,"lastAttemptAt":"2026-11-19T13:59:38.0220724+00:00","lastSuccessAt":"2026-11-19T13:59:38.3751697+00:00","error":null,"lastVerifiedAt":"2026-11-19T13:59:38.3753216+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-e55c589538e0700b45c7d6d41fe1447a79199283262c371c864535c791a040b9-139b33c18373676a973fe9182aec8a3691d9b11c7b42e245543a606871b8ef68","complete":true,"records":428483,"lastAttemptAt":"2026-11-19T13:59:36.944265+00:00","lastSuccessAt":"2026-11-19T13:40:15.6982314+00:00","error":null,"lastVerifiedAt":"2026-11-19T13:59:36.944265+00:00","snapshotPublishedAt":"2026-11-19T13:24:02+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-ae6c004e7d4446a3b24b12d5e4f85da8","complete":false,"records":13861,"lastAttemptAt":"2026-11-19T14:05:06.3953584+00:00","lastSuccessAt":"2026-11-19T14:05:06.391+00:00","error":"238 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-19T14:05:06.391+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13670,"expectedIdentifiers":13908,"failedIdentifiers":238},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-19T13:59:38.0220724+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-19T13:59:38.0220724+00:00","lastSuccessAt":"2026-11-19T13:59:38.4804896+00:00","error":null,"lastVerifiedAt":"2026-11-19T13:59:38.4804901+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-66078286355a487e841d6e6e3b3f67f3","complete":true,"records":13873,"lastAttemptAt":"2026-11-19T13:59:39.8610471+00:00","lastSuccessAt":"2026-11-19T13:41:59.829+00:00","error":null,"lastVerifiedAt":"2026-11-19T13:41:59.829+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13908,"expectedIdentifiers":13908,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-76574c95b6792d47ba90af64983ed5843633f14426346d676016e94a5f383202","complete":true,"records":9963,"lastAttemptAt":"2026-11-19T13:59:37.4102656+00:00","lastSuccessAt":"2026-11-19T01:24:31.4213722+00:00","error":null,"lastVerifiedAt":"2026-11-19T13:59:37.4102656+00:00","snapshotPublishedAt":"2026-11-19T01:03:15+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-19T13:59:37.1621626+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-19T13:59:37.1621626+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-313d8afdba3867de110bc2f0cc252c7b787cb94e08a055d09b0542017e147ca8","complete":true,"records":3194,"lastAttemptAt":"2026-11-19T13:59:37.5525506+00:00","lastSuccessAt":"2026-11-19T09:40:31.5988269+00:00","error":null,"lastVerifiedAt":"2026-11-19T13:59:37.5525506+00:00","snapshotPublishedAt":"2026-11-19T09:03:08+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-e2a5d5b457bf00210b88384778af42f87dedd32a57cbf9118572d3d2fabc062c","complete":true,"records":232733,"lastAttemptAt":"2026-11-19T13:59:37.2994305+00:00","lastSuccessAt":"2026-11-19T13:41:57.1937409+00:00","error":null,"lastVerifiedAt":"2026-11-19T13:59:37.2994305+00:00","snapshotPublishedAt":"2026-11-19T13:33:30+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}