Repository navigation
fix(security): require Go 1.27.3 and patched vite in the TypeScript SDK - #2466
Merged
Merged
Conversation
GO-2026-6809 (crypto/x509 distrusts compromised intermediates) is reachable from the root module through executioncontroller's certificate verification and is fixed in Go 1.27.3. Raise the go directive in every module and go.work, the golang builder images (re-pinned by digest), and the documented toolchain floor. The TypeScript SDK resolved vite 8.2.2 through vitest, which is affected by GHSA-587h-7wmj-h5pm (high, bundled launch-editor) and five related vite advisories, all fixed in 8.2.4. Override the vulnerable range in pnpm-workspace.yaml next to the existing source-map-js override. Co-Authored-By: Claude Opus 5.5 <[email protected]>
GHSA-5r4p-p66f-jhc7: hono serveStatic decodes the request path twice, so middleware on static paths can be bypassed. Fixed in 4.13.11; 4.13.13 matches the version Renovate proposes, keeping that PR's rebase trivial. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Merged
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Three vulnerability gates fail on
mainand on every PR since advisories were published on 2026-10-21. This PR fixes all three.crypto/x509distrusts compromised intermediate certificates) is reachable from the root module throughexecutioncontroller.SecurityManager.authorize→x509.Certificate.Verify. Go 1.27.3 fixes it. This PR raises thegodirective in every module and ingo.work, re-pins thegolangbuilder images to 1.27.3 by digest, and updates the documented toolchain floor (Taskfile, user docs, floor test). It follows the same file set as fix(security): update Go and x/net vulnerability floors #2221. No allowlist entry is needed.task sdk:audit): vitest resolved vite 8.2.2, which is affected by GHSA-587h-7wmj-h5pm (high, launch-editorfs.existsSync()bypass on Windows) and five related vite advisories, all fixed in 8.2.4. This PR adds an override forvite@>=8.2.0 <8.2.4insdk/typescript/pnpm-workspace.yamlnext to the existingsource-map-jsoverride. The lockfile now resolves vite 8.3.4.task studio:audit): hono GHSA-5r4p-p66f-jhc7 (serveStaticdouble-decodes the path, so static-path middleware can be bypassed) is fixed in 4.13.11. This PR bumpsapps/serverhono from 4.13.9 to 4.13.13, the version Renovate chore(deps): update studio #2246 proposes. I bumped it here because chore(deps): update studio #2246 is red on unrelated checks, and the gate is required on every PR. Once this lands, chore(deps): update studio #2246 rebases with no hono change left.Local verification
task vuln: PASS for all eight modules.task sdk:audit: only the existing, already-ignored sprintf-js advisory remains. The SDK vitest suite passes (390 tests).pnpm audit --prodinapps/: no known vulnerabilities. Studio server tests pass (255).task docs: passes.internal/adapter) and the module publication check pass.bash .github/scripts/microvm-ci-release_test.shfails on darwin-arm64 with a release-defaults mismatch, and fails the same way on unmodifiedmain, so this change didn't cause it.task lint/task testrun was interrupted, so CI is the full-suite evidence for this PR.🤖 Generated with Claude Code