{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-118644",
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "state": "PUBLISHED",
        "assignerShortName": "VulnCheck",
        "dateReserved": "2026-10-28T17:24:54.846Z",
        "datePublished": "2026-10-28T18:59:44.266Z",
        "dateUpdated": "2026-10-28T18:59:44.266Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
                "shortName": "VulnCheck",
                "dateUpdated": "2026-10-28T18:59:44.266Z"
            },
            "datePublic": "2026-10-14T00:00:00.000Z",
            "title": "n8n before 2.41.5 and 2.42.2 Credential Theft via Error-Workflow Context Inheritance",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "n8n before 2.41.5 and 2.42.x before 2.42.2 passes a failed workflow's full execution context, including the identity of the user who started the run, to the configured error workflow. A project editor can set a colleague's workflow settings.errorWorkflow to an error workflow they own, inherit the colleague's identity when that workflow fails, and resolve the colleague's per-user dynamic credential secrets."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "Incorrect Privilege Assignment",
                            "cweId": "CWE-266",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "n8n-io",
                    "product": "n8n",
                    "defaultStatus": "unaffected",
                    "packageURL": "pkg:npm/n8n",
                    "versions": [
                        {
                            "version": "2.42.0",
                            "status": "affected",
                            "versionType": "semver",
                            "lessThan": "2.42.2"
                        },
                        {
                            "version": "2.42.2",
                            "status": "unaffected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "vendor": "n8n-io",
                    "product": "n8n",
                    "defaultStatus": "unaffected",
                    "packageURL": "pkg:npm/n8n",
                    "versions": [
                        {
                            "version": "0",
                            "status": "affected",
                            "versionType": "semver",
                            "lessThan": "2.41.5"
                        },
                        {
                            "version": "2.41.5",
                            "status": "unaffected",
                            "versionType": "semver"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.42.0",
                                    "versionEndExcluding": "2.42.2"
                                }
                            ]
                        }
                    ]
                },
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "2.41.5"
                                }
                            ]
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "cvssV4_0": {
                        "version": "4.0",
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:L/VI:L/VA:N/SC:H/SI:H/SA:N",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "PRESENT",
                        "privilegesRequired": "LOW",
                        "userInteraction": "PASSIVE",
                        "vulnConfidentialityImpact": "LOW",
                        "vulnIntegrityImpact": "LOW",
                        "vulnAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "HIGH",
                        "subIntegrityImpact": "HIGH",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 5.1,
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "format": "CVSS",
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N",
                        "attackVector": "NETWORK",
                        "attackComplexity": "HIGH",
                        "privilegesRequired": "LOW",
                        "userInteraction": "REQUIRED",
                        "scope": "CHANGED",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "availabilityImpact": "NONE",
                        "baseScore": 7.7,
                        "baseSeverity": "HIGH"
                    }
                }
            ],
            "references": [
                {
                    "url": "https://github.com/n8n-io/n8n/security/advisories/GHSA-pcr3-v5vr-qppf",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "name": "GitHub Security Advisory (GHSA-pcr3-v5vr-qppf)"
                },
                {
                    "name": "VulnCheck Advisory: n8n before 2.41.5 and 2.42.2 Credential Theft via Error-Workflow Context Inheritance",
                    "tags": [
                        "third-party-advisory"
                    ],
                    "url": "https://www.vulncheck.com/advisories/n8n-before-2.41.5-and-2.42.2-credential-theft-via-error-workflow-context-inheritance"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "sm1ee",
                    "type": "reporter"
                }
            ],
            "x_generator": {
                "engine": "vulncheck-endgame"
            }
        }
    }
}