Skip to main content

Time-of-check Time-of-use (TOCTOU) Race Condition

CVE-2026-71539

Severity High
Score 8.9/10

Summary

n8n is an open source workflow automation platform. Prior to 1.123.64, 2.0.x prior to 2.29.8, and 2.30.0 prior to 2.30.1, the Git node clone operation allows an authenticated workflow user to swap a validated directory for a symlink before cloning, planting a crafted repository in the community node directory that loads as a custom JavaScript node after restart and executes arbitrary code on the server. This issue is fixed in versions 1.123.64, 2.29.8, and 2.30.1.

  • HIGH
  • NETWORK
  • NONE
  • LOW

CWE-367 - Time-of-check Time-of-use (TOCTOU) Race Condition

The software checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check. This can cause the software to perform invalid actions when the resource is in an unexpected state.

References

Advisory Timeline

  • Published