Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
83bf800
:seedling: (chore): Bump github.com/onsi/ginkgo/v2 in /hack/tools
dependabot[bot] Feb 2, 2026
9ca8a66
:seedling: (chore): Bump golang.org/x/net from 0.49.0 to 0.51.0
dependabot[bot] Mar 2, 2026
4ed9ddb
:seedling: (chore): Bump github.com/vmware/govmomi in /test/e2e
dependabot[bot] Mar 10, 2026
6fe460e
Merge pull request #1699 from kubernetes/dependabot/go_modules/master…
zhanggbj Mar 11, 2026
e5be3b6
Merge pull request #1697 from kubernetes/dependabot/go_modules/test/e…
zhanggbj Mar 11, 2026
bf26b61
Merge pull request #1688 from kubernetes/dependabot/go_modules/hack/t…
zhanggbj Mar 11, 2026
ac57e89
Fix CVE from go.opentelemetry.io/otel/metric 1.36.0
zhanggbj Mar 16, 2026
0d4ae67
Merge pull request #1703 from zhanggbj/bump_k8s
k8s-ci-robot Mar 16, 2026
bc74bb8
Update security scan actions
zhanggbj Mar 16, 2026
ba7c6f4
Merge pull request #1704 from zhanggbj/master
k8s-ci-robot Mar 16, 2026
1fd8ae5
:seedling: (chore): Bump golang.org/x/net from 0.51.0 to 0.52.0
dependabot[bot] Mar 16, 2026
ea2d18e
Merge pull request #1705 from kubernetes/dependabot/go_modules/master…
zhanggbj Mar 17, 2026
e7ff463
fix go version in security scan
zhanggbj Mar 17, 2026
ad614a9
Merge pull request #1706 from zhanggbj/master
zhanggbj Mar 17, 2026
d91fafd
pin go version to 1.25.8
zhanggbj Mar 17, 2026
fb0d5c8
Merge pull request #1707 from zhanggbj/master
zhanggbj Mar 17, 2026
d26f3fb
Bump trivy and go version for security scan and fix
zhanggbj Mar 17, 2026
ff7ea2e
Merge pull request #1708 from zhanggbj/master
zhanggbj Mar 17, 2026
241f226
:seedling: (chore): Bump golang.org/x/crypto in /test/e2e
dependabot[bot] Mar 17, 2026
85d6f7a
Merge pull request #1712 from kubernetes/dependabot/go_modules/test/e…
zhanggbj Mar 23, 2026
7fe59fc
Bump k8s group to 0.36.0-beta.0, vm-operator and go
zhanggbj Mar 23, 2026
b5af081
Merge pull request #1714 from zhanggbj/bump_k8s
k8s-ci-robot Mar 23, 2026
0f3b851
Prevent unwanted k8s.io version bumps by Dependabot
silvery1622 Mar 29, 2026
2e3d386
:seedling: (chore): Bump azure/setup-helm
dependabot[bot] Mar 30, 2026
11df1c5
:seedling: (chore): Bump the onsi group in /test/e2e with 2 updates
dependabot[bot] Mar 30, 2026
7be6721
Bump Kubernetes dependencies to v0.36.0-rc.0 and etcd to v3.6.10
silvery1622 Apr 13, 2026
984d9e0
Fix CI: Update gcb-docker-gcloud image to a valid version
silvery1622 Apr 13, 2026
1449e9b
:seedling: (chore): Bump golang.org/x/net from 0.52.0 to 0.53.0
dependabot[bot] Apr 13, 2026
2200f82
:seedling: (chore): Bump github.com/onsi/gomega
dependabot[bot] Apr 14, 2026
3cda034
:seedling: (chore): Bump golang.org/x/crypto in /test/e2e
dependabot[bot] Apr 14, 2026
7f1ba39
Merge pull request #1730 from kubernetes/dependabot/go_modules/master…
k8s-ci-robot Apr 23, 2026
d93c528
Merge pull request #1732 from kubernetes/dependabot/go_modules/test/e…
k8s-ci-robot Apr 23, 2026
2a2683b
Merge pull request #1733 from kubernetes/dependabot/go_modules/test/e…
k8s-ci-robot Apr 23, 2026
870efde
:seedling: (chore): Bump the kubernetes group across 1 directory with…
dependabot[bot] Apr 23, 2026
255988c
:seedling: (chore): Bump the kubernetes group
dependabot[bot] Apr 23, 2026
71a0ebf
Update documents for release 1.36.0
silvery1622 Apr 23, 2026
22dce29
Merge pull request #1736 from silvery1622/pre-v1.36.0-document-update
k8s-ci-robot Apr 23, 2026
7ba6c3d
fix to support k8s endpointslices
jimohabdol May 4, 2026
a566ea7
:seedling: (chore): Bump github.com/fsnotify/fsnotify
dependabot[bot] May 4, 2026
3796a0b
:seedling: (chore): Bump github.com/onsi/ginkgo/v2 in /hack/tools
dependabot[bot] May 4, 2026
404fa59
:seedling: (chore): Bump the onsi group across 1 directory with 2 upd…
dependabot[bot] May 5, 2026
5f20e3e
update sig cloud provider alias
elmiko May 6, 2026
27bcd2a
vsphereparavirtual: support multiple VM Operator API versions (v1alph…
silvery1622 Mar 11, 2026
f50d27e
Merge pull request #1747 from elmiko/update-sig-leads
k8s-ci-robot May 11, 2026
88cdb50
Update cloud-provider-vsphere maintainers list
zhanggbj May 11, 2026
6aad5a8
Merge pull request #1750 from zhanggbj/fix_maintainer
zhanggbj May 11, 2026
f566131
Merge pull request #1743 from jimohabdol/fix/support-to-K8S-endpoints…
k8s-ci-robot May 11, 2026
cdef353
Merge pull request #1744 from kubernetes/dependabot/go_modules/master…
k8s-ci-robot May 11, 2026
dfc2f5f
Merge pull request #1745 from kubernetes/dependabot/go_modules/hack/t…
k8s-ci-robot May 11, 2026
b7c30f6
Merge pull request #1746 from kubernetes/dependabot/go_modules/test/e…
k8s-ci-robot May 11, 2026
564bf3e
vsphereparavirtual: add support for VM Operator API version v1alpha6
silvery1622 Apr 16, 2026
5e08f1f
merge upstream/master into main
May 11, 2026
192dcb3
UPSTREAM: <carry>: rm OWNERS_ALIASES and upd OWNERS
jthiatt May 5, 2021
fb5f462
UPSTREAM: <carry>: OCP specific build scripts and Dockerfile
Sep 9, 2021
e2deaf3
UPSTREAM: <carry>: Remove /vendor folder from .gitignore
Sep 10, 2021
efefc75
UPSTREAM: <carry>: Add .ci-operator.yaml file
Fedosin Jan 6, 2022
3731ab0
UPSTREAM: <carry>: fix .dockerignore to satisfy OCP specific requirem…
lobziik Sep 26, 2022
30b9a9f
UPSTREAM: <carry>: delete .github directory
lobziik Sep 26, 2022
f4f4fbc
UPSTREAM: <carry>: Updating ose-vsphere-cloud-controller-manager imag…
Oct 2, 2022
129ee96
UPSTREAM: <carry>: Add Snyk file to exclude vendor directory on scan
racheljpg Jan 22, 2024
eee9a3b
UPSTREAM: <carry>: Add snyk exclusion file
racheljpg Feb 26, 2024
84bc715
UPSTREAM: <carry>: Updating ose-vsphere-cloud-controller-manager-cont…
May 24, 2024
74a23c7
UPSTREAM: <carry>: Sync OWNERS file
JoelSpeed Jun 24, 2024
184ab55
UPSTREAM: <carry>: Updating ose-vsphere-cloud-controller-manager-cont…
Sep 4, 2024
e84ad5d
UPSTREAM: <carry>: update check-fmt goimports command
elmiko Oct 15, 2024
776013e
UPSTREAM: <carry>: Updating ose-vsphere-cloud-controller-manager-cont…
Dec 4, 2024
63db7b8
UPSTREAM: <carry>: OCPBUGS-56720: gitignore doesn't ignore certain fi…
mbiarnes May 27, 2025
da32a1f
UPSTREAM: <carry>: Updating ose-vsphere-cloud-controller-manager-cont…
Jun 18, 2025
78e0444
UPSTREAM: <carry>: Sync OWNERS file
JoelSpeed Jul 22, 2025
a500ba9
UPSTREAM: <carry>: Sync OWNERS file
RadekManak Sep 4, 2025
35141be
UPSTREAM: <carry>: Updating ose-vsphere-cloud-controller-manager-cont…
Sep 10, 2025
094c5bc
UPSTREAM: <carry>: Updating ose-vsphere-cloud-controller-manager-cont…
Dec 18, 2025
364db4e
UPSTREAM: <carry>: Updating ose-vsphere-cloud-controller-manager-cont…
Mar 2, 2026
7ea739d
UPSTREAM: <carry>: Sync OWNERS file
damdo Apr 14, 2026
f987c9f
UPSTREAM: <drop>: Updating and vendoring go modules after an upstream…
May 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .github/workflows/auto-sync-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
# This step uses Github's checkout-action: https://github.com/actions/checkout
- name: Checkout
uses: actions/checkout@v6.0.1
uses: actions/checkout@v6.0.2
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bump-k8s-dep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v6.0.1
uses: actions/checkout@v6.0.2

- name: Set up Go
uses: actions/setup-go@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bump-test-k8s-dep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v6.0.1
uses: actions/checkout@v6.0.2

- name: Set up Go
uses: actions/setup-go@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate-release-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
# This step uses Github's checkout-action: https://github.com/actions/checkout
- name: Checkout
uses: actions/checkout@v6.0.1
uses: actions/checkout@v6.0.2
with:
fetch-depth: 0

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/weekly-security-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # tag=v4.2.2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # tag=v6.0.2
with:
ref: ${{ matrix.branch }}
- name: Calculate go version
id: vars
run: echo "go_version=$(make go-version)" >> $GITHUB_OUTPUT
- name: Set up Go
uses: actions/setup-go@c0137caad775660c0844396c52da96e560aba63d # tag=v5.1.0
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # tag=v6.3.0
with:
go-version: ${{ steps.vars.outputs.go_version }}
- name: Run verify security target
Expand Down
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,14 @@ TEST_DIR := test
TOOLS_DIR := $(abspath hack/tools)
TOOLS_BIN_DIR := $(TOOLS_DIR)/bin

#
# Go.
#
GO_VERSION ?= 1.26.0

# Binaries
GO_INSTALL := ./hack/go-install.sh
TRIVY_VER := 0.49.1
TRIVY_VER := 0.69.2
GOVULNCHECK_BIN := govulncheck
GOVULNCHECK_VER := v1.1.4
GOVULNCHECK := $(abspath $(TOOLS_BIN_DIR)/$(GOVULNCHECK_BIN)-$(GOVULNCHECK_VER))
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Version matrix:

| Kubernetes Version | vSphere Cloud Provider Release Version | Cloud Provider Branch |
|--------------------|----------------------------------------|-----------------------|
| v1.36.X | v1.36.X | release-1.36 |
| v1.35.X | v1.35.X | release-1.35 |
| v1.34.X | v1.34.X | release-1.34 |
| v1.33.X | v1.33.X | release-1.33 |
Expand Down Expand Up @@ -100,7 +101,7 @@ registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:v1.30.1
Official releases of the vSphere Cloud Controller Manager container image can be found at:

```bash
registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:v1.35.1 # <== latest version
registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:v1.33.0 # <== latest version
Comment thread
coderabbitai[bot] marked this conversation as resolved.
```

The very latest builds from the tip of master, which may not be stable, can be found at:
Expand Down
Binary file removed charts/vsphere-cpi-1.35.1.tgz
Binary file not shown.
Binary file added charts/vsphere-cpi-1.36.0.tgz
Binary file not shown.
4 changes: 2 additions & 2 deletions charts/vsphere-cpi/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
appVersion: 1.35.1
appVersion: 1.36.0
description: A Helm chart for vSphere Cloud Provider Interface Manager (CPI)
name: vsphere-cpi
version: 1.35.1
version: 1.36.0
keywords:
- vsphere
- vmware
Expand Down
2 changes: 1 addition & 1 deletion charts/vsphere-cpi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ helm repo add vsphere-cpi https://kubernetes.github.io/cloud-provider-vsphere
helm repo update

# Package CPI Chart
VERSION=1.35.1
VERSION=1.30.1
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

Fix release guide version mismatch.

Line 156 sets VERSION=1.30.1, but chart metadata and image tags in this PR are 1.35.0. This can produce incorrectly versioned release artifacts.

Proposed fix
-VERSION=1.30.1
+VERSION=1.35.0
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
VERSION=1.30.1
VERSION=1.35.0
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@charts/vsphere-cpi/README.md` at line 156, The README's VERSION variable
(VERSION=1.30.1) is out of sync with the chart metadata and image tags (1.35.0);
update the VERSION entry in charts/vsphere-cpi/README.md to 1.35.0 and verify
any other occurrences of VERSION, chart version fields (Chart.yaml), and image
tags in this PR (e.g., image tag references) are consistent so release artifacts
are correctly versioned.

cd charts
helm package vsphere-cpi --version $VERSION --app-version $VERSION

Expand Down
8 changes: 8 additions & 0 deletions charts/vsphere-cpi/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@ rules:
- list
- watch
- update
- apiGroups:
- "discovery.k8s.io"
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
Expand Down
2 changes: 1 addition & 1 deletion charts/vsphere-cpi/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ serviceAccount:
daemonset:
annotations: {}
image: registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere
tag: v1.35.1
tag: v1.36.0
pullPolicy: IfNotPresent
dnsPolicy: ClusterFirst
cmdline:
Expand Down
2 changes: 1 addition & 1 deletion cloudbuild-nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ options:
substitution_option: ALLOW_LOOSE
machineType: 'E2_HIGHCPU_8'
steps:
- name: 'gcr.io/k8s-staging-test-infra/gcb-docker-gcloud@sha256:63840f133e0dfeea0af9ef391210da7fab9d2676172e2967fccab0cd6110c4e7' # v20250513-9264efb079
- name: 'gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20260205-38cfa9523f'
entrypoint: make
env:
- DOCKER_CLI_EXPERIMENTAL=enabled
Expand Down
2 changes: 1 addition & 1 deletion cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ options:
substitution_option: ALLOW_LOOSE
machineType: 'E2_HIGHCPU_8'
steps:
- name: 'gcr.io/k8s-staging-test-infra/gcb-docker-gcloud@sha256:63840f133e0dfeea0af9ef391210da7fab9d2676172e2967fccab0cd6110c4e7' # v20250513-9264efb079
- name: 'gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20260205-38cfa9523f'
entrypoint: make
env:
- DOCKER_CLI_EXPERIMENTAL=enabled
Expand Down
4 changes: 2 additions & 2 deletions cluster/images/controller-manager/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
## BUILD ARGS ##
################################################################################
# This build arg allows the specification of a custom Golang image.
ARG GOLANG_IMAGE=golang:1.25.0
ARG GOLANG_IMAGE=golang:1.26.0

# The distroless image on which the CPI manager image is built.
ARG DISTROLESS_IMAGE=gcr.io/distroless/static-debian11:latest
Expand All @@ -27,7 +27,7 @@ ARG DISTROLESS_IMAGE=gcr.io/distroless/static-debian11:latest
FROM ${GOLANG_IMAGE} as builder

# This build arg is the version to embed in the CPI binary
ARG VERSION=1.35.1
ARG VERSION=1.36.0

# This build arg controls the GOPROXY setting
ARG GOPROXY
Expand Down
2 changes: 1 addition & 1 deletion docs/book/tutorials/disable-node-deletion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ spec:
priorityClassName: system-node-critical
containers:
- name: vsphere-cloud-controller-manager
image: registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:v1.35.1
image: registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:v1.36.0
args:
- --cloud-provider=vsphere
- --v=2
Expand Down
120 changes: 59 additions & 61 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,35 +1,37 @@
module k8s.io/cloud-provider-vsphere

go 1.25.0
go 1.26.0

replace github.com/vmware-tanzu/vm-operator/pkg/constants/testlabels => github.com/vmware-tanzu/vm-operator/pkg/constants/testlabels v1.8.6
replace github.com/vmware-tanzu/vm-operator/pkg/constants/testlabels => github.com/vmware-tanzu/vm-operator/pkg/constants/testlabels v0.0.0-20260502065817-4ee333ccd54c

// vm-operator version: prefer alignment with CAPV https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/blob/main/go.mod#L11
// (may temporarily diverge when CPI needs a newer api/v1alpha6 commit before CAPV bumps).
require (
github.com/fsnotify/fsnotify v1.9.0
github.com/fsnotify/fsnotify v1.10.1
github.com/golang/mock v1.6.0
github.com/google/uuid v1.6.0
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.23.2
github.com/spf13/cobra v1.10.2
github.com/spf13/pflag v1.0.10
github.com/stretchr/testify v1.11.1
github.com/vmware-tanzu/nsx-operator/pkg/apis v0.0.0-20240827061921-8f0982975508
github.com/vmware-tanzu/nsx-operator/pkg/client v0.0.0-20240827061921-8f0982975508
github.com/vmware-tanzu/vm-operator/api v1.8.6
github.com/vmware/govmomi v0.52.0
github.com/vmware-tanzu/nsx-operator/pkg/apis v0.0.0-20260423081355-beab2417344a
github.com/vmware-tanzu/nsx-operator/pkg/client v0.0.0-20260423081355-beab2417344a
github.com/vmware-tanzu/vm-operator/api v1.9.1-0.20260502065817-4ee333ccd54c
github.com/vmware/govmomi v0.53.0
github.com/vmware/vsphere-automation-sdk-go/lib v0.7.0
github.com/vmware/vsphere-automation-sdk-go/runtime v0.7.0
github.com/vmware/vsphere-automation-sdk-go/services/nsxt v0.12.0
golang.org/x/net v0.48.0
golang.org/x/net v0.53.0
gopkg.in/gcfg.v1 v1.2.3
gopkg.in/yaml.v2 v2.4.0
k8s.io/api v0.35.2
k8s.io/apimachinery v0.35.2
k8s.io/client-go v0.35.2
k8s.io/cloud-provider v0.35.2
k8s.io/code-generator v0.35.2
k8s.io/component-base v0.35.2
k8s.io/klog/v2 v2.130.1
k8s.io/api v0.36.0
k8s.io/apimachinery v0.36.0
k8s.io/client-go v0.36.0
k8s.io/cloud-provider v0.36.0
k8s.io/code-generator v0.36.0
k8s.io/component-base v0.36.0
k8s.io/klog/v2 v2.140.0
sigs.k8s.io/yaml v1.6.0
)

Expand All @@ -41,14 +43,12 @@ require (
github.com/beevik/etree v1.1.3 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/blang/semver/v4 v4.0.0 // indirect
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
github.com/cenkalti/backoff/v5 v5.0.3 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/coreos/go-semver v0.3.1 // indirect
github.com/coreos/go-systemd/v22 v22.5.0 // indirect
github.com/coreos/go-systemd/v22 v22.7.0 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/emicklei/go-restful/v3 v3.12.2 // indirect
github.com/evanphx/json-patch v5.6.0+incompatible // indirect
github.com/evanphx/json-patch/v5 v5.9.0 // indirect
github.com/emicklei/go-restful/v3 v3.13.0 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/fxamacker/cbor/v2 v2.9.0 // indirect
github.com/gibson042/canonicaljson-go v1.0.3 // indirect
Expand All @@ -60,12 +60,11 @@ require (
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang-jwt/jwt/v4 v4.5.2 // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/google/btree v1.1.3 // indirect
github.com/google/cel-go v0.26.0 // indirect
github.com/google/gnostic-models v0.7.0 // indirect
github.com/google/go-cmp v0.7.0 // indirect
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.3 // indirect
github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus v1.1.0 // indirect
github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.3.3 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.7 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
Expand All @@ -77,58 +76,57 @@ require (
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/prometheus/client_model v0.6.2 // indirect
github.com/prometheus/common v0.66.1 // indirect
github.com/prometheus/procfs v0.16.1 // indirect
github.com/prometheus/common v0.67.5 // indirect
github.com/prometheus/procfs v0.19.2 // indirect
github.com/stoewer/go-strcase v1.3.0 // indirect
github.com/x448/float16 v0.8.4 // indirect
go.etcd.io/etcd/api/v3 v3.6.5 // indirect
go.etcd.io/etcd/client/pkg/v3 v3.6.5 // indirect
go.etcd.io/etcd/client/v3 v3.6.5 // indirect
go.etcd.io/etcd/api/v3 v3.6.10 // indirect
go.etcd.io/etcd/client/pkg/v3 v3.6.10 // indirect
go.etcd.io/etcd/client/v3 v3.6.10 // indirect
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.60.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.61.0 // indirect
go.opentelemetry.io/otel v1.40.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.34.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.34.0 // indirect
go.opentelemetry.io/otel/metric v1.40.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.65.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.65.0 // indirect
go.opentelemetry.io/otel v1.41.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.40.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.40.0 // indirect
go.opentelemetry.io/otel/metric v1.41.0 // indirect
go.opentelemetry.io/otel/sdk v1.40.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.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🌐 Web query:

opentelemetry-go GHSA-hfvc-g4fc-pqhx fixed version

💡 Result:

The fixed version for the GHSA-hfvc-g4fc-pqhx vulnerability in go.opentelemetry.io/otel/sdk (part of opentelemetry-go) is v1.43.0. Affected versions are >= v1.15.0 and <= v1.42.0. This vulnerability (CVE-2026-39883) is an incomplete fix for a prior PATH hijacking issue (GHSA-9h8m-3fm2-qjrq / CVE-2026-24051), where the BSD kenv command was not using an absolute path. The fix uses "/bin/kenv" and was included in the v1.43.0 release on 2026-04-03.

Citations:


Upgrade go.opentelemetry.io/otel/sdk to v1.43.0 or later.

The installed version v1.40.0 is affected by HIGH severity vulnerability GHSA-hfvc-g4fc-pqhx (CVE-2026-39883): BSD kenv command not using absolute path enables PATH hijacking. Update the indirect dependency to v1.43.0 (released 2026-04-03) or later, or use a replace directive in go.mod if upstream has not yet resolved the transitive dependency.

🧰 Tools
🪛 OSV Scanner (2.3.5)

[HIGH] 92-92: go.opentelemetry.io/otel/sdk 1.40.0: opentelemetry-go: BSD kenv command not using absolute path enables PATH hijacking

(GHSA-hfvc-g4fc-pqhx)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@go.mod` at line 92, Update the indirect dependency
go.opentelemetry.io/otel/sdk in go.mod from v1.40.0 to v1.43.0 (or later) to
remediate CVE-2026-39883; if you cannot bump the transitive version directly,
add a go.mod replace directive targeting go.opentelemetry.io/otel/sdk =>
go.opentelemetry.io/otel/sdk v1.43.0 (or newer) so the project uses the fixed
release. Locate the dependency line referencing go.opentelemetry.io/otel/sdk
(v1.40.0) and either change the version or add the replace directive, then run
go mod tidy to update the lock information.

go.opentelemetry.io/otel/trace v1.40.0 // indirect
go.opentelemetry.io/proto/otlp v1.5.0 // indirect
go.opentelemetry.io/otel/trace v1.41.0 // indirect
go.opentelemetry.io/proto/otlp v1.9.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
go.uber.org/zap v1.27.1 // indirect
go.yaml.in/yaml/v2 v2.4.3 // indirect
go.yaml.in/yaml/v3 v3.0.4 // indirect
golang.org/x/crypto v0.46.0 // indirect
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
golang.org/x/mod v0.30.0 // indirect
golang.org/x/crypto v0.50.0 // indirect
golang.org/x/exp v0.0.0-20251219203646-944ab1f22d93 // indirect
golang.org/x/mod v0.34.0 // indirect
golang.org/x/oauth2 v0.34.0 // indirect
golang.org/x/sync v0.19.0 // indirect
golang.org/x/sys v0.40.0 // indirect
golang.org/x/term v0.38.0 // indirect
golang.org/x/text v0.32.0 // indirect
golang.org/x/time v0.9.0 // indirect
golang.org/x/tools v0.39.0 // indirect
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20251202230838-ff82c1b0f217 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20251202230838-ff82c1b0f217 // indirect
golang.org/x/sync v0.20.0 // indirect
golang.org/x/sys v0.43.0 // indirect
golang.org/x/term v0.42.0 // indirect
golang.org/x/text v0.36.0 // indirect
golang.org/x/time v0.14.0 // indirect
golang.org/x/tools v0.43.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20260128011058-8636f8732409 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20260128011058-8636f8732409 // indirect
google.golang.org/grpc v1.79.3 // indirect
google.golang.org/protobuf v1.36.10 // indirect
google.golang.org/protobuf v1.36.12-0.20260120151049-f2248ac996af // indirect
gopkg.in/evanphx/json-patch.v4 v4.13.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/apiextensions-apiserver v0.35.2 // indirect
k8s.io/apiserver v0.35.2 // indirect
k8s.io/component-helpers v0.35.2 // indirect
k8s.io/controller-manager v0.35.2 // indirect
k8s.io/apiserver v0.36.0 // indirect
k8s.io/component-helpers v0.36.0 // indirect
k8s.io/controller-manager v0.36.0 // indirect
k8s.io/gengo/v2 v2.0.0-20250922181213-ec3ebc5fd46b // indirect
k8s.io/kms v0.35.2 // indirect
k8s.io/kube-openapi v0.0.0-20250910181357-589584f1c912 // indirect
k8s.io/utils v0.0.0-20251002143259-bc988d571ff4 // indirect
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.2 // indirect
sigs.k8s.io/controller-runtime v0.18.1-0.20240717024706-fcd2fcfc974f // indirect
k8s.io/kms v0.36.0 // indirect
k8s.io/kube-openapi v0.0.0-20260317180543-43fb72c5454a // indirect
k8s.io/streaming v0.36.0 // indirect
k8s.io/utils v0.0.0-20260210185600-b8788abfbbc2 // indirect
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.34.0 // indirect
sigs.k8s.io/controller-runtime v0.19.0 // indirect
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect
sigs.k8s.io/randfill v1.0.0 // indirect
sigs.k8s.io/structured-merge-diff/v6 v6.3.0 // indirect
sigs.k8s.io/structured-merge-diff/v6 v6.3.2 // indirect
)
Loading