CVE-2026-134306 SurrealDB before 4.0.0 Field Permission Bypass via Wildcard Array-Index Drift

Published Updated

Authenticated SurrealDB record users can read child fields denied by SELECT permissions via wildcard array index drift.

CVSS score

Medium

5.3/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
4.0.0
Attack path
Over the internet
Any signed-in user, no user action

What is CVE-2026-134306?

CVE-2026-134306 is a medium-severity missing authorization vulnerability in surrealdb, published on 21 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-863

How severe is CVE-2026-134306?

CVE-2026-134306 scores 5.3 out of 10 under CVSS 4.0, which is medium severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
Low
User interaction
None
Confidentiality
Low
Integrity
None
Availability
None

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

Which versions are affected by CVE-2026-134306?

1 open source package ship an affected version, including surrealdb.

An affected version is exposed as installed. No special setting or call is needed.

PackageAffectedFixed in
surrealdb crates.io
pkg:cargo/surrealdb
All versions4.0.0

How do I fix CVE-2026-134306?

Upgrade surrealdb to 4.0.0 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-134306 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-134306 exists.

Sources

Also known as GHSA-3hpg-ph9p-5cfh, GHSA-wjh3-m4pv-q6cp.

Is CVE-2026-134306 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free