Skip to content

fix(deps): remediate Plural CLI Go vulnerabilities - #845

Open
plural-copilot[bot] wants to merge 1 commit into
mainfrom
agent/remediate-cli-go-vulnerabilities-1795110723007
Open

plural-copilot[bot] wants to merge 1 commit into
mainfrom
agent/remediate-cli-go-vulnerabilities-1795110723007

Conversation

@plural-copilot

Copy link
Copy Markdown
Contributor

Summary

  • Update the Plural CLI build/runtime Go images and go directive from 1.27.3 to 1.27.4 to remediate CVE-2026-97054.
  • Update golang.org/x/crypto from v0.58.0 to stable v0.59.0 to remediate GO-2026-5932. v0.59.0 is newer than (and supersedes) the scanner floor v0.58.1-0.20261009181718-2f1f834330b2.
  • Update the aligned OpenTelemetry module set, including otel/sdk and otel/trace, from v1.45.0 to v1.47.0 to remediate CVE-2026-128085.

Plural Service: mgmt/console

Test Plan

  • Passed gofmt check for cmd and pkg Go sources.
  • Passed go mod verify and selected-module checks using Go 1.27.4.
  • Passed git diff --check.
  • Attempted Dockerized go test -mod=readonly ./cmd/plural ./cmd/command/crypto ./pkg/crypto and CLI build; stopped after the deliberate 10-minute limit while compiling the large AWS/Kubernetes dependency graph, with no test failure output.

Release / rebuild requirement

A new plural-cli release/image must be built and published from this change, and the Console service must be rebuilt/released so its bundled /usr/local/bin/plural is replaced. This PR deliberately does not change any GitOps or image tags.

@plural-copilot plural-copilot Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This PR was generated by the codex Plural Agent Runtime. Here's some useful information you might want to know to evaluate the ai's perfomance:

Name Details
💬 Prompt Create one remediation PR for current vulnerabilities in the plural CLI binary bundled in the live ghcr.io/pluralsh/console:sha-d9a594d image....
🔗 Run history View run history

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedgolang.org/​x/​crypto@​v0.58.0 ⏵ v0.59.073100100100100
Updatedgolang.org/​x/​text@​v0.43.0 ⏵ v0.44.077 +1100100100100
Updatedgithub.com/​stretchr/​testify@​v1.11.1 ⏵ v1.12.189 -6100100100100
Updatedgolang.org/​x/​term@​v0.47.0 ⏵ v0.48.0100100100100100

View full report

@greptile-apps

greptile-apps Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 4/5

[Medium impact] The changes reach CLI builds and the CLI workflows that use their dependencies.

The remaining OpenPGP dependency is a non-blocking remediation concern; no new runtime failure was established.

Findings

  1. P2 Security OpenPGP fix remains incomplete ▶

Summary

Updates the CLI’s Go toolchain and dependencies for security fixes.

  • Plural CLI builds with updated Go and module versions.

Builds and tests were not run during this review.

Reviews (1) · Last reviewed commit: "fix(deps): remediate CLI Go vulnerabilit..." · Reviewed by Greptile

Comment thread go.mod
go.yaml.in/yaml/v2 v2.4.4 // indirect
go.yaml.in/yaml/v3 v3.0.4 // indirect
go.yaml.in/yaml/v3 v3.0.5 // indirect
golang.org/x/crypto/openpgp v0.1.0-deprecated // indirect

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 security OpenPGP fix remains incomplete. Updating golang.org/x/crypto to v0.59.0 adds a separate requirement on golang.org/x/crypto/openpgp v0.1.0-deprecated, which is still affected by GO-2026-5932. The version bump therefore moves the affected package into another module rather than completing the stated fix. Update the dependency that still needs it so the deprecated module can be removed.

How this was verified: go.mod explicitly selects the affected deprecated OpenPGP module, and go.sum includes its checksums.

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