Skip to content

build(deps): bump k8s.io/kubectl from 0.35.3 to 0.36.3 - #596

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/go_modules/k8s.io/kubectl-0.36.3
Open

build(deps): bump k8s.io/kubectl from 0.35.3 to 0.36.3#596
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/go_modules/k8s.io/kubectl-0.36.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 1, 2026

Copy link
Copy Markdown
Contributor

Bumps k8s.io/kubectl from 0.35.3 to 0.36.3.

Commits
  • 73fdc7a Update dependencies to v0.36.3 tag
  • 58802ae Merge pull request #140296 from jpbetz/cherry-pick-smd-306-revert
  • fde8e27 Bump sigs.k8s.io/structured-merge-diff/v6 to v6.3.3
  • 2a397b1 Merge pull request #138500soltysh/automated-cherry-pick-of-#138499
  • 8598401 Escape path inside the container
  • 50e8956 Merge remote-tracking branch 'origin/master' into release-1.36
  • 3f435ca Merge pull request #138346 from dashpole/update_otel_prop
  • 36707c8 Merge remote-tracking branch 'origin/master' into release-1.36
  • 5e5dfaa Update github.com/moby/spdystream from v0.5.0 to v0.5.1
  • 777119f update go.opentelemetry.io/otel to v1.41.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)

Summary by CodeRabbit

  • Chores
    • Updated Kubernetes and protobuf dependencies to newer versions.
    • Removed unused supporting dependencies.

Bumps [k8s.io/kubectl](https://github.com/kubernetes/kubectl) from 0.35.3 to 0.36.3.
- [Commits](kubernetes/kubectl@v0.35.3...v0.36.3)

---
updated-dependencies:
- dependency-name: k8s.io/kubectl
  dependency-version: 0.36.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added kind/chore Necessary task pr/dependencies Dependabot or manual dependencies addressed in this PR labels Aug 1, 2026
@coderabbitai

coderabbitai Bot commented Aug 1, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

Updated Kubernetes dependencies from v0.35.3 to v0.36.3, refreshed related indirect dependencies, updated protobuf, and removed two indirect dependencies from go.mod.

Changes

Dependency updates

Layer / File(s) Summary
Refresh Kubernetes dependency versions
go.mod
Direct Kubernetes dependencies now use v0.36.3. Related indirect Kubernetes, Kustomize, and protobuf dependencies were also updated. Two indirect dependencies were removed.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Suggested reviewers: leecalcote

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the direct dependency and the version change described in the pull request.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/go_modules/k8s.io/kubectl-0.36.3

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@go.mod`:
- Line 177: Update the oras.land/oras-go/v2 dependency in go.mod from v2.6.0 to
v2.6.1 or later, refresh the corresponding module checksums if needed, and rerun
the vulnerability scanner to verify the resolved dependency is no longer
flagged.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: a21eb3e8-ed28-43bf-a2f9-f888c9676767

📥 Commits

Reviewing files that changed from the base of the PR and between 91420b0 and 6f7c486.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (1)
  • go.mod

Comment thread go.mod
k8s.io/kube-openapi v0.0.0-20260317180543-43fb72c5454a // indirect
k8s.io/streaming v0.36.3 // indirect
k8s.io/utils v0.0.0-20260210185600-b8788abfbbc2 // indirect
oras.land/oras-go/v2 v2.6.0 // indirect

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔒 Security & Privacy | 🟠 Major | 🏗️ Heavy lift

🧩 Analysis chain

🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

module='oras.land/oras-go/v2'

go mod why -m "$module"
go list -deps ./... | grep -F "$module" || true
go list -m -u -json "$module"

Repository: meshery/meshsync

Length of output: 7214


🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

python3 - <<'PY'
import json, urllib.request

payload = json.dumps({
    "package": {"name": "oras.land/oras-go/v2", "ecosystem": "Go"},
    "version": "2.6.0",
}).encode()
req = urllib.request.Request(
    "https://api.osv.dev/v1/query",
    data=payload,
    headers={"Content-Type": "application/json"},
)
with urllib.request.urlopen(req) as response:
    data = json.load(response)

for vuln in data.get("vulns", []):
    print(json.dumps({
        "id": vuln.get("id"),
        "summary": vuln.get("summary"),
        "severity": vuln.get("severity"),
        "affected": vuln.get("affected"),
    }, indent=2))

print("\nRelevant module constraints:")
for line_no, line in enumerate(open("go.mod"), 1):
    if any(term in line for term in ("k8s.io/", "helm.sh/helm", "oras.land/oras-go")):
        print(f"{line_no}: {line.rstrip()}")
PY

Repository: meshery/meshsync

Length of output: 2441


🌐 Web query:

oras.land/oras-go/v2 v2.6.0 OSV vulnerabilities archive path traversal registry credential token forwarding patched version

💡 Result:

The library oras.land/oras-go/v2 version 2.6.0 and earlier are affected by multiple security vulnerabilities [1][2][3]. All these issues are addressed in version 2.6.1, which is the recommended patched version [2][4][5]. Summary of vulnerabilities: Credential and Token Forwarding * Registry Credential Forwarding (CVE-2026-50151): The library failed to validate the Location header during monolithic blob uploads, allowing a malicious registry to redirect the request to a cross-host endpoint while reusing the original Authorization header, leading to credential exfiltration [4][6][7]. A related, residual vulnerability allowed for credential forwarding on manifest redirects [3]. * Bearer Token Realm Validation (GHSA-xf85-363p-868w): The library followed unvalidated Bearer realm URLs, enabling server-side request forgery (SSRF) to internal network endpoints (e.g., IMDS) and permitting TLS downgrade attacks by accepting plaintext http schemes from https-secured registries [1][8]. Path Traversal * Symlink Traversal (CVE-2026-50162): The file store write operation used a lexical check for working directory confinement that did not account for symlink traversal. This allowed an attacker to write files outside the intended working directory [2][9][10]. * Hardlink CWD Resolution (CVE-2026-50163 / GHSA-fxhp-mv3v-67qp): Tar extraction logic incorrectly resolved relative hardlink targets against the process current working directory (CWD) rather than the extraction directory, enabling an attacker to create hardlinks to files outside the intended extract tree [11][12][5]. Version 2.6.1 includes the necessary fixes for these path traversal and credential handling flaws [2][4][5].

Citations:


Upgrade oras.land/oras-go/v2

v2.6.0 is reachable through helm.sh/helm/v3/pkg/registry and has multiple high-severity vulnerabilities. Upgrade to v2.6.1 or later, then rerun the vulnerability scanner.

🧰 Tools
🪛 OSV Scanner (2.4.0)

[HIGH] 177-177: oras.land/oras-go/v2 2.6.0: Oras-go: File store write outside workingDir via symlink traversal in oras.land/oras-go

(GO-2026-5879)


[HIGH] 177-177: oras.land/oras-go/v2 2.6.0: Hardlink path traversal during tar extraction in oras.land/oras-go

(GO-2026-5880)


[HIGH] 177-177: oras.land/oras-go/v2 2.6.0: Oras-go: Blob upload vulnerable to credential forwarding via unvalidated Location header in oras.land/oras-go

(GO-2026-5882)


[HIGH] 177-177: oras.land/oras-go/v2 2.6.0: ORAS Go forwards registry credentials across registry redirects in oras.land/oras-go

(GO-2026-5884)


[HIGH] 177-177: oras.land/oras-go/v2 2.6.0: Oras-go: Malicious registry can hijack Bearer token realm to exfiltrate credentials and refresh tokens in oras.land/oras-go

(GO-2026-5885)


[HIGH] 177-177: oras.land/oras-go/v2 2.6.0: oras-go has file store write outside workingDir via symlink traversal

(GHSA-8xwf-rjm4-xvhv)


[HIGH] 177-177: oras.land/oras-go/v2 2.6.0: oras-go tar extraction: Hardlink entry with relative Linkname escapes extract dir via process CWD resolution

(GHSA-fxhp-mv3v-67qp)


[HIGH] 177-177: oras.land/oras-go/v2 2.6.0: oras-go blob upload vulnerable to credential forwarding via unvalidated Location header

(GHSA-jxpm-75mh-9fp7)


[HIGH] 177-177: oras.land/oras-go/v2 2.6.0: ORAS Go forwards registry credentials across registry redirects

(GHSA-vh4v-2xq2-g5cg)


[HIGH] 177-177: oras.land/oras-go/v2 2.6.0: oras-go: Malicious registry can hijack Bearer token realm to exfiltrate credentials and refresh tokens

(GHSA-xf85-363p-868w)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@go.mod` at line 177, Update the oras.land/oras-go/v2 dependency in go.mod
from v2.6.0 to v2.6.1 or later, refresh the corresponding module checksums if
needed, and rerun the vulnerability scanner to verify the resolved dependency is
no longer flagged.

Source: Linters/SAST tools

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/chore Necessary task pr/dependencies Dependabot or manual dependencies addressed in this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants