Patchfirst
CVE-2018-15727 Public exploit EPSS 64.3%

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.

Summary

The flaw lies in Grafana's authentication handling for its 2.x, 3.x and 4.x releases before 4.6.4 and its 5.x releases before 5.2.3, where the "remember me" cookie can be forged.

Heading is the official description · CVE.org
Breakdown
24.8 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Public exploit code (PoC-in-GitHub) was available the same day.

  1. DisclosedPublic exploit codePoC-in-GitHubday 0

See the family tree

4 related vulnerabilities in the same code over 7 years. The latest fix listed for github.com/grafana/grafana is 6.0.0-beta1+incompatible.

Same bug familyLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. This CVECVE-2018-15727Grafana 2.x, 3.x, and 4.x before 4.6.4 and 5.x before 5.2.3…29 Aug 2018
  2. relatedMedium

    Why these are linked:

    CVE-2020-12458An information-disclosure flaw was found in Grafana through…29 Apr 2020
  3. same family
    CVE-2020-12459In certain Red Hat packages for Grafana 6.x through 6.3.6, the…29 Apr 2020
  4. same family
    CVE-2025-41115Incorrect privilege assignment21 Nov 2025

Fixes in github.com/grafana/grafanaGo package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 1.9.2-0.20260513165311-fb7336fc36c1CVE-2026-3338013 May 2026
  2. 1.9.2-0.20260513165311-fb7336fc36c1CVE-2026-3338113 May 2026
  3. 5.2.0-beta1+incompatibleCVE-2018-1209911 Jun 2018
  4. 5.2.3+incompatibleCVE-2018-1572729 Aug 2018
  5. 5.3.2CVE-2018-100081620 Dec 2018
  6. 6.0.0-beta1+incompatibleCVE-2018-186232 Jun 2020
  7. 6.0.0-beta1+incompatibleCVE-2018-186252 Jun 2020Latest listed

techniques

No techniques linked

No ATT&CK techniques are linked to this CVE yet. MITRE CTID has not mapped it, and no report passage in the corpus ties it to a technique.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: github.com/grafana/grafana.

Gogithub.com/grafana/grafanaGHSA-rgjg-66cx-5x9mGO-2022-0707

Upgrade to 5.2.3

Still affected on this line by CVE-2020-13379 (fixed in 6.7.4, a newer line); CVE-2021-39226 (fixed in 7.5.11, a newer line); CVE-2022-31097 (no fix published); CVE-2024-9264 (no fix published); CVE-2025-3415 (no fix published); CVE-2025-4123 (no fix published); CVE-2025-6023 (no fix published).

Gogo get github.com/grafana/grafana@v5.2.3

The first fix for CVE-2018-15727.

Affected versions, by release line

If you runUpgrade to
5.0.0 up to 5.2.35.2.3
5.0.0+incompatible up to 5.2.3+incompatible

Still affected on this line by CVE-2020-13379 (fixed in 6.7.4, a newer line); CVE-2021-39226 (fixed in 7.5.11, a newer line); CVE-2022-31097 (no fix published); CVE-2024-9264 (no fix published); CVE-2025-3415 (no fix published); CVE-2025-4123 (no fix published); CVE-2025-6023 (no fix published).

5.2.3+incompatible
All versions before 4.6.4

Still affected on this line by CVE-2020-13379 (fixed in 6.7.4, a newer line); CVE-2021-39226 (fixed in 7.5.11, a newer line); CVE-2022-31097 (no fix published); CVE-2024-9264 (no fix published); CVE-2025-3415 (no fix published); CVE-2025-4123 (no fix published); CVE-2025-6023 (no fix published).

4.6.4
All versions before 4.6.4+incompatible

Still affected on this line by CVE-2020-13379 (fixed in 6.7.4, a newer line); CVE-2021-39226 (fixed in 7.5.11, a newer line); CVE-2022-31097 (no fix published); CVE-2024-9264 (no fix published); CVE-2025-3415 (no fix published); CVE-2025-4123 (no fix published); CVE-2025-6023 (no fix published).

4.6.4+incompatible

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

References

4 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close