CVE-2026-54520: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in vmDeshpande ai-agent-automation
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.
AI Analysis
Technical Summary
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.
CVE-2026-54520: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in vmDeshpande 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
Affected software
vmDeshpande
ai-agent-automation
pkg:github/vmdeshpande/ai-agent-automationRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.