CVE-2025-41118: Vulnerability in Grafana Pyroscope
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.
AI Analysis
Technical Summary
Pyroscope, an open-source continuous profiling database, supports Tencent Cloud Object Storage (COS) as a storage backend. When configured to use Tencent COS, a vulnerability exists that allows an attacker with direct access to the Pyroscope API to retrieve the secret_key configuration value in plaintext. This vulnerability is classified under CWE-732 (Incorrect Permission Assignment for Critical Resource) and CWE-201 (Insertion of Sensitive Information Into Sent Data). The issue is rated critical with a CVSS 3.1 score of 9.1 due to its network attack vector, low attack complexity, no privileges required, no user interaction, and high confidentiality impact. The vulnerability is addressed in Pyroscope versions 1.15.2+, 1.16.1+, and all 1.17.x versions. Vendor advisories from Red Hat confirm the vulnerability and recommend limiting API exposure as a mitigation.
Potential Impact
An attacker who can access the Pyroscope API when Tencent COS is configured as the storage backend can extract the secret_key in plaintext, leading to sensitive information disclosure. This compromises the confidentiality of the secret_key, which could be used to access Tencent COS resources. The vulnerability does not impact integrity or availability directly. The CVSS score of 9.1 reflects the critical nature of this confidentiality breach.
Mitigation Recommendations
A fix is available in Pyroscope versions 1.15.2 and later for the 1.15.x branch, 1.16.1 and later for the 1.16.x branch, and all 1.17.x versions. Users should upgrade to these fixed versions to remediate the vulnerability. Until upgrading, it is strongly recommended to limit network exposure of the Pyroscope API so that it is accessible only by trusted users or internal systems. This reduces the risk of unauthorized access to the secret_key via the API.
CVE-2025-41118: Vulnerability in Grafana Pyroscope
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.
CVSS v3.1
Score 9.1critical
Affected software
pkg:github/grafana/pyroscopeRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Pyroscope, an open-source continuous profiling database, supports Tencent Cloud Object Storage (COS) as a storage backend. When configured to use Tencent COS, a vulnerability exists that allows an attacker with direct access to the Pyroscope API to retrieve the secret_key configuration value in plaintext. This vulnerability is classified under CWE-732 (Incorrect Permission Assignment for Critical Resource) and CWE-201 (Insertion of Sensitive Information Into Sent Data). The issue is rated critical with a CVSS 3.1 score of 9.1 due to its network attack vector, low attack complexity, no privileges required, no user interaction, and high confidentiality impact. The vulnerability is addressed in Pyroscope versions 1.15.2+, 1.16.1+, and all 1.17.x versions. Vendor advisories from Red Hat confirm the vulnerability and recommend limiting API exposure as a mitigation.
Potential Impact
An attacker who can access the Pyroscope API when Tencent COS is configured as the storage backend can extract the secret_key in plaintext, leading to sensitive information disclosure. This compromises the confidentiality of the secret_key, which could be used to access Tencent COS resources. The vulnerability does not impact integrity or availability directly. The CVSS score of 9.1 reflects the critical nature of this confidentiality breach.
Mitigation Recommendations
A fix is available in Pyroscope versions 1.15.2 and later for the 1.15.x branch, 1.16.1 and later for the 1.16.x branch, and all 1.17.x versions. Users should upgrade to these fixed versions to remediate the vulnerability. Until upgrading, it is strongly recommended to limit network exposure of the Pyroscope API so that it is accessible only by trusted users or internal systems. This reduces the risk of unauthorized access to the secret_key via the API.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GRAFANA
- Date Reserved
- 2025-04-16T09:19:26.443Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2025-41118","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:24503","vendor":"Red Hat"}]
Threat ID: 69dfe7b682d89c981f913c3c
Added to database: 04/15/2026, 19:32:06 UTC
Last enriched: 08/14/2026, 14:38:08 UTC
Last updated: 09/10/2026, 19:36:50 UTC
Views: 166
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.