Skip to content

fix(security): Backport security updates to release-3.6.x - #23403

Merged
jnewbigin merged 7 commits into
release-3.6.xfrom
jnewbigin/security-backports-3.6.x
Jul 23, 2026
Merged

fix(security): Backport security updates to release-3.6.x#23403
jnewbigin merged 7 commits into
release-3.6.xfrom
jnewbigin/security-backports-3.6.x

Conversation

@jnewbigin

@jnewbigin jnewbigin commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Security backports for release-3.6.x. Renovate is currently not operational, so these were reproduced locally: toolchain bumps are verbatim cherry-picks of the Renovate commits; module updates were applied with go get <module>@<version> + go mod tidy (+ go mod vendor for the main module).

Addresses the outstanding findings from the Vulnerability Observability report for this line, plus the previously-open Renovate security PRs.

Main module (go.mod) — affects the shipped binary

  • golang.org/x/net → v0.56.0 (CVE-2026-46600)
  • golang.org/x/text → v0.39.0 (CVE-2026-56852)
  • google.golang.org/grpc → v1.82.1 (GHSA-hrxh-6v49-42gf)
  • re-ran go mod tidy + go mod vendor (advances several transitive deps to the graph-selected versions)

pkg/push (published module; consumed in-repo via replace)

  • google.golang.org/grpc → v1.82.1, golang.org/x/net → v0.56.0, golang.org/x/text → v0.39.0

cmd/dataobj-inspect

  • Now builds against in-repo modules (adds replace .../pkg/push => ../../pkg/push); pulls prometheus → v0.312.1 (CVE-2026-42154/42151/44903) and golang.org/x/text → v0.39.0

Operator (operator, operator/api/loki)

  • go.opentelemetry.io/otel → v1.41.0 (HIGH)
  • golang.org/x/crypto → v0.52.0, golang.org/x/net → v0.55.0, golang.org/x/sys → v0.44.0
  • operator/api/loki: golang.org/x/net → v0.55.0

Not addressed here

  • github.com/docker/docker (CVE-2026-34040, CVE-2026-33997) — fix is Docker Engine 29.3.1, which is not published on the github.com/docker/docker Go module path (tops out at v28.5.2+incompatible); needs a module-path change, out of scope for a dep bump.
  • cmd/segment-inspect grpc/x/net/x/text — the tool is stale and unbuildable (imports github.com/grafana/loki/v3/pkg/storage/wal, which no longer exists), so go tooling cannot tidy/bump it.
  • No upstream fix available: docker CVE-2026-41567/42306/41568, aws-sdk-go CVE-2020-8911/8912, golang.org/x/crypto/openpgp GO-2026-5932.

Verification

go build ./... passes for the main module and updated submodules; go mod tidy is a clean no-op and go mod verify passes.

Supersedes the equivalent Renovate PRs: #23132, #23133, #23156, #23160, #23161, #23162, #23174.

renovate-sh-app Bot and others added 7 commits July 22, 2026 23:22
…ive to v1.25.12 [SECURITY]

| datasource     | package | from    | to      |
| -------------- | ------- | ------- | ------- |
| golang-version | go      | 1.25.11 | 1.25.12 |


Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
…oogle.golang.org/grpc [SECURITY]

Bumps the main module's vulnerable direct dependencies to their fixed
versions and re-runs go mod tidy + go mod vendor:

- google.golang.org/grpc  v1.81.1 => v1.82.1  (GHSA-hrxh-6v49-42gf)
- golang.org/x/net         v0.55.0 => v0.56.0  (CVE-2026-46600)
- golang.org/x/text        v0.37.0 => v0.39.0  (CVE-2026-56852)

The re-tidy also advances several transitive dependencies to the versions
selected by the current module graph.
… to fix prometheus and golang.org/x/text [SECURITY]

Adds a replace directive for github.com/grafana/loki/pkg/push => ../../pkg/push
so the tool builds against the in-repo modules (it already replaced
github.com/grafana/loki/v3). Re-running go mod tidy then advances the flagged
dependencies to fixed versions via the main module's graph:

- github.com/prometheus/prometheus => v0.312.1 (CVE-2026-42154, CVE-2026-42151, CVE-2026-44903)
- golang.org/x/text            v0.35.0 => v0.39.0 (CVE-2026-56852)
@jnewbigin
jnewbigin force-pushed the jnewbigin/security-backports-3.6.x branch from e11bfda to b3ae263 Compare July 22, 2026 23:20

@ashwanthgoli ashwanthgoli left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jnewbigin
jnewbigin merged commit 70f75b7 into release-3.6.x Jul 23, 2026
81 checks passed
@jnewbigin
jnewbigin deleted the jnewbigin/security-backports-3.6.x branch July 23, 2026 05:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants