Skip to content
Heist/ feed
Back to feed
High

AI Agent Automation: Workflow file step path traversal allows read and write outside the expected directory

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-54520
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 16:39 UTC · Revision 1

Source evidence

AI Agent Automation: Workflow file step path traversal allows read and write outside the expected directory

core-osv · Original source

Published 17 Sept 2026, 21:57 UTC

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.

osv:CVE-2026-54520
Complete source record
{
  "id": "0551db0d223e4960b1473fe62506f563abfe6e8d7bd24547fbcdf03b8299b5fe",
  "url": "https://osv.dev/vulnerability/CVE-2026-54520",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "AI Agent Automation: Workflow file step path traversal allows read and write outside the expected directory",
    "summary": "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.",
    "evidence": "osv:CVE-2026-54520",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-54520",
      "aliases": [
        "CVE-2026-54520",
        "GHSA-cm8g-8jfq-887p"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/vmdeshpande/ai-agent-automation",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3f589293b67ab90193406781ec9e7cdc5146a254"
                },
                {
                  "fixed": "f49ec7e85a6896b14c275222362e6ce4d445b783"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.9.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "f49ec7e85a6896b14c275222362e6ce4d445b783"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "3f589293b67ab90193406781ec9e7cdc5146a254"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v0.9.1"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.9.0",
            "v0.8.0",
            "v0.7.0",
            "v0.6.0",
            "v0.5.1",
            "v0.5.0",
            "v0.4.0",
            "v0.3.0",
            "v0.2.0",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54520.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.371402124Z",
      "provider": "osv",
      "references": [
        "https://github.com/vmDeshpande/ai-agent-automation/releases/tag/v0.9.1",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54520.json",
        "https://github.com/vmDeshpande/ai-agent-automation/security/advisories/GHSA-cm8g-8jfq-887p",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-54520",
        "https://github.com/vmDeshpande/ai-agent-automation/commit/f49ec7e85a6896b14c275222362e6ce4d445b783"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-22"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54520.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-54520",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504785,
  "published_at": "2026-09-17T21:57:39.051+00:00"
}