Skip to main content

CVE-2026-54520: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in vmDeshpande ai-agent-automation

0
High
VulnerabilityCVE-2026-54520cvecve-2026-54520cwe-22
Published: 09/17/2026 (09/17/2026, 21:57:39 UTC)
Source: CVE Database V5
Vendor/Project: vmDeshpande
Product: ai-agent-automation

Description

AI Agent Automation is a modular AI agent workflow automation platform with schedulers, tools, and observability. Prior to 0.9.1, the executeStep file-step implementation in backend/src/agents/executor.js passes the user-controlled step.path value through path.resolve with process.cwd() and then uses the resulting path for read or write operations without checking that it remains in an approved workflow directory. An authenticated user who can create or modify workflow file steps can supply traversal segments to escape the intended workspace and read sensitive files or write and overwrite files accessible to the backend process, including application-adjacent files when process permissions allow. This issue is fixed in version 0.9.1.

CVSS v3.1

Score 8.1high

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

Affected software

vmDeshpande

ai-agent-automation

Affected versions
<0.9.1
GitHub Actionsmore threats →ai
vmdeshpande/ai-agent-automation
pkg:github/vmdeshpande/ai-agent-automation
Affected versions
<0.9.1

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: 09/17/2026, 22:31:41 UTC

Technical Analysis

The vulnerability in vmDeshpande ai-agent-automation (before 0.9.1) arises from improper limitation of a pathname to a restricted directory (CWE-22). The executeStep file-step implementation in backend/src/agents/executor.js uses path.resolve with process.cwd() on a user-controlled step.path value but does not verify that the resolved path remains within an approved workflow directory. This allows an authenticated user who can create or modify workflow file steps to supply path traversal segments to escape the intended workspace directory. Consequently, the user can read sensitive files or write and overwrite files accessible to the backend process, including files adjacent to the application, depending on process permissions. The issue is addressed in version 0.9.1.

Potential Impact

An authenticated user with the ability to create or modify workflow file steps can exploit this vulnerability to read sensitive files or write/overwrite files outside the intended workspace directory. This can lead to disclosure of sensitive information and unauthorized modification of files accessible to the backend process. The CVSS 3.1 score is 8.1 (High), reflecting network attack vector, low attack complexity, required privileges, no user interaction, and high confidentiality and integrity impact with no availability impact.

Mitigation Recommendations

This vulnerability is fixed in vmDeshpande ai-agent-automation version 0.9.1. Users should upgrade to version 0.9.1 or later to remediate this issue. No other mitigation or temporary workaround is indicated.

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

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-15T18:40:01.651Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6aac671555bf5e2cf5ffd689

Added to database: 09/17/2026, 22:17:57 UTC

Last enriched: 09/17/2026, 22:31:41 UTC

Last updated: 09/18/2026, 02:12:50 UTC

Views: 6

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