CVE-2026-48978

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.
CVSS

No CVSS.

Configurations

No configuration.

History

24 Oct 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) oras-go es una biblioteca Go para gestionar artefactos OCI. Antes de la versión 2.6.1, auth.Client sigue la URL del ’realm’ de un desafío WWW-Authenticate: Bearer de un registro sin validar el esquema o el host, permitiendo que un registro malicioso o comprometido cause SSRF a redes internas como http://169.254.169.254/, http://10.0.0.x/ y http://127.0.0.1/, o degradar un registro contactado a través de HTTPS a un endpoint de token HTTP en registry/remote/auth/client.go a través de Client.Do(), Client.fetchBearerToken(), fetchDistributionToken y fetchOAuth2Token. Este problema está solucionado en la versión 2.6.1.

Information

Published : 2026-07-17 20:17

Updated : 2026-10-24 20:10


NVD link : CVE-2026-48978

Mitre link : CVE-2026-48978

CVE.ORG link : CVE-2026-48978


JSON object : View

Products Affected

No product.

CWE
CWE-319

Cleartext Transmission of Sensitive Information

CWE-918

Server-Side Request Forgery (SSRF)