<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Wed, 30 Sep 2026 17:45:55 +0000</lastBuildDate>
    <item>
      <title>GHSA-8xwf-rjm4-xvhv — oras-go has file store write outside workingDir via symlink traversal</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-8xwf-rjm4-xvhv</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Go: oras.land/oras-go/v2&lt;/p&gt;
&lt;p&gt;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 (via `ocispec.AnnotationTitle`) targets a path under that symlink, `pushFile()` can create a file outside `workingDir`.&lt;/p&gt;
&lt;p&gt;## relevant links&lt;/p&gt;
&lt;p&gt;- repository: https://github.com/oras-project/oras-go
- commit: 03243809936cce826494b5506f724c6dc11115b1
- callsite: content/file/file.go:609 `resolveWritePath()` (used by `pushFile()`)&lt;/p&gt;
&lt;p&gt;## vulnerability details&lt;/p&gt;
&lt;p&gt;**pins:** oras-project/oras-go@03243809936cce826494b5506f724c6dc11115b1&lt;/p&gt;
&lt;p&gt;**as-of:** 2026-02-17&lt;/p&gt;
&lt;p&gt;**policy:** GitHub Security Advisory (oras-project/oras-go)&lt;/p&gt;
&lt;p&gt;**callsite:** content/file/file.go:609 `resolveWritePath()` → `pushFile()`&lt;/p&gt;
&lt;p&gt;**attacker control:** Attacker controls the pushed name (`ocispec.AnnotationTitle`) and can select a path with a symlink path component under `workingDir` → `resolveWritePath()` blocks `..` via `filepath.Rel` but does not prevent symlink traversal → `pushFile()` opens/creates the final path and follows the symlink → a file is created outside `workingDir`&lt;/p&gt;
&lt;p&gt;### root cause&lt;/p&gt;
&lt;p&gt;`resolveWritePath()` enforces the write boundary using a `filepath.Rel`-style check against `workingDir`. This prevents `../` escapes but is purely lexical and does not resolve symlinks. If a path component under `workingDir` is a symlink to an external location,…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Go: oras.land/oras-go/v2&lt;/p&gt;
&lt;p&gt;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 (via `ocispec.AnnotationTitle`) targets a path under that symlink, `pushFile()` can create a file outside `workingDir`.&lt;/p&gt;
&lt;p&gt;## relevant links&lt;/p&gt;
&lt;p&gt;- repository: https://github.com/oras-project/oras-go
- commit: 03243809936cce826494b5506f724c6dc11115b1
- callsite: content/file/file.go:609 `resolveWritePath()` (used by `pushFile()`)&lt;/p&gt;
&lt;p&gt;## vulnerability details&lt;/p&gt;
&lt;p&gt;**pins:** oras-project/oras-go@03243809936cce826494b5506f724c6dc11115b1&lt;/p&gt;
&lt;p&gt;**as-of:** 2026-02-17&lt;/p&gt;
&lt;p&gt;**policy:** GitHub Security Advisory (oras-project/oras-go)&lt;/p&gt;
&lt;p&gt;**callsite:** content/file/file.go:609 `resolveWritePath()` → `pushFile()`&lt;/p&gt;
&lt;p&gt;**attacker control:** Attacker controls the pushed name (`ocispec.AnnotationTitle`) and can select a path with a symlink path component under `workingDir` → `resolveWritePath()` blocks `..` via `filepath.Rel` but does not prevent symlink traversal → `pushFile()` opens/creates the final path and follows the symlink → a file is created outside `workingDir`&lt;/p&gt;
&lt;p&gt;### root cause&lt;/p&gt;
&lt;p&gt;`resolveWritePath()` enforces the write boundary using a `filepath.Rel`-style check against `workingDir`. This prevents `../` escapes but is purely lexical and does not resolve symlinks. If a path component under `workingDir` is a symlink to an external location,…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-8xwf-rjm4-xvhv</guid>
    </item>
  </channel>
</rss>
