CVE-2026-134290 SurrealDB 2.2.0 before 4.0.0 Information Disclosure via ON DELETE REJECT Errors
HighCVSS 7.1
EPSS 0.39%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
SurrealDB 2.2.0 before 4.0.0 includes the record id of a referencing row in the error returned when a delete is blocked by an ON DELETE REJECT reference, without checking the caller's SELECT permission on that row. An authenticated principal with DELETE permission can attempt to delete a referenced record and read the rejection error to learn the existence and exact ids of referencing records hidden by row-level SELECT permissions.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io surrealdb | >= 2.2.0, < 4.0.0 | 4.0.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io surrealdb | >= 2.2.0, < 4.0.0 | 4.0.0 |
References
- GitHub Security Advisory (GHSA-ff2q-h4x7-cpj4) exploit vendor-advisory
- VulnCheck Advisory: SurrealDB 2.2.0 before 4.0.0 Information Disclosure via ON DELETE REJECT Errors third-party-advisory
- ENISA EUVD EUVD-2026-132233 third-party-advisory
- nvd.nist.gov