Skip to main content
EPSS 0.9%top 41%

Openclaw cli: OpenClaw Vulnerable to Local File Inclusion via MEDIA: Path Extraction (CVE-2026-25475)

0
Medium
Published: 08/13/2026 (08/13/2026, 17:21:32 UTC)
Source: GCVE Database
Product: openclaw-cli

Description

Openclaw CLI contains a local file inclusion vulnerability in the isValidMedia() function that improperly validates file paths. This allows an agent to read arbitrary files on the system by specifying paths with absolute, home directory, or directory traversal sequences. Sensitive files such as SSH keys, cloud credentials, and system files can be accessed and exfiltrated. A fix exists but is not yet merged, leaving production versions vulnerable.

CVSS v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected software

Homebrewmore threats →ghsa
openclaw-cli
pkg:brew/openclaw-cli
Affected versions
>=2026.1.29 <2026.1.30

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/04/2026, 13:14:32 UTC

Technical Analysis

The isValidMedia() function in src/media/parse.ts of openclaw-cli improperly validates media file paths by allowing absolute paths, home directory paths, and directory traversal sequences without restricting access to safe directories or verifying file types. This enables an agent to read any file accessible to the user running the agent by outputting MEDIA:/path/to/file, including sensitive files like ~/.ssh/id_rsa and /etc/passwd. The vulnerability is tracked as CVE-2026-25475 and affects versions >=2026.1.29 and <2026.1.30. A pull request containing a fix exists but has not been merged, so production deployments remain vulnerable.

Potential Impact

An attacker with agent access can read and exfiltrate any file accessible to the agent user, including critical sensitive files such as SSH private keys, cloud credentials, API keys, and system files. This can lead to credential theft and unauthorized access to other systems or services. The vulnerability does not allow modification or denial of service but poses a significant confidentiality risk.

Mitigation Recommendations

A patch addressing this vulnerability is available in a pull request but has not yet been merged into the main codebase. Until the fix is merged and deployed, systems remain vulnerable. Users should monitor the vendor repository for the official fix and apply it promptly once released. No vendor advisory states that no action is required or that the issue is mitigated, so applying the official fix when available is recommended.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
BREW-openclaw-cli-CVE-2026-25475
Osv Schema Version
1.7.3
Ecosystems
["Homebrew"]
Cvss Version
3.1

Threat ID: 6ac245cf12601ec6a3167ff0

Added to database: 10/04/2026, 12:25:51 UTC

Last enriched: 10/04/2026, 13:14:32 UTC

Last updated: 10/04/2026, 16:08:37 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses