Skip to content

build(deps): bump github.com/moby/buildkit from 0.23.2 to 0.28.1 in /eve-tools/bpftrace-compiler#5743

Draft
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/go_modules/eve-tools/bpftrace-compiler/github.com/moby/buildkit-0.28.1
Draft

build(deps): bump github.com/moby/buildkit from 0.23.2 to 0.28.1 in /eve-tools/bpftrace-compiler#5743
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/go_modules/eve-tools/bpftrace-compiler/github.com/moby/buildkit-0.28.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 3, 2026

Bumps github.com/moby/buildkit from 0.23.2 to 0.28.1.

Release notes

Sourced from github.com/moby/buildkit's releases.

v0.28.1

Welcome to the v0.28.1 release of buildkit!

Please try out the release binaries and report any issues at https://github.com/moby/buildkit/issues.

Contributors

  • Tõnis Tiigi
  • CrazyMax
  • Sebastiaan van Stijn

Notable Changes

  • Fix insufficient validation of Git URL #ref:subdir fragments that could allow access to restricted files outside the checked-out repository root. GHSA-4vrq-3vrq-g6gg
  • Fix a vulnerability where an untrusted custom frontend could cause files to be written outside the BuildKit state directory. GHSA-4c29-8rgm-jvjj
  • Fix a panic when processing invalid .dockerignore patterns during COPY. #6610 moby/patternmatcher#9

Dependency Changes

  • github.com/moby/patternmatcher v0.6.0 -> v0.6.1

Previous release can be found at v0.28.0

v0.28.0

buildkit 0.28.0

Welcome to the v0.28.0 release of buildkit!

Please try out the release binaries and report any issues at https://github.com/moby/buildkit/issues.

Contributors

  • Tõnis Tiigi
  • CrazyMax
  • Sebastiaan van Stijn
  • Jonathan A. Sternberg
  • Akihiro Suda
  • Amr Mahdi
  • Dan Duvall
  • David Karlsson
  • Jonas Geiler
  • Kevin L.
  • rsteube

... (truncated)

Commits
  • 45b038c git: normalize and validate subdir paths
  • f5462c2 git: harden ref arg handling
  • 71577a5 source: extract SafeFileName into shared pathutil package
  • df43783 source/http: use os.Root for saved file operations
  • 9ce6f62 source/http: sanitize downloaded filenames
  • 099cf80 executor: validate container IDs centrally
  • 2642113 Merge pull request #6610 from thaJeztah/0.28_backport_bump_patternmatcher
  • 802da78 vendor: github.com/moby/patternmatcher v0.6.1
  • 5245d86 Merge pull request #6551 from tonistiigi/v0.28-cherry-picks
  • 90ee5de vendor: update x/net to v0.51.0
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit) from 0.23.2 to 0.28.1.
- [Release notes](https://github.com/moby/buildkit/releases)
- [Commits](moby/buildkit@v0.23.2...v0.28.1)

---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
  dependency-version: 0.28.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Apr 3, 2026
@dependabot dependabot bot requested a review from eriknordmark as a code owner April 3, 2026 17:26
@dependabot dependabot bot added the go Pull requests that update Go code label Apr 3, 2026
@rucoder
Copy link
Copy Markdown
Contributor

rucoder commented Apr 3, 2026

@eriknordmark is there any way to tell dependabot that we are not going to do it? maybe just keep this PR open and in DRAFT state?

@eriknordmark
Copy link
Copy Markdown
Contributor

Some more analysis by claude:
● Analysis: CVE-2026-33747 and CVE-2026-33748 in EVE

Bottom line: Neither CVE is reachable in EVE's usage of buildkit.

CVE Details

CVE-2026-33747 (CVSS 8.4–9.8 HIGH/CRITICAL) — Malicious custom BuildKit
frontend can write files outside the BuildKit state directory (path traversal
on writes). Requires an untrusted custom frontend (via #syntax=... or
--build-arg BUILDKIT_SYNTAX=...).

CVE-2026-33748 (CVSS 7.5–8.2 HIGH) — Insufficient validation of Git URL subdir
fragments (#:) can allow reading files outside the
checked-out repo root. Requires a buildkit build invoked with a Git URL
containing a subdir component.

Both vulnerabilities live in the buildkit daemon code paths (solver, source,
cache subsystems) — not in the parser/client library.

EVE's Buildkit Usage

Buildkit appears in three build-time tools only — zero usage in any on-device
runtime component (pkg/pillar, etc.):

┌────────────────────────┬─────────┬─────────┬────────────┬────────────┐
│ │ │ Vulnera │ CVE-2026-3 │ CVE-2026-3 │
│ Module │ Version │ ble ver │ 3747 │ 3748 │
│ │ │ sion? │ reachable │ reachable │
├────────────────────────┼─────────┼─────────┼────────────┼────────────┤
│ tools/dockerfile-from- │ 0.28.1 │ │ │ │
│ checker │ (patche │ No │ No │ No │
│ │ d) │ │ │ │
├────────────────────────┼─────────┼─────────┼────────────┼────────────┤
│ tools/get-deps │ 0.24.0 │ Yes │ No │ No │
├────────────────────────┼─────────┼─────────┼────────────┼────────────┤
│ eve-tools/bpftrace-com │ 0.23.2 │ │ │ │
│ piler │ (indire │ Yes │ No │ No │
│ │ ct) │ │ │ │
└────────────────────────┴─────────┴─────────┴────────────┴────────────┘

Why not reachable in tools/get-deps and bpftrace-compiler: Both tools only use
buildkit as a static Dockerfile parser (frontend/dockerfile/parser,
frontend/dockerfile/instructions, frontend/dockerfile/shell). The
buildkitClient.Client type imported in get-deps is only used as the return
type of a dry-run stub that unconditionally returns nil, nil — no daemon is
ever started, no build is executed, no Git URL or custom frontend is
processed. The vulnerable daemon-side code paths are simply never called.

Recommendation

The vulnerabilities are not exploitable in EVE's current build tooling.
However, tools/get-deps (v0.24.0) and eve-tools/bpftrace-compiler (v0.23.2
indirect) carry vulnerable versions, which will continue to generate scanner
findings. Bumping both to v0.28.1 would resolve the findings and is good
hygiene, even though there is no practical exploitability today.

@eriknordmark eriknordmark marked this pull request as draft April 3, 2026 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants