Bug 2499694 (CVE-2026-50162) - CVE-2026-50162 oras-go: oras-go: File store write outside working directory via symlink traversal
Summary: CVE-2026-50162 oras-go: oras-go: File store write outside working directory v...
Keywords:
Status: NEW
Alias: CVE-2026-50162
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-13 14:40 UTC by OSIDB Bzimport
Modified: 2026-08-31 10:56 UTC (History)
83 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-13 14:40:59 UTC
The file content store in oras-go attempts to confine writes to workingDir when AllowPathTraversalOnWrite=false, but the guard is lexical and does not account for symlink traversal. If workingDir contains a symlink path component and an attacker-controlled blob title targets a path under that symlink, pushFile() can create a file outside workingDir, violating the intended confinement guarantee. Fixed in oras-go v2.6.1.


Note You need to log in before you can comment on or make changes to this bug.