{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-77077",
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "state": "PUBLISHED",
        "assignerShortName": "VulnCheck",
        "dateReserved": "2026-08-20T10:51:39.784Z",
        "datePublished": "2026-08-20T11:21:10.939Z",
        "dateUpdated": "2026-08-20T15:44:34.323Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
                "shortName": "VulnCheck",
                "dateUpdated": "2026-08-20T11:37:13.911Z"
            },
            "datePublic": "2026-08-05T00:00:00.000Z",
            "title": "n8n before 1.123.69 Remote Code Execution via EventEmitter Prototype Pollution",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "n8n versions before 1.123.69, 2.33.4, and 2.34.1 contain a JavaScript task runner VM sandbox escape. The runner's prototype-freezing routine covers globalThis functions but not internal module constructors such as EventEmitter, allowing an authenticated user with Code node access to exploit prototype pollution to execute arbitrary commands within the runner container. Because the polluted prototype is a process-wide object, the corruption persists across other tenants' Code node executions on the same shared runner. On v1.x instances without task runners enabled, Code node JavaScript runs directly in the main n8n process, where the impact could be higher."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "Improper Control of Generation of Code ('Code Injection')",
                            "cweId": "CWE-94",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "n8n-io",
                    "product": "n8n",
                    "defaultStatus": "unaffected",
                    "packageURL": "pkg:npm/n8n",
                    "versions": [
                        {
                            "version": "0",
                            "status": "affected",
                            "versionType": "semver",
                            "lessThan": "1.123.69"
                        },
                        {
                            "version": "1.123.69",
                            "status": "unaffected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "vendor": "n8n-io",
                    "product": "n8n",
                    "defaultStatus": "unaffected",
                    "packageURL": "pkg:npm/n8n",
                    "versions": [
                        {
                            "version": "0",
                            "status": "affected",
                            "versionType": "semver",
                            "lessThan": "2.34.1"
                        },
                        {
                            "version": "2.34.1",
                            "status": "unaffected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "vendor": "n8n-io",
                    "product": "n8n",
                    "defaultStatus": "unaffected",
                    "packageURL": "pkg:npm/n8n",
                    "versions": [
                        {
                            "version": "0",
                            "status": "affected",
                            "versionType": "semver",
                            "lessThan": "2.33.4"
                        },
                        {
                            "version": "2.33.4",
                            "status": "unaffected",
                            "versionType": "semver"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "1.123.69"
                                }
                            ]
                        }
                    ]
                },
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "2.34.1"
                                }
                            ]
                        }
                    ]
                },
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "2.33.4"
                                }
                            ]
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "cvssV4_0": {
                        "version": "4.0",
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "LOW",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "HIGH",
                        "vulnIntegrityImpact": "LOW",
                        "vulnAvailabilityImpact": "LOW",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 7.2,
                        "baseSeverity": "HIGH"
                    }
                }
            ],
            "references": [
                {
                    "url": "https://github.com/n8n-io/n8n/security/advisories/GHSA-m3hg-p5r9-fg9h",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "name": "GitHub Security Advisory (GHSA-m3hg-p5r9-fg9h)"
                },
                {
                    "name": "VulnCheck Advisory: n8n before 1.123.69 Remote Code Execution via EventEmitter Prototype Pollution",
                    "tags": [
                        "third-party-advisory"
                    ],
                    "url": "https://www.vulncheck.com/advisories/n8n-before-remote-code-execution-via-eventemitter-prototype-pollution"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "dorjoos",
                    "type": "reporter"
                }
            ],
            "x_generator": {
                "engine": "vulncheck-endgame"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-08-20T15:44:22.228281Z",
                                "id": "CVE-2026-77077",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-08-20T15:44:34.323Z"
                }
            }
        ]
    }
}