<?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-10-08T21:34:13.083727+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/cve-2026-24056</id>
    <title>CVE-2026-24056 — pnpm has symlink traversal in file:/git dependencies</title>
    <updated>2026-10-08T21:34:13.111262+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> pnpm</p>
<p>pnpm is a package manager. Prior to version 10.28.2, when pnpm installs a `file:` (directory) or `git:` dependency, it follows symlinks and reads their target contents without constraining them to the package root. A malicious package containing a symlink to an absolute path (e.g., `/etc/passwd`, `~/.ssh/id_rsa`) causes pnpm to copy that file's contents into `node_modules`, leaking local data. The vulnerability only affects `file:` and `git:` dependencies. Registry packages (npm) have symlinks stripped during publish and are NOT affected. The issue impacts developers installing local/file dependencies andCI/CD pipelines installing git dependencies. It can lead to credential theft via symlinks to `~/.aws/credentials`, `~/.npmrc`, `~/.ssh/id_rsa`. Version 10.28.2 contains a patch.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-24056"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-m733-5w8f-5ggw</id>
    <title>GHSA-m733-5w8f-5ggw — pnpm has symlink traversal in file:/git dependencies</title>
    <updated>2026-10-08T21:34:13.111387+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> npm: pnpm</p>
<p>### Summary
When pnpm installs a `file:` (directory) or `git:` dependency, it follows symlinks and reads their target contents without constraining them to the package root. A malicious package containing a symlink to an absolute path (e.g., `/etc/passwd`, `~/.ssh/id_rsa`) causes pnpm to copy that file's contents into `node_modules`, leaking local data.</p>
<p>**Preconditions:** Only affects `file:` and `git:` dependencies. Registry packages (npm) have symlinks stripped during publish and are NOT affected.</p>
<p>### Details
The vulnerability exists in `store/cafs/src/addFilesFromDir.ts`. The code uses `fs.statSync()` and `readFileSync()` which follow symlinks by default:</p>
<p>```typescript
const absolutePath = path.join(dirname, relativePath)
const stat = fs.statSync(absolutePath)  // Follows symlinks!
const buffer = fs.readFileSync(absolutePath)  // Reads symlink TARGET
```</p>
<p>There is no check that `absolutePath` resolves to a location inside the package directory.</p>
<p>### PoC
```bash
# Create malicious package
mkdir -p /tmp/evil &amp;&amp; cd /tmp/evil
ln -s /etc/passwd leaked-passwd.txt
echo '{"name":"evil","version":"1.0.0","files":["*.txt"]}' &gt; package.json</p>
<p># Victim installs
mkdir /tmp/victim &amp;&amp; cd /tmp/victim
pnpm init &amp;&amp; pnpm add file:../evil</p>
<p># Leaked!
cat node_modules/evil/leaked-passwd.txt
```</p>
<p>### Impact
- Developers installing local/file dependencies
- CI/CD pipelines installing git dependencies
- Credential theft via symlinks to `~/.aws/credentials`, `~/.npmrc`, `~/.ssh/id_rsa`</p>
<p>### Sugg…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-m733-5w8f-5ggw"/>
  </entry>
</feed>
