kubefwd

txn2·txn2.kubefwd

Kubernetes bulk port forwarding for local development.

kubefwd is a command line utility for bulk forwarding Kubernetes services to your local workstation. Each service gets its own unique loopback IP (127.x.x.x), eliminating port conflicts. Access cluster services by name exactly as in-cluster with automatic /etc/hosts management.

winget install --id txn2.kubefwd --exact --source winget

Latest 1.25.18·October 16, 2026

Release Notes

kubefwd v1.25.18 Security release. Everyone on v1.25.17 or earlier should upgrade. v1.25.17 shipped with known vulnerabilities in golang.org/x/net, golang.org/x/crypto and golang.org/x/text. This release updates those modules and has no other changes. It includes all of v1.25.17's bug fixes. See the v1.25.17 notes for those.

Advisories fixed (#623) ───────────────────────────────────┬────────┬──────────────────────┬──────────────────────────────────────────────────── Advisory │Module │Reachable from kubefwd│Summary ───────────────────────────────────┼────────┼──────────────────────┼──────────────────────────────────────────────────── GO-2026-6617 │x/net │yes │HTTP/2 server crash from an HPACK encoder race ───────────────────────────────────┼────────┼──────────────────────┼──────────────────────────────────────────────────── GO-2026-6612 │x/net │yes │Double flow-control refund on HTTP/2 server streams ───────────────────────────────────┼────────┼──────────────────────┼──────────────────────────────────────────────────── GO-2026-6611 │x/net │yes │Excessive CPU from repeated initial window changes ───────────────────────────────────┼────────┼──────────────────────┼──────────────────────────────────────────────────── GO-2026-6610 │x/net │yes │HTTP/2 transport accepts malformed framing headers ───────────────────────────────────┼────────┼──────────────────────┼──────────────────────────────────────────────────── GO-2026-6603 │x/net │yes │HTTP/2 server memory exhaustion from Trailer headers ───────────────────────────────────┼────────┼──────────────────────┼──────────────────────────────────────────────────── GO-2026-6355, GO-2026-6354 │x/crypto│no (ssh) │DoS on deadlocked SSH channels ───────────────────────────────────┼────────┼──────────────────────┼──────────────────────────────────────────────────── GO-2026-6303 │x/crypto│no (ssh) │SSH source-address option not enforced ───────────────────────────────────┼────────┼──────────────────────┼──────────────────────────────────────────────────── GO-2026-6629 │x/text │no (precis) │Panic parsing crafted input ───────────────────────────────────┴────────┴──────────────────────┴──────────────────────────────────────────────────── "Reachable" is govulncheck's call-graph result for kubefwd's source. ───────────────────┬────────┬──────── Module │v1.25.17│v1.25.18 ───────────────────┼────────┼──────── golang.org/x/net │0.57.0 │0.60.0 ───────────────────┼────────┼──────── golang.org/x/crypto│0.54.0 │0.57.0 ───────────────────┼────────┼──────── golang.org/x/text │0.40.0 │0.42.0 ───────────────────┼────────┼──────── golang.org/x/sync │0.22.0 │0.23.0 ───────────────────┼────────┼──────── golang.org/x/term │0.45.0 │0.46.0 ───────────────────┴────────┴──────── The integration-test module also moves to x/crypto 0.57.0 and x/sys 0.48.0. That module isn't part of the binary.

Verification Built with Go 1.26.9. govulncheck reports no vulnerabilities in:

  • kubefwd's source, the root module (./...)
  • the integration-test module (-tags=integration ./...)
  • an unstripped binary built from the release commit (-mode binary) Scanning the released binaries (-mode binary on kubefwd_Darwin_arm64 and kubefwd_Linux_x86_64) reports one advisory, GO-2026-5932: the golang.org/x/crypto/openpgp package is deprecated, and no fixed version exists. This is a false positive:
  • kubefwd doesn't include the package. go list -deps on the release build configuration shows no openpgp package.
  • The scanner can't check symbols in release binaries. They're stripped (-ldflags "-s -w"), so govulncheck falls back to matching the whole x/crypto module.
  • Stripping is the only difference. The same code built unstripped scans clean. Check the build provenance of any asset: gh attestation verify kubefwd_Darwin_arm64.tar.gz --repo txn2/kubefwd Checksums are in kubefwd_checksums.txt, which also has a sigstore bundle.

Install / upgrade

Homebrew (macOS / Linux)

brew upgrade kubefwd # or: brew install txn2/tap/kubefwd

Docker

docker pull txn2/kubefwd:v1.25.18 # also :v1.25.18_alpine-3, :v1.25.18_ubuntu-24.04

Or download a binary or package (deb, rpm, apk) for your platform from the assets below.

Run it (requires root for /etc/hosts and loopback aliases): sudo -E kubefwd svc -n --tui

Installer type: zip

x86—E1C44F51A92874B3B57E5DA397C156425C9B1CE93971780A92A4425EAC7333DB
x64—FA156F4D46C8A4672B2AD862B89D40E02AFA4C0D08E3CC193524FB9B05AEFE60

Details

Homepage
https://github.com/txn2/kubefwd
License
Apache-2.0
Publisher
txn2
Support
https://github.com/txn2/kubefwd/issues
Copyright
Copyright (c) 2018-2025 txn2
Moniker
kubefwd

Tags

clidevelopmentdevopsk8skubectlkubernetesport-forwarding

Older versions (2)

1.25.16
x86—2FF6AF3DE4741AE5C0D7A56F9CB57EBC0D268AEA35E02CC91E43F40AE6F6A0AE
x64—2F671F3F1104BA4DA1B1A2DC6AB8658C8F797789629808A624955363488B28C3
1.25.9
x64—74B319A05D93F9BF5A38406470DF264E29878698A335BBDEC8CF8BC8E7945B68
x86—2BB974AB62A426353D16A602618AC52857DB4FD6372B9B63A81DA5D386A13B9C