Grafana
Hack or exploit on Apr 26, 2025 · Malicious Code Injection Attack
What happened
The open-source data visualization tool Grafana has responded to a recent attack, stating that the attacker forked a Grafana repository, executed a curl command to inject malicious code, and exported environment variables into a file encrypted with a private key, thereby stealing access tokens. The attacker then deleted the fork to conceal their activity. Using the compromised credentials, the attacker replicated the attack against four private repositories. This unauthorized access was limited to automation systems and did not affect production environments or release artifacts. Based on the attack behavior, the goal appeared to be token theft and stealthy persistence for future use.
Details
- Date
- Apr 26, 2025
- Kind
- Hack or exploit
- Method
- Malicious Code Injection Attack
- How in
- Keys, accounts and infrastructure
- Target
- not stated
- Chains
- not stated
Reported by
SwanBluechip, "Grafana hack, Apr 26, 2025: undisclosed lost", Crypto hack history, https://swan-hack-tracker.pages.dev/history/i/ht1eb588ee61/ (data as of 2026-10-31).