CVE-2023-1387
A public proof of concept exists; no exploitation attested.
- Published2023-04-26
- Fixed in9.4.9 · 9.3.13 · 9.2.17
- WeaknessCWE-200
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
Grafana is an open-source platform for monitoring and observability. Starting with the 9.1 branch, Grafana introduced the ability to search for a JWT in the URL query parameter auth_token and use it as the authentication token. By enabling the "url_login" configuration option (disabled by default), a JWT might be sent to data sources. If an attacker has access to the data source, the leaked token could be used to authenticate to Grafana.
Timeline
dates in UTC- 2023-04-2614:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 9.4 | ≥ 9.4.0, < 9.4.9 | 9.4.9 | NVD · OSV |
| 9.3 | ≥ 9.3.0, < 9.3.13 | 9.3.13 | NVD · OSV |
| 9.x | ≥ 9.1.0, < 9.2.17 | 9.2.17 | NVD · OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA2 products
As GRAFANA, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- GrafanaAffected
- ≥ 9.1.0, < 9.2.17fixed in 9.2.17semver
- ≥ 9.3.0, < 9.3.13fixed in 9.3.13semver
- ≥ 9.4.0, < 9.5.0fixed in 9.5.0semver
- Grafana EnterpriseAffected
- ≥ 9.1.0, < 9.2.17fixed in 9.2.17semver
- ≥ 9.3.0, < 9.3.13fixed in 9.3.13semver
- ≥ 9.4.0, < 9.5.0fixed in 9.5.0semver
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2023-06-09
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- ansibleSUSE:Manager Client Tools 15-BETAall versions · fixed in 2.9.27-159000.3.9.1
- bindSUSE:Manager Client Tools for SLE Micro 5all versions · fixed in 9.16.6-150000.12.65.1
- bindSUSE:Linux Enterprise Server for SAP Applications 15 SP2all versions · fixed in 9.16.6-150000.12.65.1
- bindSUSE:Linux Enterprise Server for SAP Applications 15 SP1all versions · fixed in 9.16.6-150000.12.65.1
- bindSUSE:Linux Enterprise Server 15 SP2-LTSSall versions · fixed in 9.16.6-150000.12.65.1
- bindSUSE:Linux Enterprise Server 15 SP1-LTSSall versions · fixed in 9.16.6-150000.12.65.1
- bindSUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSall versions · fixed in 9.16.6-150000.12.65.1
- bindSUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSall versions · fixed in 9.16.6-150000.12.65.1
69 more package ranges on OSV.dev
Vendor advisories
grafana: JWT token leak to data source
servicemesh-grafana as a component of OpenShift Service Mesh 2.1 · servicemesh-grafana.src as a component of OpenShift Service Mesh 2.1 · grafana as a component of Red Hat Ceph Storage 3 · +23 more
Red Hat Security Advisory: new container image: rhceph-5.3
Red Hat Security Advisory: Red Hat Ceph Storage 6.1 security, enhancements, and bug fix update
Fix
- Update Grafana to 9.4.9 · 9.3.13 · 9.2.17
- Vendor fix Red Hat Product Security RHSA-2024:0746 · 3 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/2789521 and https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/5/html-single/up…
- Vendor fix Red Hat Product Security RHSA-2023:7741 · 3 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/6 For supported configurations, refer to: https://access.redhat.…
- No fix available, says the vendor Red Hat Product Security CVE-2023-1387 · 3 productsAffected
- No fix planned, says the vendor Red Hat Product Security CVE-2023-1387 · 2 productsOut of support scope
- No fix planned, says the vendor Red Hat Product Security CVE-2023-1387 · 21 productsWill not fix
Advisories and patches
- github.comVendor Advisory
- grafana.comVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2025-01-31
- PoC-in-GitHubno public repository identifiedread 2026-11-08
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2025-01-31
- CNACVSS 3.14.2known since 2026-10-23
- NVDCVSS 3.17.5read 2026-10-23
- CNAweakness (CWE)CWE-200known since 2026-10-23
- FIRST EPSSEPSS score1.5 %2026-11-08
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- BIT-grafana-2023-1387same flawBitnami · Apache-2.0
- EUVD-2023-23643same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-5585-m9r5-p86jsame flawGitHub Advisory Database · CC-BY-4.0
- GHSA-c3h9-vpfv-3x4msame flawGitHub Advisory Database · CC-BY-4.0
- openSUSE-SU-2024:12890-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- SUSE-SU-2023:2575-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:2578-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:2579-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:0191-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2024:0196-1advisory covering several CVEsSUSE · LicenseRef-unstated
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Published
- 2023-04-26
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-5585-m9r5-p86j GHSA-c3h9-vpfv-3x4m
Frequently asked questions
What is CVE-2023-1387?
Is CVE-2023-1387 actively exploited?
What is the CVSS score for CVE-2023-1387?
Running Grafana? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2021-39226KEVsame product
- CVE-2021-43798KEVsame product
- CVE-2020-13379same product
- CVE-2024-9264same product
- CVE-2025-4123same productgrafana: Cross-site Scripting (XSS) in Grafana via Custom Frontend Plugins and Open Redirect
- CVE-2021-41174same product
- CVE-2021-27358same product
- CVE-2025-6197same productgrafana: Open Redirect in Grafana
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-5585-m9r5-p86j, GHSA-c3h9-vpfv-3x4m
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0