patchminder
Weaponized · Metasploit CVE-2018-15727

Authentication bypassin the github.com/grafana/grafana package.

Published 29 Aug 2018 · Updated 5 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Metasploit exploit is public.

Attack code is public
Severity
Critical 9.8
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.0 · no login needed
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 63.1% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
In plain words

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.

What to do now
  • 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.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
n/a
Not confirmed
Not confirmed
CVE record
github.com/grafana/grafana (Go)
before 4.6.4
4.6.4
GitHub advisory
github.com/grafana/grafana (Go)
5.0.0 to before 5.2.3
5.2.3
GitHub advisory
github.com/grafana/grafana (Go)
before 4.6.4+incompatible
4.6.4+incompatible
GitHub advisory
github.com/grafana/grafana (Go)
5.0.0+incompatible to before 5.2.3+incompatible
5.2.3+incompatible
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 22 Aug 2018
    CVE ID reserved by mitre.
  2. 29 Aug 2018
    Published in the CVE List.
  3. 29 Aug 2018
    First public proof of concept on GitHub.
  4. 14 Aug 2019
    Metasploit module: Grafana 2.0 through 5.2.2 authentication bypass for LDAP and OAuth.
  5. 5 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Metasploit).

Metasploit module
1 module
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundu238/grafana-CVE-2018-1572722 stars · created 29 Aug 2018a small utility to generate a cookie in order to exploit a grafana vulnerability (CVE-2018-15727)

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.

Related

Other vulnerabilities in this package

References
Cite this page

Patchminder. CVE-2018-15727: Authentication bypass in the github.com/grafana/grafana package. https://patchminder.com/cve/cve-2018-15727/ (accessed 5 December 2026).