chore(deps): bump prometheus/prometheus to v0.311.3 (security)#226
Merged
Conversation
Replace pseudo-version v0.311.2-0.20260410083055-07c6232d159b with the tagged release v0.311.3, clearing three Dependabot advisories. Resolves: - CVE-2026-42151 - CVE-2026-42154 - CVE-2026-44903 Maia imports only github.com/prometheus/prometheus/model/labels and .../promql/parser. Both APIs are unchanged in v0.311.3 (patch release). Validated locally with make generate, make, and make check (all gates green: tests, golangci-lint v2, typos).
notandy
approved these changes
May 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
github.com/prometheus/prometheusfrom pseudo-versionv0.311.2-0.20260410083055-07c6232d159bto tagged releasev0.311.3.master: CVE-2026-42151, CVE-2026-42154, CVE-2026-44903.### Securityentry under## [Unreleased]in CHANGELOG.md.Why this is safe
Maia imports only two symbols from
prometheus/prometheus:github.com/prometheus/prometheus/model/labelspkg/util/promqlmod.go(label injection)github.com/prometheus/prometheus/promql/parserpkg/util/promqlmod.go(AST visitor)Both APIs are unchanged in the v0.311.2 → v0.311.3 patch release. No call-site updates required.
+ "govulncheck" +reported zero exploitable call paths even before the bump — Dependabot flagged the manifest match, not reachable code. Bump still required for SBOM/compliance hygiene.Validation
Run locally on the branch:
+ "make generate" +(mockgen + go-bindata + addlicense)+ "make" +(build succeeds)+ "make check" +(tests + golangci-lint v2 + typos — all green)+ "go.sum" +regenerated, hashes match upstreamTest plan