{"answers":{"affected":"1 open source package ship an affected version, including grafana.","exploited":"There is no known exploitation of CVE-2025-3580 in the wild and no public exploit code.","fix":"Upgrade grafana to a fixed version for your release line: 10.4.19, 11.2.10, 11.3.7 or 11.4.5.","what":"CVE-2025-3580 is a medium-severity missing authorization vulnerability in Grafana, published on 23 May 2025. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-3580 and fix it if it is affected.\n\nWhat it is: CVE-2025-3580 is a medium-severity missing authorization vulnerability in Grafana, published on 23 May 2025. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-3580 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- grafana (Bitnami): affected from 10.4.18; fixed in 10.4.19, 11.2.10, 11.3.7, 11.4.5, 11.5.5, 11.6.2, 12.0.1\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-3580/ (Markdown: https://insights.sbomify.com/CVE-2025-3580/index.md)","id":"CVE-2025-3580","markdown":"https://insights.sbomify.com/CVE-2025-3580/index.md","name":"CVE-2025-3580","record":{"aliases":["BIT-grafana-2025-3580","GHSA-gcjf-8x3p-64v2","MINI-9fwr-vwr2-rm9w","MINI-rw62-gxfh-ppvf","MINI-vwv6-2m9r-m47p","UBUNTU-CVE-2025-3580"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["privilege_escalation","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Grafana monitoring platform","requires_auth":"high_privilege","summary":"Organization administrators can delete Server administrator accounts, potentially causing complete loss of administrative control over the Grafana instance.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GRAFANA","cpe":[],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H","version":"3.1"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"description":"An access control vulnerability was discovered in Grafana OSS where an Organization administrator could permanently delete the Server administrator account. This vulnerability exists in the DELETE /api/org/users/ endpoint.\n\nThe vulnerability can be exploited when:\n\n1. An Organization administrator exists\n\n2. The Server administrator is either:\n\n   - Not part of any organization, or\n   - Part of the same organization as the Organization administrator\nImpact:\n\n- Organization administrators can permanently delete Server administrator accounts\n\n- If the only Server administrator is deleted, the Grafana instance becomes unmanageable\n\n- No super-user permissions remain in the system\n\n- Affects all users, organizations, and teams managed in the instance\n\nThe vulnerability is particularly serious as it can lead to a complete loss of administrative control over the Grafana instance.","ecosystems":["Bitnami"],"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":"Missing authorization in Grafana","id":"CVE-2025-3580","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"missing_authorization","year":"2025"},"n_packages":1,"n_references":1,"next":{"headline":"Newsletter \u003c 8.8.5 - Admin+ Stored XSS via Widget","id":"CVE-2025-3581"},"packages":[{"ecosystem":"Bitnami","fixed":["10.4.19","11.2.10","11.3.7","11.4.5","11.5.5","11.6.2","12.0.1"],"introduced":["10.4.18","11.2.9","11.3.6","11.4.4","11.5.4","11.6.1","12.0.0"],"last_affected":[],"package":"grafana","purl":"pkg:bitnami/grafana","source":"BIT-grafana-2025-3580"}],"prev":{"headline":"Code Injection Vulnerability in AiDex","id":"CVE-2025-3579"},"products":["Grafana"],"published":"2025-05-23","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-07-17","vendors":["Grafana"]},"summary":"Organization administrators can delete Server administrator accounts, potentially causing complete loss of administrative control over the Grafana instance.","url":"https://insights.sbomify.com/CVE-2025-3580/"}