Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 69%

CVE-2026-50151: CWE-918: Server-Side Request Forgery (SSRF) in oras-project oras-go

0
High
VulnerabilityCVE-2026-50151cvecve-2026-50151cwe-918
Published: 07/17/2026 (07/17/2026, 19:41:11 UTC)
Source: CVE Database V5
Vendor/Project: oras-project
Product: oras-go

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.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected software

github.com/oras-project/oras-go
pkg:golang/github.com/oras-project/oras-go
Affected versions
<2.6.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/25/2026, 22:52:42 UTC

Technical Analysis

The oras-go Go library for managing OCI artifacts contains an SSRF vulnerability (CWE-918) in the blobStore.completePushAfterInitialPost function within registry/remote/repository.go. Before version 2.6.1, the library blindly follows a Location header controlled by the registry during a monolithic blob upload process. It also reuses the Authorization header from the initial POST request when issuing the subsequent PUT request. This combination allows a malicious registry to redirect the PUT request to an attacker-controlled host and receive the caller's credentials. This vulnerability is addressed in oras-go version 2.6.1.

Potential Impact

An attacker controlling a malicious registry can exploit this SSRF vulnerability to redirect requests to arbitrary hosts and capture sensitive Authorization headers, leading to credential disclosure. The vulnerability does not affect integrity or availability but has a high confidentiality impact as it can leak credentials without requiring user interaction or privileges.

Mitigation Recommendations

Upgrade to oras-go version 2.6.1 or later, where this SSRF vulnerability is fixed. Since the vendor advisory does not provide other remediation levels or temporary fixes, applying the official patch version is the recommended action. Patch status is confirmed by the version update information.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-03T20:54:20.431Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a5b5eb02d1edb114c7fb34a

Added to database: 07/18/2026, 11:08:32 UTC

Last enriched: 07/25/2026, 22:52:42 UTC

Last updated: 08/27/2026, 22:52:12 UTC

Views: 76

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses