{
  "id": "CVE-2026-50151",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-50151",
  "published_at": "2026-07-17T19:41:11.648Z",
  "title": "oras-go: credential forwarding via unvalidated Location header in blob upload",
  "vendor": "oras-project",
  "product": "oras-go",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "oras-go is a Go library for managing OCI artifacts. Prior to 2.6.1, registry/remote/repository.go in blobStore.completePushAfterInitialPost follows a registry-controlled Location header during monolithic blob upload and reuses the Authorization header from the initial POST request for the subsequent PUT request, allowing a malicious registry to return a cross-host Location and receive the caller's credentials at an attacker-controlled endpoint. This issue is fixed in version 2.6.1.",
  "cwe": "CWE-918",
  "cpes": [
    "cpe:2.3:a:linuxfoundation:oras:*:*:*:*:*:go:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "oras-project",
        "product": "oras-go",
        "ranges": [
          "\u003c 2.6.1"
        ],
        "fixed_in": [
          "2.6.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade oras-go to 2.6.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/oras-project/oras-go/security/advisories/GHSA-jxpm-75mh-9fp7"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/oras-project/oras-go/pull/1152"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/oras-project/oras-go/commit/4683c46ef078091544f5f55fd25102f002806991"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/oras-project/oras-go/releases/tag/v2.6.1"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
