@n8n/workflow-sdk@0.7.1

TypeScript SDK for programmatically creating n8n workflows

  • latest version

    0.35.4

  • latest non vulnerable version

  • first published

    7 months ago

  • latest version published

    5 hours ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @n8n/workflow-sdk package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Directory Traversal

    @n8n/workflow-sdk is a TypeScript SDK for programmatically creating n8n workflows

    Affected versions of this package are vulnerable to Directory Traversal in the node-schema loader of @n8n/workflow-sdk, which builds the path to a node's schema module directly from the caller supplied node type string without rejecting traversal sequences. A user with global:member privileges can execute code in the n8n main process by specifying a node type whose value resolves outside the schema directory to a file of their choosing, which the loader then imports. This requires an authenticated account at member level or above on an instance with MCP functionality in use, and the code runs with the privileges of the account the main process runs under.

    How to fix Directory Traversal?

    Upgrade @n8n/workflow-sdk to version 0.26.1 or higher.

    <0.26.1