Skip to content

build: bump Go toolchain — 1.25 is no longer supported upstream #2144

Closed

Description

@TerryHowe

What is the problem?

ORAS is building on Go 1.25, which is no longer supported upstream.

Go 1.27.0 was released on 2026-08-19. Because Go supports only the two most recent major releases, that retired the 1.25 branch — go1.25.14, published the same day, is the final 1.25 patch and no further security fixes will be issued for it.

ORAS CLI v1.3.4 was released on 2026-08-27, eight days later. Its binaries are built with go1.25.14:

$ go version -m ./oras
./oras: go1.25.14
	path	oras.land/oras/cmd/oras
	mod	oras.land/oras	v1.3.4

So any future Go security fix — the crypto/tls and net/http stacks in particular — will not reach an ORAS release binary until the toolchain moves forward. That is worth closing promptly given v1.3.4 was itself a security release.

Where

go.mod on main:

go 1.25.7

Last raised in #1980 (2026-02-17).

The go-version pins in CI and release workflows:

File Line
.github/workflows/build.yml 30
.github/workflows/release-github.yml 34
.github/workflows/codeql-analysis.yml 38
.github/workflows/golangci-lint.yml 30
.github/workflows/vulnerability-check.yml 39

Each pins the '1.25' major track, so setup-go resolves the newest 1.25 patch — which is now permanently go1.25.14.

Suggested fix

Bump the go directive in go.mod to a supported release and update the five workflow pins to match.

One thing to weigh when picking the target: the go directive is a floor for consumers, not just for CI. Raising it also raises the minimum for anyone running go install oras.land/oras/cmd/oras@... or importing oras.land/oras as a module. Moving to 1.26 keeps ORAS on a supported toolchain while asking the least of downstream users; moving to 1.27 buys a longer runway before the next time this comes up.

Worth pairing with a recurring check so the pin does not silently outlive its support window again — vulnerability-check.yml already runs on a schedule and would be a natural home for it.

Activity

  1. added
    help wanted
    good first issue
    v3
    on Aug 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issuehelp wantedv3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions