<?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-02T09:56:32.511959+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-25475</id>
    <title>CVE-2026-25475 — OpenClaw Vulnerable to Local File Inclusion via MEDIA: Path Extraction</title>
    <updated>2026-10-02T09:56:32.515458+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> openclaw</p>
<p>OpenClaw is a personal AI assistant. Prior to version 2026.1.30, the isValidMedia() function in src/media/parse.ts allows arbitrary file paths including absolute paths, home directory paths, and directory traversal sequences. An agent can read any file on the system by outputting MEDIA:/path/to/file, exfiltrating sensitive data to the user/channel. This issue has been patched in version 2026.1.30.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-25475"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-r8g4-86fx-92mq</id>
    <title>GHSA-r8g4-86fx-92mq — OpenClaw Vulnerable to Local File Inclusion via MEDIA: Path Extraction</title>
    <updated>2026-10-02T09:56:32.515983+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> npm: openclaw</p>
<p>### Summary
The `isValidMedia()` function in `src/media/parse.ts` allows arbitrary file paths including absolute paths, home directory paths, and directory traversal sequences. An agent can read any file on the system by outputting `MEDIA:/path/to/file`, exfiltrating sensitive data to the user/channel.</p>
<p>### Details
**Location:** `src/media/parse.ts:17-27`</p>
<p>The path validation accepts dangerous patterns:</p>
<p>```typescript
function isValidMedia(candidate: string, opts?: { allowSpaces?: boolean }) {
  if (candidate.startsWith("/")) return true;      // ALLOWS /etc/passwd
  if (candidate.startsWith("./")) return true;
  if (candidate.startsWith("../")) return true;    // ALLOWS ../../etc/passwd
  if (candidate.startsWith("~")) return true;      // ALLOWS ~/secrets
  return false;
}
```</p>
<p>No validation ensures the path is within a safe directory or is actually a media file.</p>
<p>### PoC</p>
<p>Agent outputs any of:
```
MEDIA:/etc/passwd
MEDIA:~/.ssh/id_rsa
MEDIA:~/.aws/credentials
MEDIA:../../../etc/passwd
```</p>
<p>The file contents are rendered/sent to the requesting user or channel.</p>
<p>### Impact
- Read ANY file accessible to the agent user
- Exfiltrate SSH keys (`~/.ssh/id_rsa`)
- Steal cloud credentials (`~/.aws/credentials`)
- Access API keys (`.env`, `config.json`)
- Read system files (`/etc/passwd`, `/etc/shadow`)</p>
<p>**Note:** PR #4930 contains a fix but is NOT MERGED - production is vulnerable.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-r8g4-86fx-92mq"/>
  </entry>
</feed>
