Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🐹
🐹 Go
Not in CISA KEV
CRITICAL severity

CVE-2018-15727 — grafana

CRITICALFix: grafana/grafana@7baecf0

CVE-2018-15727 is a critical-severity (CVSS 9.8) Improper Authentication vulnerability in github.com/grafana/grafana. 3 public exploit references exist, so weaponization risk is real. A fix is available for github.com/grafana/grafana — see the affected versions and patch details below.

Grafana Authentication Bypass

Also known asGHSA-rgjg-66cx-5x9mGO-2022-0707
Published
Updated
Affected
2 pkgs
Patched
2 / 2
Exploits
3 known
Exploitation data as of Oct 9, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
64.3%probability of exploitation in next 30 days
High Risk0.00%
Lower risk than most CVEs99th percentile — riskier than 99% of all scored CVEsHighest risk
59.7%67.8%76.0%84.1%79.6%64.3%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

CVE-2018-15727 by exploitation likelihood (EPSS) against impact (CVSS). In the shaded patch-first corner (EPSS 50%+, CVSS 7.0+).

Where this sits among everything scored

Of 385,386 CVEs with a current EPSS score, this one falls in the 50–90% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

2 pkgs affected
🐹github.com/grafana/grafana🐹github.com/grafana/grafana

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.

Description

Grafana 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.

Specific Go Packages Affected

github.com/grafana/grafana/pkg/api

Affected Packages

2 total 2 fixed
EcosystemPackageVulnerable rangeFix
🐹Gogithub.com/grafana/grafanaall versions4.6.4go get github.com/grafana/grafana@v4.6.4
🐹Gogithub.com/grafana/grafana≥ 5.0.0&&< 5.2.35.2.3go get github.com/grafana/grafana@v5.2.3

Affected Products

2 products · 5 configurations
Application
grafanagrafana
≥ 5.0.0 && ≤ 3.1.1
range
Application
ceph storageredhat
1 version
3.0
Exploits & PoCs
3

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/grafana/grafana, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update github.com/grafana/grafana to 4.6.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2018-15727 is resolved across your whole dependency graph.

  3. Workarounds

    Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate
Workaround published by Red Hat
As per upstream (https://grafana.com/blog/2018/08/29/grafana-5.2.3-and-4.6.4-released-with-important-security-fix) * Switch to authentication mechanism other than LDAP or OAuth * Grafana should be isolated from public networks
Source: Red Hat security advisory for CVE-2018-15727 (CC BY 4.0)
ProductFixed inAdvisory
Red Hat Ceph Storage 3.2grafana-0:5.2.4-1.el7cpRHSA-2019:0019
Red Hat Gluster Storage 3.4 for RHEL 7grafana-0:4.6.4-1.el7rhgsRHSA-2018:3829

Frequently Asked Questions

Grafana 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. ### Specific Go Packages Affected github.com/grafana/grafana/pkg/api
O3 Security · Impact-Aware SCA

Is CVE-2018-15727 in your dependencies?

Find it across Go, including transitive dependencies.

CVE-2018-15727: grafana Auth Bypass — Fixed in 4.6.4