CVE-2026-48978 oras-go: Malicious registry can hijack Bearer token realm to exfiltrate credentials and refresh tokens
LowCVSS 2.1
EPSS 0.21%
- Published
- Updated
- Exploit status
- No public exploit known
Description
oras-go is a Go library for managing OCI artifacts. Prior to 2.6.1, auth.Client follows the realm URL from a registry's WWW-Authenticate: Bearer challenge without validating the scheme or host, allowing a malicious or compromised registry to cause SSRF to internal networks such as http://169.254.169.254/, http://10.0.0.x/, and http://127.0.0.1/, or to downgrade a registry contacted over https:// to an http:// token endpoint in registry/remote/auth/client.go through Client.Do(), Client.fetchBearerToken(), fetchDistributionToken, and fetchOAuth2Token. This issue is fixed in version 2.6.1.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| oras-project oras-go | = < 2.6.1 | No fix listed |
| debian/golang-oras-oras-go(Debian:12) | All versions | No fix listed |
| debian/golang-oras-oras-go(Debian:14) | < 2.6.2-1 | 2.6.2-1 |
| debian/golang-oras-oras-go(Debian:13) | All versions | No fix listed |
| oras.land/oras-go/v2(Go) | < 2.6.1 | 2.6.1 |
| oras.land/oras-go/v2(Go) | <= 1.2.7 | No fix listed |
| redhat/gatekeeper/gatekeeper-rhel9(Red Hat:gatekeeper:3) | All versions | No fix listed |
| redhat/multicluster-globalhub/multicluster-globalhub-grafana-rhel9(Red Hat:multicluster_globalhub) | All versions | No fix listed |
| redhat/openshift-service-mesh/istio-rhel9-operator(Red Hat:service_mesh:3) | All versions | No fix listed |
| redhat/rhoai/odh-ai-gateway-operator-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-kserve-module-operator-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-ogx-module-operator-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/openshift4/cnf-tests-rhel8(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift4/metallb-rhel8-operator(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift4/metallb-rhel9-operator(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift4/oc-mirror-plugin-rhel8(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift4/oc-mirror-plugin-rhel9(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift4/ose-ansible-operator(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift4/ose-azure-cluster-api-controllers-rhel8(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift4/ose-console(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift4/ose-console-rhel9(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift4/ose-helm-operator(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift4/ose-helm-rhel9-operator(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift4/ose-olm-catalogd-rhel9(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift4/ose-olm-operator-controller-rhel9(Red Hat:openshift:4) | All versions | No fix listed |
Show 30 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/openshift4/ose-olm-rukpak-rhel8(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift4/ose-olm-rukpak-rhel9(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift4/ose-operator-framework-tools-rhel9(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift4/ose-operator-lifecycle-manager(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift4/ose-operator-lifecycle-manager-rhel9(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift4/ose-operator-registry(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift4/ose-operator-registry-rhel9(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift4/ose-operator-sdk-rhel8(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift4/ose-operator-sdk-rhel9(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift4/ztp-site-generate-rhel8(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift5/metallb-rhel9-operator(Red Hat:openshift:5) | All versions | No fix listed |
| redhat/openshift5/ose-console-rhel9(Red Hat:openshift:5) | All versions | No fix listed |
| redhat/rhosp-rhel8/osp-director-operator-bundle(Red Hat:openstack:16.2) | All versions | No fix listed |
| redhat/rhosp-rhel9/osp-director-operator-bundle(Red Hat:openstack:17.1) | All versions | No fix listed |
| redhat/rhoso-operators/openstack-operator-bundle(Red Hat:openstack:18.0) | All versions | No fix listed |
| redhat/rhoso-operators/rabbitmq-cluster-rhel9-operator(Red Hat:openstack:18.0) | All versions | No fix listed |
| debian/golang-oras-oras-go(Debian:12) | = 1.1.1-1 | No fix listed |
| debian/golang-oras-oras-go(Debian:12) | = 2.5.0-1 | No fix listed |
| debian/golang-oras-oras-go(Debian:12) | = 2.6.0-1 | No fix listed |
| debian/golang-oras-oras-go(Debian:12) | = 2.6.2-1 | No fix listed |
| debian/golang-oras-oras-go(Debian:12) | = 2.6.2-2 | No fix listed |
| debian/golang-oras-oras-go(Debian:13) | = 2.5.0-1 | No fix listed |
| debian/golang-oras-oras-go(Debian:13) | = 2.6.0-1 | No fix listed |
| debian/golang-oras-oras-go(Debian:13) | = 2.6.2-1 | No fix listed |
| debian/golang-oras-oras-go(Debian:13) | = 2.6.2-2 | No fix listed |
| debian/golang-oras-oras-go(Debian:14) | = 2.5.0-1 | No fix listed |
| debian/golang-oras-oras-go(Debian:14) | = 2.6.0-1 | No fix listed |
| ubuntu/golang-oras-oras-go(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/golang-oras-oras-go(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/golang-oras-oras-go(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/oras-project/oras-go/security/advisories/GHSA-xf85-363p-868w vendor-advisory
- https://github.com/oras-project/oras-go/commit/7a9f4b0b9558821b0422152ebe21ae56930fe764 patch
- https://github.com/oras-project/oras-go/releases/tag/v2.6.1
- Debian Security Tracker CVE-2026-48978 vendor-advisory
- bugs.debian.org issue-tracking
- github.com product
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2499689 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com
- Ubuntu CVE tracker vendor-advisory