Skip to content
OpenAdvisories
High · 7.1 CVE-2026-49989 EUVD-2026-58717GHSA-2xv8-gjwh-fv8p

CrateDB's Blob HTTP handler bypasses authorization

Published Aug 14, 2026 · Updated Aug 14, 2026 · Assigned by GitHub_M

Description

CrateDB is a distributed SQL database. Prior to versions 6.2.8 and 6.3.2, any authenticated user can read or delete any blob whose SHA-1 digest they know, and can plant new blobs unconditionally, in any blob table, regardless of `GRANT`s. CrateDB has two ways to access blob storage: SQL (`SELECT ... FROM blob.<table>` and friends) and the blob HTTP API (`GET|PUT|DELETE /_blobs/{table}/{digest}`). The SQL path goes through `AccessControl`, which is what enforces privilege grants; that's why `SELECT digest FROM blob.secret_blobs` fails for a user who has no grants on the table. The HTTP path authenticates the request but never asks `AccessControl` whether the authenticated user is allowed to touch the table. So a user with no grants gets `MissingPrivilegeException` from SQL and `200 OK` plus the blob bytes from `GET /_blobs/secret_blobs/<digest>`. Deployments that don't use `BLOB TABLE` are unaffected. Authentication itself still works; the bug is strictly that being authenticated as anyone is treated as sufficient for any blob op. Versions 6.2.8 and 6.3.2 fix the issue.

Affected products

VendorProductAffectedFixed
crate crate < 6.2.8, >= 6.3.0, < 6.3.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven io.crate:crate < 6.2.8 6.2.8 GHSA-2xv8-gjwh-fv8p
Maven io.crate:crate >= 6.3.0, < 6.3.2 6.3.2 GHSA-2xv8-gjwh-fv8p

References