Skip to main content

CVE-2025-41118 — Vulnerability in github.com/grafana/pyroscope

CRITICAL

Pyroscope Exposes Storage Secret

Published April 15, 2026Updated September 10, 2026Source: OSV

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.

Check my go.sum

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
Update github.com/grafana/pyroscope to 1.15.2 or later
go get github.com/grafana/pyroscope@v1.15.2
Go
Update github.com/grafana/pyroscope to 1.16.1 or later
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).

PackageFixed In
github.com/grafana/pyroscope Go · Affected: All versions1.15.2
github.com/grafana/pyroscope Go · Affected: All versions1.16.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-200
    Information ExposureMITRE
  • CWE-732
    Incorrect Permission AssignmentMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

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

CVSS Score
9.1

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
0.51%
EPSS percentile: 37.1

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

GHSA-m9hq-h476-h2g8
BIT-grafana-pyroscope-2025-41118
GO-2026-5501

Related CVEs

  • CVE-2026-11769
    MEDIUM

    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

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my go.sum