<?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>Thu, 08 Oct 2026 20:49:45 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-24056 — pnpm has symlink traversal in file:/git dependencies</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-24056</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; pnpm&lt;/p&gt;
&lt;p&gt;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&amp;#39;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.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; pnpm&lt;/p&gt;
&lt;p&gt;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&amp;#39;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.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-24056</guid>
    </item>
    <item>
      <title>GHSA-m733-5w8f-5ggw — pnpm has symlink traversal in file:/git dependencies</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-m733-5w8f-5ggw</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: pnpm&lt;/p&gt;
&lt;p&gt;### 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&amp;#39;s contents into `node_modules`, leaking local data.&lt;/p&gt;
&lt;p&gt;**Preconditions:** Only affects `file:` and `git:` dependencies. Registry packages (npm) have symlinks stripped during publish and are NOT affected.&lt;/p&gt;
&lt;p&gt;### Details
The vulnerability exists in `store/cafs/src/addFilesFromDir.ts`. The code uses `fs.statSync()` and `readFileSync()` which follow symlinks by default:&lt;/p&gt;
&lt;p&gt;```typescript
const absolutePath = path.join(dirname, relativePath)
const stat = fs.statSync(absolutePath)  // Follows symlinks!
const buffer = fs.readFileSync(absolutePath)  // Reads symlink TARGET
```&lt;/p&gt;
&lt;p&gt;There is no check that `absolutePath` resolves to a location inside the package directory.&lt;/p&gt;
&lt;p&gt;### PoC
```bash
# Create malicious package
mkdir -p /tmp/evil &amp;amp;&amp;amp; cd /tmp/evil
ln -s /etc/passwd leaked-passwd.txt
echo &amp;#39;{&amp;#34;name&amp;#34;:&amp;#34;evil&amp;#34;,&amp;#34;version&amp;#34;:&amp;#34;1.0.0&amp;#34;,&amp;#34;files&amp;#34;:[&amp;#34;*.txt&amp;#34;]}&amp;#39; &amp;gt; package.json&lt;/p&gt;
&lt;p&gt;# Victim installs
mkdir /tmp/victim &amp;amp;&amp;amp; cd /tmp/victim
pnpm init &amp;amp;&amp;amp; pnpm add file:../evil&lt;/p&gt;
&lt;p&gt;# Leaked!
cat node_modules/evil/leaked-passwd.txt
```&lt;/p&gt;
&lt;p&gt;### Impact
- Developers installing local/file dependencies
- CI/CD pipelines installing git dependencies
- Credential theft via symlinks to `~/.aws/credentials`, `~/.npmrc`, `~/.ssh/id_rsa`&lt;/p&gt;
&lt;p&gt;### Sugg…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: pnpm&lt;/p&gt;
&lt;p&gt;### 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&amp;#39;s contents into `node_modules`, leaking local data.&lt;/p&gt;
&lt;p&gt;**Preconditions:** Only affects `file:` and `git:` dependencies. Registry packages (npm) have symlinks stripped during publish and are NOT affected.&lt;/p&gt;
&lt;p&gt;### Details
The vulnerability exists in `store/cafs/src/addFilesFromDir.ts`. The code uses `fs.statSync()` and `readFileSync()` which follow symlinks by default:&lt;/p&gt;
&lt;p&gt;```typescript
const absolutePath = path.join(dirname, relativePath)
const stat = fs.statSync(absolutePath)  // Follows symlinks!
const buffer = fs.readFileSync(absolutePath)  // Reads symlink TARGET
```&lt;/p&gt;
&lt;p&gt;There is no check that `absolutePath` resolves to a location inside the package directory.&lt;/p&gt;
&lt;p&gt;### PoC
```bash
# Create malicious package
mkdir -p /tmp/evil &amp;amp;&amp;amp; cd /tmp/evil
ln -s /etc/passwd leaked-passwd.txt
echo &amp;#39;{&amp;#34;name&amp;#34;:&amp;#34;evil&amp;#34;,&amp;#34;version&amp;#34;:&amp;#34;1.0.0&amp;#34;,&amp;#34;files&amp;#34;:[&amp;#34;*.txt&amp;#34;]}&amp;#39; &amp;gt; package.json&lt;/p&gt;
&lt;p&gt;# Victim installs
mkdir /tmp/victim &amp;amp;&amp;amp; cd /tmp/victim
pnpm init &amp;amp;&amp;amp; pnpm add file:../evil&lt;/p&gt;
&lt;p&gt;# Leaked!
cat node_modules/evil/leaked-passwd.txt
```&lt;/p&gt;
&lt;p&gt;### Impact
- Developers installing local/file dependencies
- CI/CD pipelines installing git dependencies
- Credential theft via symlinks to `~/.aws/credentials`, `~/.npmrc`, `~/.ssh/id_rsa`&lt;/p&gt;
&lt;p&gt;### Sugg…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-m733-5w8f-5ggw</guid>
    </item>
  </channel>
</rss>
