Skip to content
Heist/ feed
Back to feed
Low

golang-oras-oras-go — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-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.

Products
golang-oras-oras-go
Affected versions
1.1.1-1ubuntu1, 2.5.0-1, 2.6.0-1, 2.6.2-1
Fixed versions
Not specified
CVEs
CVE-2026-48978
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:50 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-48978

core-osv · Original source

Published 17 Jul 2026, 20:17 UTC

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.

osv:UBUNTU-CVE-2026-48978

golang-oras-oras-go

Fixed versions: Not specified

golang-oras-oras-go

Fixed versions: Not specified

golang-oras-oras-go

Fixed versions: Not specified

Complete source record
{
  "id": "ffe0ce9b400f85660473d5aab14cd42217733908ca9d9c6a6ef5220e086c11aa",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-48978",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-48978",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2026-48978",
    "products": [
      {
        "name": {
          "value": "golang-oras-oras-go",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.1.1-1ubuntu1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-oras-oras-go",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.6.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.6.2-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-oras-oras-go",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.5.0-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.6.0-1",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "low",
    "structured": {
      "id": "UBUNTU-CVE-2026-48978",
      "aliases": [
        "UBUNTU-CVE-2026-48978"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-oras-oras-go",
            "purl": "pkg:deb/ubuntu/golang-oras-oras-go?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.1.1-1ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48978.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-oras-oras-go-dev",
                "binary_version": "1.1.1-1ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-oras-oras-go",
            "purl": "pkg:deb/ubuntu/golang-oras-oras-go?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "2.6.0-1",
            "2.6.2-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48978.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-oras-oras-go-dev",
                "binary_version": "2.6.2-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-oras-oras-go",
            "purl": "pkg:deb/ubuntu/golang-oras-oras-go?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "2.5.0-1",
            "2.6.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48978.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-oras-oras-go-dev",
                "binary_version": "2.6.0-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:06.933209365Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-48978"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-48978",
        "https://www.cve.org/CVERecord?id=CVE-2026-48978",
        "https://github.com/oras-project/oras-go/security/advisories/GHSA-xf85-363p-868w"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-48978",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 354839,
  "published_at": "2026-07-17T20:17:00+00:00"
}