CVE-2025-41118 — Vulnerability in github.com/grafana/pyroscope
Pyroscope Exposes Storage Secret
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.51%). Schedule for your next planned update.
Does your project use an affected github.com/grafana/pyroscope version?
Paste your go.sum to check it for CVE-2025-41118 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published April 15, 2026 (225 days ago).
- Last revised September 10, 2026 — 147 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/grafana/pyroscope@v1.15.2
go get github.com/grafana/pyroscope@v1.16.1
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: Go (1).
| Package | Fixed In |
|---|---|
| github.com/grafana/pyroscope Go · Affected: All versions | 1.15.2 |
| github.com/grafana/pyroscope Go · Affected: All versions | 1.16.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
References
Frequently Asked Questions
- What is CVE-2025-41118?
- Pyroscope Exposes Storage Secret. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
- How do I check if my project is affected by CVE-2025-41118?
- CVE-2025-41118 affects github.com/grafana/pyroscope. It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-41118 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is a below-median EPSS score — only 37.1% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-11769MEDIUM
Grafana Operator: Privilege escalation from namespace admin to cluster admin via GrafanaDashboard jsonnetLib fileName
- CVE-2020-12458
Grafana information disclosure in github.com/grafana/grafana
- CVE-2020-13430
Grafana XSS via the OpenTSDB datasource in github.com/grafana/grafana
- CVE-2018-18624
Grafana XSS via a column style in github.com/grafana/grafana
- CVE-2025-41115
Grafana Incorrect Privilege Assignment vulnerability in github.com/grafana/grafana
- CVE-2026-21724
Grafana OSS: Authorization bypass allows users with Editor role to modify protected webhook URLs without permissions in github.com/grafana/grafana
- CVE-2025-41117
Grafana has a Cross-site Scripting issue in github.com/grafana/grafana
- CVE-2026-33380
Grafana: SQL Expressions Read File From Disk in github.com/grafana/grafana