PT-2026-55220 · Oras-Go · Oras-Go
CVE-2026-50162
·
Published
2026-07-01
·
Updated
2026-08-10
CVSS v4.0
6.9
Medium
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
oras-go versions prior to 2.6.1
Description
When
AllowPathTraversalOnWrite is set to false, the file content store fails to properly confine writes to the workingDir because the boundary check is purely lexical and does not account for symlink traversal. An attacker can provide a malicious blob title via ocispec.AnnotationTitle that targets a path under a symlink within the workingDir. This allows the resolveWritePath() function (used by pushFile()) to bypass the intended restriction and create files outside the designated directory.Recommendations
Update to version 2.6.1.
As a temporary mitigation, ensure that the
workingDir does not contain any symlinks that point to locations outside the intended directory.Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Oras-Go