Skip to content
Noroxi
CVE-2018-15727· NVD / CVE Program· CNA mitre

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

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.

CriticalCVSS 9.8 · v3.0—Weaponized Fix available
Published
Aug 29, 2018
Updated
Jun 16, 2026
EPSS
64.3% · 99th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

58

Plan

Add it to your regular patch cycle.

CVSS
39 / 40 · 9.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
19 / 30 · 64.3%

Affected systems

VendorProduct
grafanagrafana
redhatceph storage

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • grafana grafana2.0.0 and later · up to 2.1.2 inclusive
  • grafana grafana3.0.0 and later · up to 3.1.1 inclusive
  • grafana grafana4.0.0 and later · before 4.6.4
  • grafana grafana5.0.0 and later · before 5.2.3
  • redhat ceph storage3.0

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Gogithub.com/grafana/grafanafrom 5.0.0 · before 5.2.35.2.3
Gogithub.com/grafana/grafanafrom 5.0.0+incompatible · before 5.2.3+incompatible5.2.3+incompatible
Gogithub.com/grafana/grafanabefore 4.6.44.6.4
Gogithub.com/grafana/grafanabefore 4.6.4+incompatible4.6.4+incompatible
Red Hat:ceph_storage:3::el7grafanabefore 0:5.2.4-1.el7cp0:5.2.4-1.el7cp
Red Hat:storage:3.4:na:el7tendrl-gluster-integrationbefore 0:1.6.3-13.el7rhgs0:1.6.3-13.el7rhgs
Red Hat:storage:3.4:na:el7tendrl-node-agentbefore 0:1.6.3-11.el7rhgs0:1.6.3-11.el7rhgs
Red Hat:storage:3.4:wa:el7grafanabefore 0:4.6.4-1.el7rhgs0:4.6.4-1.el7rhgs
Red Hat:storage:3.4:wa:el7tendrl-ansiblebefore 0:1.6.3-10.el7rhgs0:1.6.3-10.el7rhgs
Red Hat:storage:3.4:wa:el7tendrl-apibefore 0:1.6.3-8.el7rhgs0:1.6.3-8.el7rhgs
Red Hat:storage:3.4:wa:el7tendrl-api-httpdbefore 0:1.6.3-8.el7rhgs0:1.6.3-8.el7rhgs
Red Hat:storage:3.4:wa:el7tendrl-grafana-pluginsbefore 0:1.6.3-16.el7rhgs0:1.6.3-16.el7rhgs
Red Hat:storage:3.4:wa:el7tendrl-monitoring-integrationbefore 0:1.6.3-16.el7rhgs0:1.6.3-16.el7rhgs
Red Hat:storage:3.4:wa:el7tendrl-uibefore 0:1.6.3-14.el7rhgs0:1.6.3-14.el7rhgs
SUSE:Enterprise Storage 5grafanabefore 4.6.5-3.10.14.6.5-3.10.1
SUSE:HPE Helion OpenStack 8ardana-ansiblebefore 8.0+git.1566374355.c509923-3.67.38.0+git.1566374355.c509923-3.67.3
SUSE:HPE Helion OpenStack 8ardana-glancebefore 8.0+git.1566376789.be0fe01-3.17.38.0+git.1566376789.be0fe01-3.17.3
SUSE:HPE Helion OpenStack 8ardana-horizonbefore 8.0+git.1565816064.5d4f73f-3.18.38.0+git.1565816064.5d4f73f-3.18.3
SUSE:HPE Helion OpenStack 8ardana-input-modelbefore 8.0+git.1566517401.98450e6-3.33.38.0+git.1566517401.98450e6-3.33.3
SUSE:HPE Helion OpenStack 8ardana-manilabefore 8.0+git.1568835837.2452e7a-1.21.38.0+git.1568835837.2452e7a-1.21.3
SUSE:HPE Helion OpenStack 8ardana-neutronbefore 8.0+git.1568220097.74ee4b4-3.33.38.0+git.1568220097.74ee4b4-3.33.3
SUSE:HPE Helion OpenStack 8ardana-novabefore 8.0+git.1566902754.c58ff69-3.35.38.0+git.1566902754.c58ff69-3.35.3
SUSE:HPE Helion OpenStack 8ardana-octaviabefore 8.0+git.1568373448.bcaee7e-3.20.38.0+git.1568373448.bcaee7e-3.20.3
SUSE:HPE Helion OpenStack 8ardana-tempestbefore 8.0+git.1566471887.fd2fec7-3.27.38.0+git.1566471887.fd2fec7-3.27.3

+75

Other highest-scoring records for the same primary product.

  • CVE-2021-39226Snapshot authentication bypass in grafanaKEV
    89Now
  • CVE-2021-43798Grafana path traversalKEV
    87Now
  • CVE-2024-9264Grafana SQL Expressions allow for remote code execution
    65This week
  • CVE-2020-13379The avatar feature in Grafana 3.0.1 through 7.0.1 has an SSRF Incorrect Access Control issue.
    62This week
  • CVE-2022-31097Stored XSS in Grafana's Unified Alerting
    55Plan
  • CVE-2022-26148An issue was discovered in Grafana through 7.3.4, when integrated with Zabbix.
    55Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Go:github.com/grafana/grafana4.6.4Package registry (OSV)
Go:github.com/grafana/grafana4.6.4+incompatiblePackage registry (OSV)
Go:github.com/grafana/grafana5.2.3Package registry (OSV)
Go:github.com/grafana/grafana5.2.3+incompatiblePackage registry (OSV)
red hat:grafana0:4.6.4-1.el7rhgs · Red Hat:storage:3.4:wa:el7Package registry (OSV)
red hat:tendrl-ansible0:1.6.3-10.el7rhgs · Red Hat:storage:3.4:wa:el7Package registry (OSV)
red hat:tendrl-api0:1.6.3-8.el7rhgs · Red Hat:storage:3.4:wa:el7Package registry (OSV)
red hat:tendrl-api-httpd0:1.6.3-8.el7rhgs · Red Hat:storage:3.4:wa:el7Package registry (OSV)
red hat:tendrl-gluster-integration0:1.6.3-13.el7rhgs · Red Hat:storage:3.4:na:el7Package registry (OSV)
red hat:tendrl-grafana-plugins0:1.6.3-16.el7rhgs · Red Hat:storage:3.4:wa:el7Package registry (OSV)
red hat:tendrl-monitoring-integration0:1.6.3-16.el7rhgs · Red Hat:storage:3.4:wa:el7Package registry (OSV)
red hat:tendrl-node-agent0:1.6.3-11.el7rhgs · Red Hat:storage:3.4:na:el7Package registry (OSV)
red hat:tendrl-ui0:1.6.3-14.el7rhgs · Red Hat:storage:3.4:wa:el7Package registry (OSV)
suse:crowbar-core4.0+git.1570463621.40b11cd48-9.54.1 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:crowbar-openstack4.0+git.1569429513.e7016b2b6-9.59.1 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:grafana4.6.5-1.11.2 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:novnc1.0.0-12.1 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:openstack-keystone10.0.3~dev9-7.18.2 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:openstack-keystone-doc10.0.3~dev9-7.18.2 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:openstack-neutron9.4.2~dev21-7.32.1 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:openstack-neutron-doc9.4.2~dev21-7.32.1 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:openstack-neutron-lbaas9.2.2~dev11-4.18.3 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:openstack-neutron-lbaas-doc9.2.2~dev11-4.18.3 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:openstack-nova14.0.11~dev13-4.34.3 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:openstack-nova-doc14.0.11~dev13-4.34.2 · SUSE:OpenStack Cloud 7Package registry (OSV)

Exploit status

Weaponized

A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.

Evidence

  • Metasploit module ×1
  • Proof-of-concept repository on GitHub ×1

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Metasploit moduleauxiliary/admin/http/grafana_auth_bypassGrafana 2.0 through 5.2.2 authentication bypass for LDAP and OAuthauxiliary2019-08-14
Proof-of-concept repository on GitHubstars:222018-08-29

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. First PoCsame day
  2. Published
  3. Metasploit+350 d
  4. TodaySep 30, 2026+2954 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Root cause

Authentication is added route by route instead of being enforced in one place. When a route added later bypasses the shared middleware, the session check never runs for it.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
app.use("/admin", requireSession, adminRouter);
// Route added later skips the middlewareapp.post("/admin-api/config", updateConfig);

Fixed

ts
const admin = express.Router();admin.use(requireSession, requireRole("admin"));
admin.post("/config", updateConfig);app.use("/admin", admin);

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records