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

Published Apr 15, 2026
·
Updated

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 secretkey 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.

Affected Software

5 affected componentsFixes available
Pyroscope Pyroscope>=1.15.0<1.15.2, >=1.16.0<1.16.1
go/github.com/grafana/pyroscope>=1.16.0<1.16.1
1.16.1
go/github.com/grafana/pyroscope<1.15.2
1.15.2
Grafana Pyroscope<1.15.2
Grafana Pyroscope=1.16.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/grafana/pyroscope to a version that resolves this vulnerability.

    Fixed in 1.16.1
  2. Upgrade

    Upgrade go/github.com/grafana/pyroscope to a version that resolves this vulnerability.

    Fixed in 1.15.2
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.15.2
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.16.1
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.17.0
  6. Compensating control

    Limit public internet exposure of the Pyroscope database so the Pyroscope API is only accessible by trusted users or internal systems.

Event History

Apr 15, 2026
CVE Published
via MITRE·07:15 PM
Data Sourced
via MITRE·07:15 PM
DescriptionSeverity
Data Sourced
via Red Hat·08:02 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·08:16 PM
DescriptionSeverity
Data Sourced
via NVD·08:16 PM
WeaknessAffected Software
Advisory Published
via GitHub·09:30 PM
Data Sourced
via GitHub·09:30 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-41118?

CVE-2025-41118 is considered a high-severity vulnerability due to the exposure of sensitive information.

2

How do I fix CVE-2025-41118?

To mitigate CVE-2025-41118, ensure type protection is implemented in the configuration API to secure the SecretKey.

3

Which software versions are affected by CVE-2025-41118?

CVE-2025-41118 affects Pyroscope versions 1.15.0 to 1.15.2 and 1.16.0 to 1.16.1.

4

What kind of data is exposed in CVE-2025-41118?

CVE-2025-41118 exposes the `SecretKey` in plaintext, which can lead to unauthorized access.

5

Who is the vendor associated with CVE-2025-41118?

The vendor associated with CVE-2025-41118 is Pyroscope.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203