Every CVE Search/ Get API key

CVE-2024-8118

Grafana alerting wrong permission on datasource rule write endpoint

5.1 MediumPublic exploitFix available

In Grafana, the wrong permission is applied to the alert rule write API endpoint, allowing users with permission to write external alert instances to also write alert rules.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
High
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
Low

Exploit likelihood

0.58%Up 0.5 points since Sep 27, 2024
90%50%10%1%

What each source reports

CVE List Score used 5.1

Grafana alerting wrong permission on datasource rule write endpoint

In Grafana, the wrong permission is applied to the alert rule write API endpoint, allowing users with permission to write external alert instances to also write alert rules.

Record
CVE-2024-8118
CVSS 4.0
5.1 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
Weakness
CWE-653
Updated
2026-11-02
EUVDEUVD-2024-48948 5.1

In Grafana, the wrong permission is applied to the alert rule write API endpoint, allowing users with permission to write external alert instances to also write alert rules.

Record
EUVD-2024-48948
CVSS 4.0
5.1 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
Updated
2026-11-03
GitHub AdvisoriesGHSA-3j8x-8x9q-3m4r 5.1

In Grafana, the wrong permission is applied to the alert rule write API endpoint, allowing users...

In Grafana, the wrong permission is applied to the alert rule write API endpoint, allowing users with permission to write external alert instances to also write alert rules.

Record
GHSA-3j8x-8x9q-3m4r
CVSS 4.0
5.1 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness
CWE-653
Updated
2026-11-02
NVD 5.1

In Grafana, the wrong permission is applied to the alert rule write API endpoint, allowing users with permission to write external alert instances to also write alert rules.

Record
CVE-2024-8118
CVSS 4.0
5.1 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness
CWE-653
Updated
2026-11-02
OSVALPINE-CVE-2024-8118 5.1

In Grafana, the wrong permission is applied to the alert rule write API endpoint, allowing users with permission to write external alert instances to also write alert rules.

Record
ALPINE-CVE-2024-8118
CVSS 4.0
5.1 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Updated
2026-11-03
OSV 5.1

Grafana alerting wrong permission on datasource rule write endpoint

In Grafana, the wrong permission is applied to the alert rule write API endpoint, allowing users with permission to write external alert instances to also write alert rules.

Record
CVE-2024-8118
CVSS 4.0
5.1 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
Weakness
CWE-653
Updated
2026-11-02
Show 6 moreShow less
OSVUBUNTU-CVE-2024-8118 5.1

In Grafana, the wrong permission is applied to the alert rule write API endpoint, allowing users with permission to write external alert instances to also write alert rules.

Record
UBUNTU-CVE-2024-8118
CVSS 4.0
5.1 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
Updated
2026-11-02
OSVBIT-grafana-2024-8118 No score

Grafana alerting wrong permission on datasource rule write endpoint

In Grafana, the wrong permission is applied to the alert rule write API endpoint, allowing users with permission to write external alert instances to also write alert rules.

Record
BIT-grafana-2024-8118
Updated
2026-11-02
OSVopenSUSE-SU-2024:14431-1 No score

grafana-11.3.0-1.1 on GA media

These are all security issues fixed in the grafana-11.3.0-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:14431-1
Updated
2026-11-02
OSVSUSE-SU-2025:0524-1 No score

Security update for SUSE Manager Client Tools

This update fixes the following issues:

golang-github-prometheus-prometheus was updated from version 2.45.6 to 2.53.3 (jsc#PED-11649):

  • Security issues fixed:

    • CVE-2024-51744: Updated golang-jwt to version 5.0 to fix bad error handling (bsc#1232970)
  • Highlights of other changes:

    • Performance:
      • Significant enhancements to PromQL execution speed, TSDB operations (especially querying and compaction) and remote write operations.
      • Default GOGC value lowered to 75 for better memory management.
      • Option to limit memory usage from dropped targets added.
    • New Features:
      • Experimental OpenTelemetry ingestion.
      • Automatic memory limit handling.
      • Native histogram support, including new functions, UI enhancements, and improved scraping.
      • Improved alerting features, such as relabeling rules for AlertmanagerConfig and a new query_offset option.
      • Expanded service discovery options with added metadata and support for new services.
      • New promtool commands for PromQL formatting, label manipulation, metric pushing, and OpenMetrics dumping.
    • Bug Fixes:
      • Numerous fixes across scraping, API, TSDB, PromQL, and service discovery.
    • For a detailed list of changes consult the package changelog or https://github.com/prometheus/prometheus/compare/v2.45.6...v2.53.3

golang-github-prometheus-promu was updated to version 0.17.0:

  • Added codesign utility function

grafana was updated from version 9.5.18 to 10.4.13 (jsc#PED-11591,jsc#PED-11649):

  • Security issues fixed:

    • CVE-2024-45337: Prevent possible misuse of ServerConfig.PublicKeyCallback by upgrading golang.org/x/crypto (bsc#1234554)
    • CVE-2023-3128: Fixed authentication bypass using Azure AD OAuth (bsc#1212641)
    • CVE-2023-6152: Add email verification when updating user email (bsc#1219912)
    • CVE-2024-6837: Fixed potential data source permission escalation (bsc#1236301)
    • CVE-2024-8118: Fixed permission on external alerting rule write endpoint (bsc#1231024)
  • Potential breaking changes in version 10:

    • In panels using the extract fields transformation, where one of the extracted names collides with one of the already existing ields, the extracted field will be renamed.
    • For the existing backend mode users who have table visualization might see some inconsistencies on their panels. We have updated the table column naming. This will potentially affect field transformations and/or field overrides. To resolve this either: update transformation or field override.
    • For the existing backend mode users who have Transformations with the time field, might see their transformations are not working. Those panels that have broken transformations will fail to render. This is because we changed the field key. To resolve this either: Remove the affected panel and re-create it; Select the Time field again; Edit the time field as Time for transformation in panel.json or dashboard.json
    • The following data source permission endpoints have been removed: GET /datasources/:datasourceId/permissions POST /api/datasources/:datasourceId/permissions DELETE /datasources/:datasourceId/permissions POST /datasources/:datasourceId/enable-permissions POST /datasources/:datasourceId/disable-permissions
      • Please use the following endpoints instead: GET /api/access-control/datasources/:uid for listing data source permissions POST /api/access-control/datasources/:uid/users/:id, POST /api/access-control/datasources/:uid/teams/:id and POST /api/access-control/datasources/:uid/buildInRoles/:id for adding or removing data source permissions
    • If you are using Terraform Grafana provider to manage data source permissions, you will need to upgrade your provider.
    • For the existing backend mode users who have table visualization might see some inconsistencies on their panels. …
Record
SUSE-SU-2025:0524-1
Updated
2026-11-02
OSVSUSE-SU-2025:0525-1 No score

Security update for SUSE Manager Client Tools

This update fixes the following issues:

dracut-saltboot was updated to version 0.1.1728559936.c16d4fb:

  • Added MAC based terminal naming option (jsc#SUMA-314)

golang-github-prometheus-prometheus was updated from version 2.45.6 to 2.53.3 (jsc#PED-11649):

  • Security issues fixed:

    • CVE-2024-51744: Updated golang-jwt to version 5.0 to fix bad error handling (bsc#1232970)
  • Highlights of other changes:

    • Performance:
      • Significant enhancements to PromQL execution speed, TSDB operations (especially querying and compaction) and remote write operations.
      • Default GOGC value lowered to 75 for better memory management.
      • Option to limit memory usage from dropped targets added.
    • New Features:
      • Experimental OpenTelemetry ingestion.
      • Automatic memory limit handling.
      • Native histogram support, including new functions, UI enhancements, and improved scraping.
      • Improved alerting features, such as relabeling rules for AlertmanagerConfig and a new query_offset option.
      • Expanded service discovery options with added metadata and support for new services.
      • New promtool commands for PromQL formatting, label manipulation, metric pushing, and OpenMetrics dumping.
    • Bug Fixes:
      • Numerous fixes across scraping, API, TSDB, PromQL, and service discovery.
    • For a detailed list of changes consult the package changelog or https://github.com/prometheus/prometheus/compare/v2.45.6...v2.53.3

grafana was updated from version 9.5.18 to 10.4.13 (jsc#PED-11591,jsc#PED-11649):

  • Security issues fixed:

    • CVE-2024-45337: Prevent possible misuse of ServerConfig.PublicKeyCallback by upgrading golang.org/x/crypto (bsc#1234554)
    • CVE-2023-3128: Fixed authentication bypass using Azure AD OAuth (bsc#1212641)
    • CVE-2023-6152: Add email verification when updating user email (bsc#1219912)
    • CVE-2024-6837: Fixed potential data source permission escalation (bsc#1236301)
    • CVE-2024-8118: Fixed permission on external alerting rule write endpoint (bsc#1231024)
  • Potential breaking changes in version 10:

    • In panels using the extract fields transformation, where one of the extracted names collides with one of the already existing ields, the extracted field will be renamed.
    • For the existing backend mode users who have table visualization might see some inconsistencies on their panels. We have updated the table column naming. This will potentially affect field transformations and/or field overrides. To resolve this either: update transformation or field override.
    • For the existing backend mode users who have Transformations with the time field, might see their transformations are not working. Those panels that have broken transformations will fail to render. This is because we changed the field key. To resolve this either: Remove the affected panel and re-create it; Select the Time field again; Edit the time field as Time for transformation in panel.json or dashboard.json
    • The following data source permission endpoints have been removed: GET /datasources/:datasourceId/permissions POST /api/datasources/:datasourceId/permissions DELETE /datasources/:datasourceId/permissions POST /datasources/:datasourceId/enable-permissions POST /datasources/:datasourceId/disable-permissions
      • Please use the following endpoints instead: GET /api/access-control/datasources/:uid for listing data source permissions POST /api/access-control/datasources/:uid/users/:id, POST /api/access-control/datasources/:uid/teams/:id and POST /api/access-control/datasources/:uid/buildInRoles/:id for adding or removing data source permissions
    • If you are using Terraform Grafana provider to manage data source permissions, you will need to upgrade your provider.
    • For the existing backend mode users who have table visualization might see some inconsistencies…
Record
SUSE-SU-2025:0525-1
Updated
2026-11-02
OSVSUSE-SU-2025:0545-1 No score

Security update for grafana

This update for grafana fixes the following issues:

grafana was updated from version 9.5.18 to 10.4.13 (jsc#PED-11591,jsc#PED-11649):

  • Security issues fixed:

    • CVE-2024-45337: Prevent possible misuse of ServerConfig.PublicKeyCallback by upgrading golang.org/x/crypto (bsc#1234554)
    • CVE-2023-3128: Fixed authentication bypass using Azure AD OAuth (bsc#1212641)
    • CVE-2023-6152: Add email verification when updating user email (bsc#1219912)
    • CVE-2024-6837: Fixed potential data source permission escalation (bsc#1236301)
    • CVE-2024-8118: Fixed permission on external alerting rule write endpoint (bsc#1231024)
  • Potential breaking changes in version 10:

    • In panels using the extract fields transformation, where one of the extracted names collides with one of the already existing ields, the extracted field will be renamed.
    • For the existing backend mode users who have table visualization might see some inconsistencies on their panels. We have updated the table column naming. This will potentially affect field transformations and/or field overrides. To resolve this either: update transformation or field override.
    • For the existing backend mode users who have Transformations with the time field, might see their transformations are not working. Those panels that have broken transformations will fail to render. This is because we changed the field key. To resolve this either: Remove the affected panel and re-create it; Select the Time field again; Edit the time field as Time for transformation in panel.json or dashboard.json
    • The following data source permission endpoints have been removed: GET /datasources/:datasourceId/permissions POST /api/datasources/:datasourceId/permissions DELETE /datasources/:datasourceId/permissions POST /datasources/:datasourceId/enable-permissions POST /datasources/:datasourceId/disable-permissions
      • Please use the following endpoints instead: GET /api/access-control/datasources/:uid for listing data source permissions POST /api/access-control/datasources/:uid/users/:id, POST /api/access-control/datasources/:uid/teams/:id and POST /api/access-control/datasources/:uid/buildInRoles/:id for adding or removing data source permissions
    • If you are using Terraform Grafana provider to manage data source permissions, you will need to upgrade your provider.
    • For the existing backend mode users who have table visualization might see some inconsistencies on their panels. We have updated the table column naming. This will potentially affect field transformations and/or field overrides.
    • The deprecated /playlists/{uid}/dashboards API endpoint has been removed. Dashboard information can be retrieved from the /dashboard/... APIs.
    • The PUT /api/folders/:uid endpoint no more supports modifying the folder's UID
    • Removed all components for the old panel header design.
    • Please review https://grafana.com/docs/grafana/next/breaking-changes/breaking-changes-v10-3/ for more details
    • OAuth role mapping enforcement: This change impacts GitHub, Gitlab, Okta, and Generic OAuth. To avoid overriding manually set roles, enable the skip_org_role_sync option in the Grafana configuration for your OAuth provider before upgrading
    • Angular has been deprecated
    • Grafana legacy alerting has been deprecated
    • API keys are migrating to service accounts
    • The experimental “dashboard previews” feature is removed
    • Usernames are now case-insensitive by default
    • Grafana OAuth integrations do not work anymore with email lookups
    • The “Alias” field in the CloudWatch data source is removed
    • Athena data source plugin must be updated to version >=2.9.3
    • Redshift data source plugin must be updated to version >=1.8.3
    • DoiT International BigQuery plugin no longer…
Record
SUSE-SU-2025:0545-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
grafana
Alpine:v3.20
before 11.0.6-r0
11.0.6-r011.0.7-r0
grafana
Bitnami
8.5.0 up to 10.4.9, 11.0.0 up to 11.2.1
10.4.911.2.1
golang-github-prometheus-prometheus
SUSE:Manager Client Tools 12
before 2.53.3-1.56.1
2.53.3-1.56.1
golang-github-prometheus-promu
SUSE:Manager Client Tools 12
before 0.17.0-1.24.1
0.17.0-1.24.1
grafana
SUSE:Manager Client Tools 12
before 10.4.13-1.66.2
10.4.13-1.66.2
spacecmd
SUSE:Manager Client Tools 12
before 5.0.11-38.153.1
5.0.11-38.153.1
supportutils-plugin-salt
SUSE:Manager Client Tools 12
before 1.2.3-6.25.1
1.2.3-6.25.1
supportutils-plugin-susemanager-client
SUSE:Manager Client Tools 12
before 5.0.4-6.33.1
5.0.4-6.33.1
uyuni-tools
SUSE:Manager Client Tools 12
before 0.1.28-1.16.1
0.1.28-1.16.1
dracut-saltboot
SUSE:Manager Client Tools 15
before 0.1.1728559936.c16d4fb-150000.1.56.1
0.1.1728559936.c16d4fb-150000.1.56.1
Show 33 moreShow less
Affected packages
PackageAffectedFixed
golang-github-prometheus-prometheus
SUSE:Manager Client Tools 15
before 2.53.3-150000.3.59.1
2.53.3-150000.3.59.1
grafana
SUSE:Manager Client Tools 15
before 10.4.13-150000.1.66.1
10.4.13-150000.1.66.1
spacecmd
SUSE:Manager Client Tools 15
before 5.0.11-150000.3.130.1
5.0.11-150000.3.130.1
supportutils-plugin-salt
SUSE:Manager Client Tools 15
before 1.2.3-150000.3.16.1
1.2.3-150000.3.16.1
supportutils-plugin-susemanager-client
SUSE:Manager Client Tools 15
before 5.0.4-150000.3.27.1
5.0.4-150000.3.27.1
uyuni-tools
SUSE:Manager Client Tools 15
before 0.1.28-150000.1.16.1
0.1.28-150000.1.16.1
dracut-saltboot
SUSE:Manager Client Tools for SLE Micro 5
before 0.1.1728559936.c16d4fb-150000.1.56.1
0.1.1728559936.c16d4fb-150000.1.56.1
uyuni-tools
SUSE:Manager Client Tools for SLE Micro 5
before 0.1.28-150000.1.16.1
0.1.28-150000.1.16.1
supportutils-plugin-salt
SUSE:Linux Enterprise Module for Basesystem 15 SP6
before 1.2.3-150000.3.16.1
1.2.3-150000.3.16.1
golang-github-prometheus-promu
SUSE:Linux Enterprise Module for Package Hub 15 SP6
before 0.17.0-150000.3.24.1
0.17.0-150000.3.24.1
supportutils-plugin-salt
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS
before 1.2.3-150000.3.16.1
1.2.3-150000.3.16.1
supportutils-plugin-salt
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS
before 1.2.3-150000.3.16.1
1.2.3-150000.3.16.1
supportutils-plugin-salt
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS
before 1.2.3-150000.3.16.1
1.2.3-150000.3.16.1
supportutils-plugin-salt
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS
before 1.2.3-150000.3.16.1
1.2.3-150000.3.16.1
supportutils-plugin-salt
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS
before 1.2.3-150000.3.16.1
1.2.3-150000.3.16.1
supportutils-plugin-salt
SUSE:Linux Enterprise Server 15 SP3-LTSS
before 1.2.3-150000.3.16.1
1.2.3-150000.3.16.1
supportutils-plugin-salt
SUSE:Linux Enterprise Server 15 SP4-LTSS
before 1.2.3-150000.3.16.1
1.2.3-150000.3.16.1
supportutils-plugin-salt
SUSE:Linux Enterprise Server 15 SP5-LTSS
before 1.2.3-150000.3.16.1
1.2.3-150000.3.16.1
supportutils-plugin-salt
SUSE:Linux Enterprise Server for SAP Applications 15 SP3
before 1.2.3-150000.3.16.1
1.2.3-150000.3.16.1
supportutils-plugin-salt
SUSE:Linux Enterprise Server for SAP Applications 15 SP4
before 1.2.3-150000.3.16.1
1.2.3-150000.3.16.1
supportutils-plugin-salt
SUSE:Linux Enterprise Server for SAP Applications 15 SP5
before 1.2.3-150000.3.16.1
1.2.3-150000.3.16.1
supportutils-plugin-salt
SUSE:Manager Proxy 4.3
before 1.2.3-150000.3.16.1
1.2.3-150000.3.16.1
supportutils-plugin-salt
SUSE:Manager Server 4.3
before 1.2.3-150000.3.16.1
1.2.3-150000.3.16.1
supportutils-plugin-salt
SUSE:Enterprise Storage 7.1
before 1.2.3-150000.3.16.1
1.2.3-150000.3.16.1
dracut-saltboot
openSUSE:Leap 15.6
before 0.1.1728559936.c16d4fb-150000.1.56.1
0.1.1728559936.c16d4fb-150000.1.56.1
golang-github-prometheus-promu
openSUSE:Leap 15.6
before 0.17.0-150000.3.24.1
0.17.0-150000.3.24.1
spacecmd
openSUSE:Leap 15.6
before 5.0.11-150000.3.130.1
5.0.11-150000.3.130.1
supportutils-plugin-salt
openSUSE:Leap 15.6
before 1.2.3-150000.3.16.1
1.2.3-150000.3.16.1
supportutils-plugin-susemanager-client
openSUSE:Leap 15.6
before 5.0.4-150000.3.27.1
5.0.4-150000.3.27.1
grafana
SUSE:Linux Enterprise Module for Package Hub 15 SP6
before 10.4.13-150200.3.59.1
10.4.13-150200.3.59.1
grafana
openSUSE:Leap 15.6
before 10.4.13-150200.3.59.1
10.4.13-150200.3.59.1
grafana
Ubuntu:16.04:LTS
All versions, plus listed versions
2.6.0+dfsg-1
None known
grafana
openSUSE:Tumbleweed
before 11.3.0-1.1
11.3.0-1.1

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubnurarifin05/POC-CVE-2024-81182025-07-21

History

History
RecordedChangedSources
affected, aliases, referencesOSV
aliases, publishedEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-8118 is a medium vulnerability (CVSS 5.1) in Grafana, published September 26, 2024. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 0.58%, the 48th percentile. Fixed in grafana 11.0.6-r0.

References

Show 34 moreShow less
This page doesn't list everything

Left out here: the rest of 3 source descriptions. The JSON record has them.

MoveEnter Open