# CVE-2026-134295: SurrealDB 3.0.0 before 4.0.0 Path Traversal in Direct Filesystem Buckets

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Published: 2026-11-21T16:35:10.354Z
- Modified: 2026-11-23T16:17:30.880Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

SurrealDB 3.0.0 before 4.0.0 contains a path traversal vulnerability in direct filesystem buckets because BucketController::check_permission evaluates key-based ACLs against the un-normalized object key, while FileStore::to_os_path collapses '..' sequences without a traversal check. An authenticated tenant permitted only for certain keys can supply a key such as /public/../private/confidential.txt to read, write, or delete arbitrary files within the storage root.

(As written by CVE List.)

## Affected

- surrealdb surrealdb: from 3.0.0 before 4.0.0 (not affected: 4.0.0)

## Every score

- VulnCheck: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/surrealdb/surrealdb/security/advisories/GHSA-cph5-pm57-9w9c> (vendor-advisory)
- <https://www.vulncheck.com/advisories/surrealdb-3.0.0-before-4.0.0-path-traversal-in-direct-filesystem-buckets> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-134295](https://www.cve.org/CVERecord?id=CVE-2026-134295), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-134295](https://nvd.nist.gov/vuln/detail/CVE-2026-134295), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-134295 · Whole record: https://cve.day/CVE-2026-134295.json · Rebuilt by cve.day 2026-11-25T22:59:52.537Z
