<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-30T17:45:55.485259+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-8xwf-rjm4-xvhv</id>
    <title>GHSA-8xwf-rjm4-xvhv — oras-go has file store write outside workingDir via symlink traversal</title>
    <updated>2026-09-30T17:45:55.486563+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Go: oras.land/oras-go/v2</p>
<p>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`.</p>
<p>## relevant links</p>
<p>- repository: https://github.com/oras-project/oras-go
- commit: 03243809936cce826494b5506f724c6dc11115b1
- callsite: content/file/file.go:609 `resolveWritePath()` (used by `pushFile()`)</p>
<p>## vulnerability details</p>
<p>**pins:** oras-project/oras-go@03243809936cce826494b5506f724c6dc11115b1</p>
<p>**as-of:** 2026-02-17</p>
<p>**policy:** GitHub Security Advisory (oras-project/oras-go)</p>
<p>**callsite:** content/file/file.go:609 `resolveWritePath()` → `pushFile()`</p>
<p>**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`</p>
<p>### root cause</p>
<p>`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,…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-8xwf-rjm4-xvhv"/>
  </entry>
</feed>
