{"data":{"id":"9aeac69d-e085-43c2-992e-275590be6832","title":"GHSA-xmc9-4f2h-jf9c: n8n: Edit Image Node Format Injection Allows Arbitrary File Write","summary":"GHSA-xmc9-4f2h-jf9c affects the Edit Image node in n8n. The node passed its output format to the underlying image library without validation, so a crafted value could write bytes outside the node's working directory. An authenticated user able to run workflows could write arbitrary files on the n8n instance.","solution":"Fixed in n8n versions 1.123.67, 2.31.5, and 2.32.1; upgrade to one of these or later. If upgrading is not immediately possible, restrict instance access to fully trusted users only and disable the Edit Image node by adding `n8n-nodes-base.editImage` to the `NODES_EXCLUDE` environment variable. These workarounds do not fully remediate the risk and are short-term measures only.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-xmc9-4f2h-jf9c","publishedAt":"2026-07-22T22:11:49.000Z","cveId":null,"cweIds":null,"cvssScore":null,"cvssSeverity":"high","severity":"high","attackType":["other"],"issueType":"vulnerability","affectedPackages":["n8n@>= 2.0.0-rc.0, < 2.31.5 (fixed: 2.31.5)","n8n@>= 2.32.0, < 2.32.1 (fixed: 2.32.1)","n8n@< 1.123.67 (fixed: 1.123.67)"],"affectedPackageNames":["n8n"],"affectedPackageRefs":["npm:n8n"],"affectedVendors":[],"affectedVendorsRaw":["n8n"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":null,"epssScore":null,"epssCheckedAt":null,"kevDateAdded":null,"advisoryAliases":["GHSA-xmc9-4f2h-jf9c"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-07-22T22:11:49.000Z","fixReleasedAt":"2026-07-22T10:18:23.590Z","daysToFix":0,"fixCheckedAt":"2026-10-29T21:32:50.315Z","capecIds":null,"crossRefCount":0,"attackSophistication":"moderate","impactType":["integrity","availability"],"aiComponentTargeted":"plugin","llmSpecific":false,"classifierConfidence":0.6,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"npm","name":"n8n","fixedVersion":"2.32.1","matchedVersion":"2.32.1","fixReleasedAt":"2026-07-22T10:18:23.590Z","daysToFix":0,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:32:50.167Z"},{"ecosystem":"npm","name":"n8n","fixedVersion":"2.31.5","matchedVersion":"2.31.5","fixReleasedAt":"2026-07-22T10:24:16.316Z","daysToFix":0,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:32:50.167Z"},{"ecosystem":"npm","name":"n8n","fixedVersion":"1.123.67","matchedVersion":"1.123.67","fixReleasedAt":"2026-07-22T10:19:44.229Z","daysToFix":0,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:32:50.167Z"}]}}