Upgrade to the fixed release for your branch: 2.38.2, 2.37.7.Vendor announcement
Upgrade the n8n image or npm package and restart. Workflows store credentials: rotate them if the advisory involves code execution.
Using distro packages? Distros backport fixes under their own version numbers. Check your distro's status for CVE-2026-86073:Debian · Ubuntu · Red Hat · Alpine