Описание
Grafana OSS and Grafana Enterprise did not safely resolve symbolic links when
extracting plugin archives. A crafted plugin archive can chain relative symbolic link
entries to escape the plugin installation directory, writing arbitrary files and an
executable backend binary outside that directory. The dropped executable runs with the
privileges of the Grafana server process, resulting in remote code execution.
Plugin archives are extracted before their signature is verified, so a valid plugin
signature does not prevent the write. An operator can therefore be affected by
installing a plugin that appears legitimate, as well as by installing a plugin from an
arbitrary archive using grafana-cli, the GF_INSTALL_PLUGINS environment variable, or
preinstall configuration.
Grafana Enterprise is affected because it includes the same plugin extraction code as
Grafana OSS.
A flaw was found in Grafana. When extracting plugin archives, Grafana did not safely resolve symbolic links. A remote attacker could craft a malicious plugin archive with symbolic links to escape the plugin installation directory. This allows the attacker to write arbitrary files and execute malicious code with the privileges of the Grafana server process, leading to remote code execution.
Отчет
Important: Grafana's plugin extraction process is vulnerable to symbolic link traversal, enabling an attacker to write arbitrary files and achieve remote code execution with the privileges of the Grafana server. This critical flaw allows malicious code execution even before plugin signature verification, posing a significant risk in Red Hat deployments where Grafana is used.
Меры по смягчению последствий
While no configuration fully mitigates this issue, exposure can be reduced by limiting plugin installations to vetted and pinned sets of plugins from trusted sources. Additionally, disable the plugin_admin_enabled setting in the Grafana configuration if not required, to prevent non-administrator users from installing plugins. This can be done by setting plugin_admin_enabled = false in the [plugins] section of the grafana.ini configuration file. A restart of the Grafana service may be required for changes to take effect, which could temporarily impact service availability.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Ceph Storage 7 | rhceph/grafana-rhel9 | Under investigation | ||
| Red Hat Ceph Storage 8 | rhceph/grafana-rhel9 | Under investigation | ||
| Red Hat Ceph Storage 9 | rhceph/grafana-rhel10 | Under investigation | ||
| Red Hat Hardened Images | grafana12.4 | Not affected | ||
| Red Hat Hardened Images | grafana13.1 | Not affected | ||
| Red Hat Hardened Images | grafana13.2 | Not affected | ||
| Red Hat Hardened Images | hi/grafana | Not affected | ||
| Red Hat Enterprise Linux 10 | grafana | Fixed | RHSA-2026:98056 | 11.11.2026 |
| Red Hat Enterprise Linux 8 | grafana | Fixed | RHSA-2026:83544 | 15.10.2026 |
| Red Hat Enterprise Linux 9 | grafana | Fixed | RHSA-2026:98454 | 11.11.2026 |
Показывать по
Дополнительная информация
Статус:
EPSS
8.8 High
CVSS3
Связанные уязвимости
Grafana OSS and Grafana Enterprise did not safely resolve symbolic links when extracting plugin archives. A crafted plugin archive can chain relative symbolic link entries to escape the plugin installation directory, writing arbitrary files and an executable backend binary outside that directory. The dropped executable runs with the privileges of the Grafana server process, resulting in remote code execution. Plugin archives are extracted before their signature is verified, so a valid plugin signature does not prevent the write. An operator can therefore be affected by installing a plugin that appears legitimate, as well as by installing a plugin from an arbitrary archive using grafana-cli, the GF_INSTALL_PLUGINS environment variable, or preinstall configuration. Grafana Enterprise is affected because it includes the same plugin extraction code as Grafana OSS.
Grafana OSS and Grafana Enterprise did not safely resolve symbolic links when extracting plugin archives. A crafted plugin archive can chain relative symbolic link entries to escape the plugin installation directory, writing arbitrary files and an executable backend binary outside that directory. The dropped executable runs with the privileges of the Grafana server process, resulting in remote code execution. Plugin archives are extracted before their signature is verified, so a valid plugin signature does not prevent the write. An operator can therefore be affected by installing a plugin that appears legitimate, as well as by installing a plugin from an arbitrary archive using grafana-cli, the GF_INSTALL_PLUGINS environment variable, or preinstall configuration. Grafana Enterprise is affected because it includes the same plugin extraction code as Grafana OSS.
EPSS
8.8 High
CVSS3