Skip to content

chore(deps): update module github.com/moby/buildkit to v0.28.1 [security] - autoclosed#28411

Closed
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go-github.com-moby-buildkit-vulnerability
Closed

chore(deps): update module github.com/moby/buildkit to v0.28.1 [security] - autoclosed#28411
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go-github.com-moby-buildkit-vulnerability

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Mar 30, 2026

This PR contains the following updates:

Package Change Age Confidence
github.com/moby/buildkit v0.28.0v0.28.1 age confidence

GitHub Vulnerability Alerts

CVE-2026-33747

Impact

When using a custom BuildKit frontend, the frontend can craft an API message that causes files to be written outside of the BuildKit state directory for the execution context.

Patches

The issue has been fixed in v0.28.1+

Workarounds

Issue requires using an untrusted BuildKit frontend set with #syntax or --build-arg BUILDKIT_SYNTAX. Using these options with a well-known frontend image like docker/dockerfile is not affected.

CVE-2026-33748

Impact

Insufficient validation of Git URL fragment subdir components (<url>#<ref>:<subdir>, docs) may allow access to files outside the checked-out Git repository root. Possible access is limited to files on the same mounted filesystem.

Patches

The issue has been fixed in version v0.28.1

Workarounds

The issue affects only builds that use Git URLs with a subpath component. Avoid building Dockerfiles from untrusted sources or using the subdir component from an untrusted Git repository where the subdir component could point to a symlink.


Release Notes

moby/buildkit (github.com/moby/buildkit)

v0.28.1

Compare Source

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


Configuration

📅 Schedule: Branch creation - "" in timezone UTC, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

…ity]

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate Bot added dependencies Pull requests that update a dependency file release-note-none security labels Mar 30, 2026
@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Mar 30, 2026

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 1 additional dependency was updated

Details:

Package Change
github.com/moby/patternmatcher v0.6.0 -> v0.6.1

Copy link
Copy Markdown
Member

@baude baude left a comment

Choose a reason for hiding this comment

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

LGTM

@renovate renovate Bot changed the title chore(deps): update module github.com/moby/buildkit to v0.28.1 [security] chore(deps): update module github.com/moby/buildkit to v0.28.1 [security] - autoclosed Mar 31, 2026
@renovate renovate Bot closed this Mar 31, 2026
@renovate renovate Bot deleted the renovate/go-github.com-moby-buildkit-vulnerability branch March 31, 2026 15:24
@Bazaar1
Copy link
Copy Markdown

Bazaar1 commented May 5, 2026

Was there a reason this was closed without being merged?

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 release-note-none security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants