Skip to content

fix(deps): update module github.com/grafana/grafana-operator/v5 to v5.24.0 [security]#614

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go-github.qkg1.top-grafana-grafana-operator-v5-vulnerability
Open

fix(deps): update module github.com/grafana/grafana-operator/v5 to v5.24.0 [security]#614
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go-github.qkg1.top-grafana-grafana-operator-v5-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/grafana/grafana-operator/v5 v5.22.2v5.24.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Grafana Operator: Privilege escalation from namespace admin to cluster admin via GrafanaDashboard jsonnetLib fileName

CVE-2026-11769 / GHSA-fcw4-wwqm-m8cf

More information

Details

We have released version 5.24.0 of the Grafana Operator. This patch includes a MODERATE severity security fix for a path traversal/privilege escalation vulnerability in the Grafana Operator.

Summary

The Grafana Operator supports loading dashboards & library panels using the jsonnet data templating language. The jsonnet expression is evaluated in the context of the operator manager pod.

Impact

It is possible for a malicious user who can create Dashboard or LibraryPanel resources for a Grafana instance to obtain the Kubernetes service account token of the Grafana Operator manager.

Affected versions

All Grafana Operator versions <= 5.23

Solutions and mitigations

All installations should be upgraded as soon as possible.

As a workaround, the following ValidatingAdmissionPolicy prevent the creation or modification of jsonnet based resources:

apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingAdmissionPolicy
metadata:
  name: "prevent-jsonnet-dashboards"
spec:
  failurePolicy: Fail
  matchConstraints:
    resourceRules:
      - apiGroups: ["grafana.integreatly.org"]
        apiVersions: ["v1beta1"]
        operations: ["CREATE", "UPDATE"]
        resources: ["grafanadashboards", "grafanalibrarypanels"]
  validations:
    - expression: "!has(object.spec.jsonnetLib)"
---
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingAdmissionPolicyBinding
metadata:
  name: "prevent-jsonnet-dashboards-clusterwide"
spec:
  policyName: "prevent-jsonnet-dashboards"
  validationActions: [Deny]
Acknowledgement

We would like to thank Artem Cherezov for responsibly disclosing the vulnerability.

Severity

  • CVSS Score: 6.4 / 10 (Medium)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

grafana/grafana-operator (github.com/grafana/grafana-operator/v5)

v5.24.0

Compare Source

Welcome to release 5.24.0 of the Grafana Operator!

This release contains an important security fix, and we urge you to update to this version as soon as possible. We are not aware of any breaking changes all through versions >= 5 so updates should be trivial.

Regarding features, this release includes support for fetching dashboards & library panels using OCI artifacts.

Upgrade instructions

Using Helm
# Upgrade the operator image & deployment
helm upgrade -i grafana-operator oci://ghcr.io/grafana/helm-charts/grafana-operator --version 5.24.0

# Upgrading CRDs
kubectl apply --server-side --force-conflicts -f https://github.com/grafana/grafana-operator/releases/download/v5.24.0/crds.yaml
Using kubectl
# Namespace Scope
kubectl replace -f https://github.com/grafana/grafana-operator/releases/download/v5.24.0/kustomize-namespace_scoped.yaml

# Cluster Scope
kubectl replace -f https://github.com/grafana/grafana-operator/releases/download/v5.24.0/kustomize-cluster_scoped.yaml 
Using kustomize
flux pull artifact oci://ghcr.io/grafana/kustomize/grafana-operator:v5.24.0 --output ./grafana-operator/
Using OLM

Releases are published to operatorhub.io as well as the OpenShift Operator Catalog. Depending on the installation, existing installations will either upgrade automatically or require approval from an administrator.

What's Changed

Features
Fixes
Dependencies
Other Changes

New Contributors

Full Changelog: grafana/grafana-operator@v5.23.0...v5.24.0

v5.23.0

Compare Source

We're happy to announce version 5.23.0 of the Grafana Operator!

This release contains fixes for a bunch of long standing issues as well as quality-of-live improvements. It also bumps the default Grafana version to 13.0.1. Note that existing instances will not be updated automatically. To update them, modify the value of .spec.version.

Upgrade instructions

Using Helm
# Upgrade the operator image & deployment
helm upgrade -i grafana-operator oci://ghcr.io/grafana/helm-charts/grafana-operator --version 5.23.0

# Upgrading CRDs
kubectl apply --server-side --force-conflicts -f https://github.com/grafana/grafana-operator/releases/download/v5.23.0/crds.yaml
Using kubectl
# Namespace Scope
kubectl replace -f https://github.com/grafana/grafana-operator/releases/download/v5.23.0/kustomize-namespace_scoped.yaml

# Cluster Scope
kubectl replace -f https://github.com/grafana/grafana-operator/releases/download/v5.23.0/kustomize-cluster_scoped.yaml 
Using kustomize
flux pull artifact oci://ghcr.io/grafana/kustomize/grafana-operator:v5.23.0 --output ./grafana-operator/
Using OLM

Releases are published to operatorhub.io as well as the OpenShift Operator Catalog. Depending on the installation, existing installations will either upgrade automatically or require approval from an administrator.

What's Changed

Features
Fixes
Dependencies
Documentation
Other Changes

New Contributors

Full Changelog: grafana/grafana-operator@v5.22.2...v5.23.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate

renovate Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 79 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.26.1 -> 1.26.3
cuelang.org/go v0.7.0 -> v0.11.0
k8s.io/api v0.35.2 -> v0.36.1
k8s.io/apiextensions-apiserver v0.35.2 -> v0.36.1
github.com/alecthomas/kong v1.14.0 -> v1.15.0
github.com/go-openapi/swag/cmdutils v0.24.0 -> v0.26.0
github.com/go-openapi/swag/conv v0.25.5 -> v0.26.0
github.com/go-openapi/swag/fileutils v0.25.5 -> v0.26.0
github.com/go-openapi/swag/jsonname v0.25.5 -> v0.26.0
github.com/go-openapi/swag/jsonutils v0.25.5 -> v0.26.0
github.com/go-openapi/swag/loading v0.25.5 -> v0.26.0
github.com/go-openapi/swag/mangling v0.25.5 -> v0.26.0
github.com/go-openapi/swag/netutils v0.24.0 -> v0.26.0
github.com/go-openapi/swag/stringutils v0.25.5 -> v0.26.0
github.com/go-openapi/swag/typeutils v0.25.5 -> v0.26.0
github.com/go-openapi/swag/yamlutils v0.25.5 -> v0.26.0
cel.dev/expr v0.24.0 -> v0.25.1
cuelabs.dev/go/oci/ociregistry v0.0.0-20231103182354-93e78c079a13 -> v0.0.0-20251212221603-3adeb8663819
github.com/coreos/go-systemd/v22 v22.5.0 -> v22.7.0
github.com/emicklei/proto v1.11.2 -> v1.14.2
github.com/go-jose/go-jose/v4 v4.1.3 -> v4.1.4
github.com/go-openapi/analysis v0.24.3 -> v0.25.2
github.com/go-openapi/jsonpointer v0.22.5 -> v0.23.1
github.com/go-openapi/jsonreference v0.21.5 -> v0.21.6
github.com/go-openapi/runtime v0.29.3 -> v0.32.3
github.com/go-openapi/spec v0.22.4 -> v0.22.5
github.com/go-openapi/strfmt v0.26.0 -> v0.26.3
github.com/go-openapi/swag v0.24.1 -> v0.26.0
github.com/go-openapi/validate v0.25.2 -> v0.25.3
github.com/go-test/deep v1.1.0 -> v1.1.1
github.com/google/cel-go v0.26.0 -> v0.26.1
github.com/google/gnostic-models v0.7.0 -> v0.7.1
github.com/google/go-jsonnet v0.21.0 -> v0.22.0
github.com/grafana/grafana-openapi-client-go v0.0.0-20251202103709-7ef691d4df1d -> v0.0.0-20260430175825-547a3b5a00a5
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.3 -> v2.28.0
github.com/klauspost/compress v1.18.2 -> v1.18.5
github.com/pelletier/go-toml/v2 v2.2.3 -> v2.2.4
github.com/prometheus/procfs v0.17.0 -> v0.20.1
github.com/protocolbuffers/txtpbfmt v0.0.0-20230412060525-fa9f017c0ded -> v0.0.0-20251124094003-fcb97cc64c7b
github.com/sirupsen/logrus v1.9.3 -> v1.9.4
github.com/spf13/cobra v1.10.0 -> v1.10.2
github.com/stoewer/go-strcase v1.3.0 -> v1.3.1
go.etcd.io/etcd/api/v3 v3.6.4 -> v3.6.8
go.etcd.io/etcd/client/pkg/v3 v3.6.4 -> v3.6.8
go.etcd.io/etcd/client/v3 v3.6.4 -> v3.6.8
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.63.0 -> v0.67.0
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.64.0 -> v0.67.0
go.opentelemetry.io/otel v1.41.0 -> v1.44.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.39.0 -> v1.43.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.36.0 -> v1.43.0
go.opentelemetry.io/otel/metric v1.41.0 -> v1.44.0
go.opentelemetry.io/otel/sdk v1.41.0 -> v1.44.0
go.opentelemetry.io/otel/trace v1.41.0 -> v1.44.0
go.opentelemetry.io/proto/otlp v1.9.0 -> v1.10.0
go.uber.org/zap v1.27.1 -> v1.28.0
go.yaml.in/yaml/v2 v2.4.3 -> v2.4.4
golang.org/x/crypto v0.48.0 -> v0.52.0
golang.org/x/exp v0.0.0-20251002181428-27f1f14c8bb9 -> v0.0.0-20260112195511-716be5621a96
golang.org/x/mod v0.32.0 -> v0.35.0
golang.org/x/net v0.51.0 -> v0.55.0
golang.org/x/oauth2 v0.34.0 -> v0.36.0
golang.org/x/sync v0.19.0 -> v0.20.0
golang.org/x/sys v0.41.0 -> v0.45.0
golang.org/x/term v0.40.0 -> v0.43.0
golang.org/x/text v0.34.0 -> v0.37.0
golang.org/x/time v0.14.0 -> v0.15.0
golang.org/x/tools v0.41.0 -> v0.44.0
gomodules.xyz/jsonpatch/v2 v2.4.0 -> v2.5.0
google.golang.org/genproto/googleapis/api v0.0.0-20251202230838-ff82c1b0f217 -> v0.0.0-20260401024825-9d38bb4040a9
google.golang.org/genproto/googleapis/rpc v0.0.0-20251202230838-ff82c1b0f217 -> v0.0.0-20260406210006-6f92a3bedf2d
google.golang.org/grpc v1.78.0 -> v1.80.0
google.golang.org/protobuf v1.36.11 -> v1.36.12-0.20260120151049-f2248ac996af
k8s.io/apimachinery v0.35.2 -> v0.36.1
k8s.io/apiserver v0.35.0 -> v0.36.0
k8s.io/component-base v0.35.0 -> v0.36.0
k8s.io/kms v0.34.0 -> v0.36.0
k8s.io/utils v0.0.0-20260108192941-914a6e750570 -> v0.0.0-20260210185600-b8788abfbbc2
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.2 -> v0.34.0
sigs.k8s.io/controller-runtime v0.23.3 -> v0.24.1
sigs.k8s.io/structured-merge-diff/v6 v6.3.2 -> v6.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants