Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. surrealdb
  4. ›
  5. GHSA-x5fr-7hhj-34j3

GHSA-x5fr-7hhj-34j3: SurrealDB: Full Table Permissions by Default

December 15, 2023 (updated September 4, 2026)

Default table permissions in SurrealDB were FULL instead of NONE. This would lead to tables having FULL permissions for SELECT, CREATE, UPDATE and DELETE unless some other permissions were specified via the PERMISSIONS clause.

We have decided to treat this behaviour as a vulnerability due to its security implications, especially considering the lack of specific documentation and potential for confusion due to the INFO FOR DB statement previously not displaying default permissions. Treating it as a bug fix provides justification for a change in default behavior outside of a major release.

References

  • github.com/advisories/GHSA-x5fr-7hhj-34j3
  • github.com/pypa/advisory-database/tree/main/vulns/surrealdb/PYSEC-2026-3718.yaml
  • github.com/surrealdb/surrealdb/security/advisories/GHSA-x5fr-7hhj-34j3
  • nvd.nist.gov/vuln/detail/CVE-2023-54366
  • www.vulncheck.com/advisories/surrealdb-before-insecure-default-table-permissions

Code Behaviors & Features

Detect and mitigate GHSA-x5fr-7hhj-34j3 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.0.1

Fixed versions

  • 1.0.1

Solution

Upgrade to version 1.0.1 or above.

Impact 8.8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-276: Incorrect Default Permissions

Source file

cargo/surrealdb/GHSA-x5fr-7hhj-34j3.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 16 Sep 2026 00:19:33 +0000.