Skip to content

fix(monitoring): Grafana moves to 11.6.16, off a release with a published CVE (#19804) - #20568

Closed
mrveiss wants to merge 7 commits into
mainfrom
issue-19804-grafana-pin
Closed

mrveiss wants to merge 7 commits into
mainfrom
issue-19804-grafana-pin

Conversation

@mrveiss

@mrveiss mrveiss commented Nov 1, 2026

Copy link
Copy Markdown
Owner

Thinking Path

The monitoring role pins Grafana 11.1.0, which is affected by CVE-2025-4123 (a cross-site scripting flaw, CVSS 7.6). The role enables anonymous access, which that flaw depends on. The maintainer chose 11.6.16 on #19804.

What Changed

The one home, roles/monitoring/defaults/main.yml, and its guarded copies move together: docker-compose.yml, docker-compose-loki.yml, install-slm.sh. The #19329 guard's decided value moves with them.

Verification

  • monitoring_versions_one_home_19329_test.py passes, and failed before the copies moved.
  • Grafana's advisory and OSV list 11.6.1+security-01 as the fix on the 11.6 line. v11.6.16 is a later release, published 2026-06-23, and its package returns 200 from Grafana's download server.

Not checked:

  • 11.6.16 against CVEs other than this one.
  • The package on apt.grafana.com, the source the role installs from. Only the download server was probed.
  • An actual upgrade. This jumps five minor versions: Grafana migrates its database on first start, so going back to 11.1.0 needs a backup, and dashboards or plugins may behave differently. Host check needed after the builtin update.

Closes #19804

Model Used

Claude Opus 5.5

@mrveiss mrveiss added the phase:M1.4 Wizard and SLM: choose a mode, apply it, default models work label Nov 1, 2026
@coderabbitai

coderabbitai Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 40 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
Commits

Reviewing files that changed from the base of the PR and between bd43df5 and 47ed440.

Files selected for processing: 5
  • autobot-infrastructure/shared/config/logging/loki/docker-compose-loki.yml
  • autobot-infrastructure/shared/scripts/install-slm.sh
  • autobot-slm-backend/ansible/roles/monitoring/defaults/main.yml
  • docker-compose.yml
  • repo_tests/monitoring_versions_one_home_19329_test.py
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Notice: 29 open PRs — past the runaway threshold (25)

This is not a request to defer this PR. There is no cap on open PRs (#19397) -- nothing blocks opening or pushing a PR.

This notice only means the count is high enough to be worth a glance for a runaway — something opening PRs in a loop, or a merge pipeline that has stalled so nothing is draining.

Currently open:

If the queue is draining normally, ignore this. Otherwise:

  1. Check whether CI is dispatching at all — see the ci-dispatch-watchdog status on these PRs
  2. Approved PRs land through the merge train the coordinator sequences (merge commits, never squash) -- check the open chore(merge-train) PR is moving, not each PR on its own
  3. Look for a loop opening near-identical PRs

Warn-only runaway detector — .github/workflows/pr-queue-gate.yml. It never blocks a merge.

@mrveiss

mrveiss commented Nov 1, 2026

Copy link
Copy Markdown
Owner Author

Code review on PR #20568 (head 3b0f6cb): approve.

Read only; no upgrade was run. The version moves in the one home and its copies, and the #19329 guard covers them. The body flags the database migration on first start. Closes #19804 rests on the version change; behaviour on a real upgrade is unverified, so it's worth checking on the first host update.

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

✅ SSOT Configuration Compliance: Passing

🎉 No new hardcoded values of either class — ssot and other both block.

Known backlog in pipeline-scripts/hardcoded_values_baseline.txt is suppressed and tracked in #14371.

This was referenced Nov 1, 2026
This was referenced Nov 2, 2026
@mrveiss

mrveiss commented Nov 2, 2026

Copy link
Copy Markdown
Owner Author

Landed in the merge train (PR #20677) as fd4c2df: frozen head ca94e46 is an ancestor of that merge. This PR's later head 47ed440 only merged main, with 0 non-merge commits since.

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

Labels

phase:M1.4 Wizard and SLM: choose a mode, apply it, default models work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

security(monitoring): the pinned Grafana 11.1.0 carries a published CVE -- revisit the version pin

1 participant