Skip to content

chore(deps): Bump github.com/moby/buildkit from 0.25.1 to 0.28.1 in /mcv#117

Open
dependabot[bot] wants to merge 5 commits into
mainfrom
dependabot/go_modules/mcv/github.com/moby/buildkit-0.28.1
Open

chore(deps): Bump github.com/moby/buildkit from 0.25.1 to 0.28.1 in /mcv#117
dependabot[bot] wants to merge 5 commits into
mainfrom
dependabot/go_modules/mcv/github.com/moby/buildkit-0.28.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 2, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/moby/buildkit from 0.25.1 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

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Apr 2, 2026
@maryamtahhan

Copy link
Copy Markdown
Collaborator

@dependabot help

@maryamtahhan

Copy link
Copy Markdown
Collaborator

@dependabot recreate

@dependabot dependabot Bot force-pushed the dependabot/go_modules/mcv/github.com/moby/buildkit-0.28.1 branch from 45d9351 to 95c1260 Compare April 15, 2026 14:20
@maryamtahhan

Copy link
Copy Markdown
Collaborator

https://github.com/dependabot recreate

Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit) from 0.25.1 to 0.28.1.
- [Release notes](https://github.com/moby/buildkit/releases)
- [Commits](moby/buildkit@v0.25.1...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 force-pushed the dependabot/go_modules/mcv/github.com/moby/buildkit-0.28.1 branch from 95c1260 to 4b5349a Compare April 17, 2026 09:10
@maryamtahhan maryamtahhan force-pushed the dependabot/go_modules/mcv/github.com/moby/buildkit-0.28.1 branch from ebb1e6b to 3b8aebd Compare April 17, 2026 12:50
Signed-off-by: Maryam Tahhan <mtahhan@redhat.com>
@maryamtahhan maryamtahhan force-pushed the dependabot/go_modules/mcv/github.com/moby/buildkit-0.28.1 branch from 3b8aebd to eb4327c Compare April 21, 2026 14:22
maryamtahhan and others added 3 commits April 22, 2026 11:21
The buildkit v0.28.1 update pulls in cyphar/filepath-securejoin v0.6.0,
which moved OpenInRoot and Reopen functions to the pathrs-lite subpackage.
The vendored go.podman.io/storage v1.62.0 code still imports the main
package but calls these functions, causing build failures.

Add a sed patch in the Makefile tidy-vendor target to fix the import
path after vendoring.

Fixes build errors:
- vendor/go.podman.io/storage/userns.go:334:29: undefined: securejoin.OpenInRoot
- vendor/go.podman.io/storage/userns.go:340:20: undefined: securejoin.Reopen

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
The buildkit v0.28.1 upgrade pulls in cyphar/filepath-securejoin v0.6.0,
which moved OpenInRoot and Reopen functions from the main package to the
pathrs-lite subpackage. The vendored go.podman.io/storage v1.62.0 still
imports the main package causing build failures.

Changes:
- Patch vendor/go.podman.io/storage/userns.go import path
- Update Makefile vendors target to apply patch after go mod vendor
- Update mcv/Makefile tidy-vendor target to apply patch
- Update .github/workflows/mcv-build.yml to use make tidy-vendor

This ensures the patch is applied both locally and in CI, fixing:
- vendor/go.podman.io/storage/userns.go:334: undefined: securejoin.OpenInRoot
- vendor/go.podman.io/storage/userns.go:340: undefined: securejoin.Reopen

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Downgrade storage and related dependencies to resolve compatibility
issue with filepath-securejoin. The newer storage v1.62.0 requires
OpenatInRoot and Reopen functions that aren't exported in the main
filepath-securejoin package until a future release.

Changes:
- Downgrade go.podman.io/storage to v1.61.1-0.20251111134650-36964d15757a
- Downgrade buildah to v1.42.2
- Downgrade podman to v5.7.1
- Upgrade filepath-securejoin to v0.6.1

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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.

1 participant