CVE-2026-134306: SurrealDB Incorrect Authorization
Published 2026-11-21 · Updated 2026-11-23 · Source disclosure@vulncheck.com
Not known to be exploited · medium severity — update SurrealDB to 4.0.0 or later on your normal schedule.
What to do
- Update SurrealDB to version 4.0.0 or later. Versions before 4.0.0 are affected.
- Until it is patched, restrict network access to SurrealDB and review which accounts can log in to it.
- Restrict access to the affected feature and review logs for use by accounts that should not have it.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| SurrealDB | < 4.0.0 | 4.0.0 |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker needs an ordinary low-privileged account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact is limited: confidentiality is rated low.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | Low | The attacker needs an ordinary low-privileged account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | Low | Partial loss of confidentiality. |
| Integrity | None | No effect on integrity. |
| Availability | None | No effect on availability. |
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness: Incorrect Authorization
An authorization check exists but is wrong, so users can perform actions they should not be allowed to.
Classified as CWE-863.
Description
SurrealDB before 4.0.0 contains an incorrect authorization vulnerability in filter_fields_by_permission that allows authenticated record users to read denied child field values. Attackers can query rows where overlapping items[*] and items[*].secret permissions compact arrays, causing shifted elements to retain field values denied by SELECT permissions.
Advisory text as published in the NVD record.
References
- Patchhttps://github.com/surrealdb/surrealdb/commit/fa6643f1904f96842ccb1ad885f5204992b87021
- Advisoryhttps://github.com/surrealdb/surrealdb/security/advisories/GHSA-wjh3-m4pv-q6cp
- Advisoryhttps://www.vulncheck.com/advisories/surrealdb-before-4.0.0-field-permission-bypass-via-wildcard-array-index-drift
- Advisoryhttps://github.com/surrealdb/surrealdb/security/advisories/GHSA-wjh3-m4pv-q6cp