Grafana file deletion or movement via Git Sync path traversal
Grafana OSS · Grafana Enterprise
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Grafana Grafana OSS |
| No fix yet |
| Grafana Grafana Enterprise |
|
Grafana OSS · Grafana Enterprise
| Product | Affected | Fixed in |
|---|---|---|
| Grafana Grafana OSS |
| No fix yet |
| Grafana Grafana Enterprise |
|
≥ 13.3.0 · ≤ 13.3.0| No fix yet |
A user who can create Git Sync provisioning jobs (the Editor role by default) could delete or move files outside the configured repository path with a job that references a resource whose source path contains ../ sequences (path traversal). With a local filesystem repository on versions before 13.0.4 and 13.1.1, this reached files on the Grafana host.
From the CVE record · GRAFANA
A user who can create Git Sync provisioning jobs—an Editor by default—can use a resource source path containing ../ to delete or move files outside the configured repository path. With a local filesystem repository, versions before 13.0.4 and 13.1.1 allow this to reach files on the Grafana host.
Teams running Grafana OSS or Grafana Enterprise with Git Sync provisioning should check versions before 13.0.4 and 13.1.1, especially where local filesystem repositories are used.