feat: migrate charmbracelet/wish v1 → v2 (CVE-2026-35385) #42
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Docker Scout reports CVE-2026-35385 (CVSS 9.6 Critical) in
charmbracelet/wishv1.4.7. v1.4.7 is the latest v1.x release — no patch available in v1.Required Migration
wish v2 (
charm.land/wish/v2) requires:charm.land/bubbletea/v2(currently ongithub.com/charmbracelet/bubbleteav1.3.10)charm.land/lipgloss/v2(currently on lipgloss v1)charm.land/...instead ofgithub.com/charmbracelet/...)This is a full TUI migration — all bubbletea Model/Cmd/Msg patterns, lipgloss styles, and SSH middleware need updating.
Scope
cmd/uptop/main.go— SSH server setup (wish + bubbletea middleware)internal/tui/— all TUI models and views (bubbletea v1 → v2)API Compatibility Notes
wish v2 server API (
NewServer,WithAddress,WithHostKeyPath,WithPublicKeyAuth,WithMiddleware) is unchanged. The breaking change is the bubbletea v2 dependency —bm.Middlewarenow expects bubbletea v2 types.