Skip to content

Update oras-go to v2.6.4 #2241

Closed
Closed

Description

@TerryHowe

oras-go v2.6.4 has been released. main is currently on oras.land/oras-go/v2 v2.6.3.

v2.6.4 is a patch release with security fixes to the file store and auth client:

  • File store: remove a symlink at the target path before writing in pushFile/pushDir and open with O_NOFOLLOW on unix (GHSA-2hhj-vj64-hx3j)
  • Tar extraction: skip restoring times/mode on symlinks and replace a symlink at a directory entry's path with a real directory (GHSA-jh75-xv39-vhvx)
  • auth.Client: compare each redirect hop against the first request, and refuse to resend OAuth2 token request bodies cross-origin on 307/308 (GHSA-xc97-9f2f-9hrx)
  • Bearer realm validation: resolve non-literal realm hosts and reject loopback/link-local/private/unspecified/CGNAT addresses, re-validating each redirect hop (GHSA-mm27-wq9c-mxxr)

It also includes bug fixes:

Task

  • Bump oras.land/oras-go/v2 to v2.6.4 in go.mod / go.sum
  • Verify unit and e2e tests pass

Activity

  1. TanvirTian commented on Oct 16, 2026

    @TanvirTian
    Contributor

    I'd like to take this task. Thanks 🐈

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions