Skip to content

deps: bump tailscale.com to 1.104.7 and Go to 1.27.4 - #9

Merged
Quick104 merged 1 commit into
mainfrom
deps/tailscale-and-advisories
Nov 13, 2026
Merged

Quick104 merged 1 commit into
mainfrom
deps/tailscale-and-advisories

Conversation

@Quick104

Copy link
Copy Markdown
Collaborator

Problem

Related issue: N/A (maintainer-directed)

make audit fails on main and on every pull request because of two advisories published this week:

  • GO-2026-6865 in github.com/klauspost/compress v1.20.0 (indirect, through tailscale.com), fixed in v1.20.2.
  • GO-2026-6859 in the standard library's net/http in Go 1.27.3, fixed in Go 1.27.4.

Tailscale is also behind its latest stable release.

Old New
Go (go.mod) 1.27.3 1.27.4
tailscale.com v1.104.2 v1.104.7
github.com/klauspost/compress v1.20.0 v1.20.4

Approach

  • Bumped the three modules with go get. tailscale.com v1.104.7 requires Go 1.27.4 itself. Its dependency changes moved two more indirect modules: github.com/tailscale/gliderssh and github.com/tailscale/wireguard-go. Nothing else moved.
  • Ran go mod tidy against both the prepared .build/go.mod and the root module. Both produce the same go.mod. go.sum comes from the root tidy because the prepare script needs the tailscale.com checksum, which the prepared module drops because of its replace. go.sum was not edited by hand.
  • scripts/prepare_tailscale.py needed no changes. Neither feature/acme nor ipn/store changed upstream between the two versions. tsnet/tsnet.go gained only an SSHAuthCallback field, and every exact-match patch still applies.
  • scripts/dist.py uses scripts/GO_LICENSE.txt as a fallback when the toolchain has no GOROOT/LICENSE (Nix), and accepts it only for one reviewed Go version. I compared the LICENSE file at the go1.26.7 and go1.27.4 tags in golang/go and the 1.27.4 toolchain's GOROOT/LICENSE with the bundled file. All four are byte-identical (SHA-256 911f8f57…9dad), so I moved the pin, its test, and the version in docs/DEVELOPMENT.md to go1.27.4. CI reads the version from go.mod, so the workflow did not change.
  • The plugin's own version stays at 0.2.2.

This supersedes dependabot's #7, which bumps tailscale.com only to v1.104.5 and does not fix either advisory.

Validation

Go 1.27.4 ran every command below. The local Go is 1.26.5, and GOTOOLCHAIN=auto switched to go1.27.4 from the go directive.

  • make check: passed (7 Python script tests, go test -race for both plugin packages, the ACME state-store regression in the adapted Tailscale package, go vet, gofmt).
  • make audit: "No vulnerabilities found" in imported packages. It still lists three advisories in required modules that the plugin's packages do not import: GO-2026-6866 and GO-2026-6860 in golang.org/x/net v0.61.0, and GO-2026-5932 in golang.org/x/crypto v0.58.0. These do not fail the audit, and this PR leaves them alone.
  • make dist VERSION=0.2.2: built and verified linux/amd64, linux/arm64, and darwin/arm64 archives. A second build produced identical checksums, matching CI's reproducibility step.
  • Archive notices name Go standard library go1.27.4, tailscale.com v1.104.7, and klauspost/compress v1.20.4. go version -m on the linux/amd64 binary confirms go1.27.4 and the same module versions.
  • plugin manifest on the linux/amd64 binary reports plugin ID ironicbadger.network-access.tailscale and version 0.2.2.

Risks

From the Tailscale changelog for v1.104.4 to v1.104.7 and the source diff:

  • v1.104.5 fixes connectivity stalls in tsnet on lossy networks. In the source, netstack now turns off TCP RACK loss detection by default (TS_NETSTACK_ENABLE_RACK=true turns it back on). This changes TCP recovery for every connection the plugin proxies, including long playback streams. It should help on lossy links but may be slower on paths that reorder packets.
  • v1.104.6 fixes a rare connectivity problem on dormant connections.
  • v1.104.7 only moves Tailscale to Go 1.27.4, which fixes a TLS ClientHello problem with some middleboxes on control-plane connections.
  • v1.104.4's security fixes (TS-2026-014 to -017) cover Tailscale SSH and Serve. The plugin uses neither.
  • No changes to tsnet state storage, ACME/certificate handling, auth keys, or minimum versions, apart from Go 1.27.4 now being the minimum Go to build the plugin.

None of this was tested against a live tailnet or a Silo server. The tsnet tests run against Tailscale's local test control server.

Checklist

  • I read and can explain the complete diff.
  • This pull request addresses one concern.

AI Disclosure

  • Harness: Claude Code (in T3 Code)
  • Tool(s): Claude Code
  • Model(s): claude-opus-5-5, claude-fable-5-2
  • Involvement: Fully AI-generated, human verification pending
  • Adversarial review: n/a

🤖 Generated with Claude Code

govulncheck fails on GO-2026-6865 in klauspost/compress v1.20.0 and
GO-2026-6859 in net/http from Go 1.27.3, so this moves compress to v1.20.4,
Go to 1.27.4 and Tailscale to its latest stable release, which itself
requires Go 1.27.4. The reviewed-toolchain pin in dist.py, its test and the
development docs now name go1.27.4, whose LICENSE is identical to go1.26.7's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Quick104
Quick104 merged commit 8e2c69c into main Nov 13, 2026
2 checks passed
@Quick104 Quick104 mentioned this pull request Nov 13, 2026
2 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant