{"answers":{"affected":"6 open source packages ship an affected version, including github.com/grafana/pyroscope and grafana-pyroscope. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-41118 in the wild and no public exploit code.","fix":"Upgrade github.com/grafana/pyroscope to a fixed version for your release line: 1.15.2 or 1.16.1.","what":"CVE-2025-41118 is a critical vulnerability in Grafana Pyroscope, published on 15 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-41118 and fix it if it is affected.\n\nWhat it is: CVE-2025-41118 is a critical vulnerability in Grafana Pyroscope, published on 15 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-41118 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/grafana/pyroscope (Go): affected all versions; fixed in 1.15.2, 1.16.1\n- github.com/grafana/pyroscope (Go): affected all versions; fixed in 1.15.2\n- github.com/grafana/pyroscope (Go): affected all versions; fixed in 1.15.2\n- github.com/grafana/pyroscope (Go): affected from 1.16.0; fixed in 1.16.1\n- github.com/grafana/pyroscope (Go): affected from 1.16.0; fixed in 1.16.1\n- grafana-pyroscope (Bitnami): affected all versions; fixed in 1.15.2, 1.17.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-41118/ (Markdown: https://insights.sbomify.com/CVE-2025-41118/index.md)","id":"CVE-2025-41118","markdown":"https://insights.sbomify.com/CVE-2025-41118/index.md","name":"CVE-2025-41118","record":{"aliases":["BIT-grafana-pyroscope-2025-41118","GHSA-m9hq-h476-h2g8","GO-2026-5501"],"analysis":{"component_type":"database","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Pyroscope profiling database","requires_auth":"none","summary":"Attackers with API access can extract Tencent COS SecretKey in plaintext if COS backend is configured, exposing cloud credentials.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GRAFANA","cpe":[{"product":"pyroscope","vendor":"grafana"}],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-201","name":"Insertion of Sensitive Information Into Sent Data"},{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"}],"description":"Pyroscope is an open-source continuous profiling database. The database supports various storage backends, including Tencent Cloud Object Storage (COS).\n\nIf 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.\n\nTo 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.\n\nThis vulnerability is fixed in versions:\n\n1.15.x: 1.15.2 and above.\n1.16.x: 1.16.1 and above.\n1.17.x: 1.17.0 and above (i.e. all versions).\n\nThanks to Théo Cusnir for reporting this vulnerability to us via our bug bounty program.","ecosystems":["Bitnami","Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Sensitive COS `SecretKey` exposed in plaintext via configuration API due to missing type protection","id":"CVE-2025-41118","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"information_disclosure","year":"2025"},"n_packages":6,"n_references":1,"next":{"headline":"Denial of service in RUGGEDCOM M2100","id":"CVE-2025-41222"},"packages":[{"ecosystem":"Bitnami","fixed":["1.15.2","1.17.0"],"introduced":["0","1.16.0"],"last_affected":[],"package":"grafana-pyroscope","purl":"pkg:bitnami/grafana-pyroscope","source":"BIT-grafana-pyroscope-2025-41118"},{"ecosystem":"Go","fixed":["1.15.2","1.16.1"],"introduced":["0","1.16.0"],"last_affected":[],"package":"github.com/grafana/pyroscope","purl":"pkg:golang/github.com/grafana/pyroscope","source":"GO-2026-5501"},{"ecosystem":"Go","fixed":["1.15.2"],"introduced":["0"],"last_affected":[],"package":"github.com/grafana/pyroscope","purl":null,"source":"GHSA-m9hq-h476-h2g8"},{"ecosystem":"Go","fixed":["1.15.2"],"introduced":["0"],"last_affected":[],"package":"github.com/grafana/pyroscope","purl":"pkg:golang/github.com/grafana/pyroscope","source":"GHSA-m9hq-h476-h2g8"},{"ecosystem":"Go","fixed":["1.16.1"],"introduced":["1.16.0"],"last_affected":[],"package":"github.com/grafana/pyroscope","purl":null,"source":"GHSA-m9hq-h476-h2g8"},{"ecosystem":"Go","fixed":["1.16.1"],"introduced":["1.16.0"],"last_affected":[],"package":"github.com/grafana/pyroscope","purl":"pkg:golang/github.com/grafana/pyroscope","source":"GHSA-m9hq-h476-h2g8"}],"prev":{"headline":"XSS in Grafana Explore stack trace","id":"CVE-2025-41117"},"products":["Pyroscope"],"published":"2026-04-15","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-27","vendors":["Grafana"]},"summary":"Attackers with API access can extract Tencent COS SecretKey in plaintext if COS backend is configured, exposing cloud credentials.","url":"https://insights.sbomify.com/CVE-2025-41118/"}