GO-2026-5885

Source
https://pkg.go.dev/vuln/GO-2026-5885
Import Source
https://vuln.go.dev/ID/GO-2026-5885.json
JSON Data
https://api.test.osv.dev/v1/vulns/GO-2026-5885
Aliases
Published
2026-07-24T18:35:55Z
Modified
2026-07-24T19:00:28.614605009Z
Summary
Oras-go: Malicious registry can hijack Bearer token realm to exfiltrate credentials and refresh tokens in oras.land/oras-go
Details

Oras-go: Malicious registry can hijack Bearer token realm to exfiltrate credentials and refresh tokens in oras.land/oras-go

Database specific
{
    "url": "https://pkg.go.dev/vuln/GO-2026-5885",
    "review_status": "REVIEWED"
}
References

Affected packages

Go / oras.land/oras-go/v2

Package

Name
oras.land/oras-go/v2
View open source insights on deps.dev
Purl
pkg:golang/oras.land/oras-go/v2

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.6.1

Ecosystem specific

{
    "imports": [
        {
            "path": "oras.land/oras-go/v2/registry/remote/auth",
            "symbols": [
                "Client.Do"
            ]
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-5885.json"