CVE-2026-134290
SurrealDB 2.2.0 before 4.0.0 Information Disclosure via ON DELETE REJECT Errors
High · 7.1Fix available
- CVSS
- 7.1
- EPSS
- 0.39% (p24)
- Published
- 2026-11-21
- Age
- 8d old
- Modified
- 2026-11-23
- Product
- surrealdb surrealdb
- Aliases
- GHSA-ff2q-h4x7-cpj4
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
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.
Fixed in
4.0.0
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | surrealdb | >=2.2.0, <4.0.0 | 4.0.0 |
Sources
- NVD · first seen 8d ago · NVD terms of use
- OSV · first seen 8d ago · CC-BY 4.0
- CVE List · first seen 8d ago · CVE Terms of Use
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-ff2q-h4x7-cpj4 vendor-advisory
- https://www.vulncheck.com/advisories/surrealdb-2.2.0-before-4.0.0-information-disclosure-via-on-delete-reject-errors third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134290.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-134290 advisory