CVE-2026-50151
CVE-2026-50151 · oras-go: credential forwarding via unvalidated Location header in blob upload
CVSS 7.5 · High · EPSS 0.4% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- oras-goNo fix published
- golang-oras-oras-go Debian 13No fix published
- golang-oras-oras-go Debian 14Update to 2.6.2-1
- golang-oras-oras-go Ubuntu 24.04 LTSNo fix published
- and 2 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="golang-oras-oras-go"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- SUSE-SU-2026:24282-1 · SUSE Linux Micro 6.1 ·
- openSUSE-SU-2026:21983-1 · openSUSE Leap 16.0 ·
- SUSE-SU-2026:23973-1 · SUSE Linux Micro 6.2 ·
- SUSE-SU-2026:23984-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
- SUSE-SU-2026:23506-1 · SUSE Linux Micro 6.2 ·
- SUSE-SU-2026:23688-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
- openSUSE-SU-2026:21809-1 · openSUSE Leap 16.0 ·
- SUSE-SU-2026:23522-1 · SUSE Linux Micro 6.1 ·
- SUSE-SU-2026:23456-1 · SUSE Linux Micro 6.0, SUSE Linux Micro 6.2 ·
- SUSE-SU-2026:3882-1 · SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS, SUSE Linux Enterprise Micro 5.5, SUSE Linux Enterprise Module for Containers 15 SP7, SUSE Linux Enterprise Module for Package Hub 15 SP7, SUSE Linux Enterprise Server 15 SP4-LTSS, SUSE Linux Enterprise Server 15 SP5-LTSS, SUSE Linux Enterprise Server 15 SP6-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP4, SUSE Linux Enterprise Server for SAP Applications 15 SP5, SUSE Linux Enterprise Server for SAP Applications 15 SP6 ·
- openSUSE-SU-2026:21551-1 · openSUSE Leap 16.0 ·
- SUSE-SU-2026:23216-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
- SUSE-SU-2026:23227-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
- openSUSE-SU-2026:21395-1 · openSUSE Leap 16.0 ·
- openSUSE-SU-2026:11291-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2026:11292-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2026:11302-1 · openSUSE Tumbleweed ·
Stack: system
Affected products and versions
oras-go
- Versions
- < 2.6.1: Affected
No fix published
golang-oras-oras-go Debian 13
- Versions
- 2.5.0-1
- 2.6.0-1
- 2.6.2-1
- 2.6.2-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-oras-oras-go Debian 14
- Versions
- 2.5.0-1
- 2.6.0-1
- Affected ranges
- ECOSYSTEM: < 2.6.2-1
Update to 2.6.2-1
golang-oras-oras-go Ubuntu 24.04 LTS
- Versions
- 1.1.1-1ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-oras-oras-go Ubuntu 26.10
- Versions
- 2.6.0-1
- 2.6.2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-oras-oras-go Ubuntu 26.04 LTS
- Versions
- 2.5.0-1
- 2.6.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://github.com/oras-project/oras-go/security/advisories/GHSA-jxpm-75mh-9fp7
- https://github.com/oras-project/oras-go/pull/1152
- https://github.com/oras-project/oras-go/commit/4683c46ef078091544f5f55fd25102f002806991
- https://github.com/oras-project/oras-go/releases/tag/v2.6.1
- https://nvd.nist.gov/vuln/detail/CVE-2026-50151