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.
https://github.com/Zierax/Grafana-Final-Scanner
https://github.com/svnsyn/CVE-2018-15727
https://github.com/grimbelhax/CVE-2018-15727
https://github.com/advisories/GHSA-rgjg-66cx-5x9m
https://github.com/u238/grafana-CVE-2018-15727
https://grafana.com/blog/2018/08/29/grafana-5.2.3-and-4.6.4-released-with-important-security-fix/