CVE-2026-50163
Last modified
CVE-2026-50163 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. oras-go is a Go library for managing OCI artifacts. Prior to 2.6.2, ensureLinkPath in content/file/utils.go:262-275 validates a hardlink target relative to the extract base but returns the unresolved target, causing os.Link("victim.secret", "<extract_base>/payload.tar.gz/evil_cwd_link") to resolve header.Linkname against the process current working directory for a Typeflag=TypeLink entry such as Name=payload.tar.gz/evil_cwd_link and Linkname="victim.secret" with io.deis.oras.content.unpack: "true", which can expose or tamper with files such as .env, .git/config, .aws/credentials, and ~/.ssh/config. EPSS estimates a 0.43% chance of exploitation in the next 30 days.
Description
oras-go is a Go library for managing OCI artifacts. Prior to 2.6.2, ensureLinkPath in content/file/utils.go:262-275 validates a hardlink target relative to the extract base but returns the unresolved target, causing os.Link("victim.secret", "<extract_base>/payload.tar.gz/evil_cwd_link") to resolve header.Linkname against the process current working directory for a Typeflag=TypeLink entry such as Name=payload.tar.gz/evil_cwd_link and Linkname="victim.secret" with io.deis.oras.content.unpack: "true", which can expose or tamper with files such as .env, .git/config, .aws/credentials, and ~/.ssh/config. This issue is fixed in version 2.6.2.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| oras-project | oras-go | < 2.6.2 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-50163?
How severe is CVE-2026-50163?
How do I fix CVE-2026-50163?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-5015A vulnerability was determined in elecV2 elecV2P up to 3.8.3…4.3
- CVE-2026-50151oras-go is a Go library for managing OCI artifacts. Prior to…7.5
- CVE-2026-50159Mermaid is a JavaScript tool that uses Markdown-inspired tex…5.3
- CVE-2026-5016A vulnerability was identified in elecV2 elecV2P up to 3.8.3…7.3
- CVE-2026-50160Hoppscotch is an API development ecosystem. In self-hosted d…10
- CVE-2026-50162oras-go is a Go library for managing OCI artifacts. Prior to…6.9
- CVE-2026-50168Angular is a development platform for building mobile and de…8.2
- CVE-2026-50169Angular is a development platform for building mobile and de…6.1
- CVE-2026-5017A security flaw has been discovered in code-projects Simple …9.8
- CVE-2026-50170Angular is a development platform for building mobile and de…7.5
- CVE-2026-50171Angular is a development platform for building mobile and de…6.1
- CVE-2026-50176The WebSocket Application Programming Interface lacks restri…8.7
Are you affected by CVE-2026-50163?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
