Authentication bypassin the github.com/grafana/grafana package.
Weaponized: a Metasploit exploit is public.
Grafana 2.x, 3.x, and 4.x before 4.6.4 and 5.x before 5.2.3 allows authentication bypass because an attacker can generate a valid "remember me" cookie knowing only a username of an LDAP or OAuth user.
- Upgrade github.com/grafana/grafana (Go) to 4.6.4, 4.6.4+incompatible, 5.2.3, 5.2.3+incompatible or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 22 Aug 2018CVE ID reserved by mitre.
- 29 Aug 2018Published in the CVE List.
- 29 Aug 2018First public proof of concept on GitHub.
- 14 Aug 2019Metasploit module: Grafana 2.0 through 5.2.2 authentication bypass for LDAP and OAuth.
- 5 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Weaponized (Metasploit).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other vulnerabilities in this package
- www.securityfocus.com vdb-entry, x_refsource_BID
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- grafana.com x_refsource_CONFIRM
Patchminder. CVE-2018-15727: Authentication bypass in the github.com/grafana/grafana package. https://patchminder.com/cve/cve-2018-15727/ (accessed 5 December 2026).