{
    "document": {
        "category": "csaf_base",
        "csaf_version": "2.0",
        "distribution": {
            "tlp": {
                "label": "WHITE"
            }
        },
        "lang": "en",
        "notes": [
            {
                "category": "legal_disclaimer",
                "text": "The Netherlands Cyber Security Center (henceforth: NCSC-NL) maintains this portal to enhance access to its information and vulnerabilities. The use of this information is subject to the following terms and conditions:\n\nThe vulnerabilities disclosed in this portal are gathered by NCSC-NL from a variety of open sources, which the user can retrieve from other platforms. NCSC-NL makes every reasonable effort to ensure that the content of this portal is kept up to date, and that it is accurate and complete. Nevertheless, NCSC-NL cannot entirely rule out the possibility of errors, and therefore cannot give any warranty in respect of its completeness, accuracy or real-time keeping up-to-date. NCSC-NL does not control nor guarantee the accuracy, relevance, timeliness or completeness of information obtained from these external sources. The vulnerabilities disclosed in this portal are intended solely for the convenience of professional parties to take appropriate measures to manage the risks posed to the cybersecurity. No rights can be derived from the information provided therein.\n\nNCSC-NL and the Kingdom of the Netherlands assume no legal liability or responsibility for any damage resulting from either the use or inability of use of the vulnerabilities disclosed in this portal. This includes damage resulting from the inaccuracy of incompleteness of the information contained in it.\nThe information on this page is subject to Dutch law. All disputes related to or arising from the use of this portal regarding the disclosure of vulnerabilities will be submitted to the competent court in The Hague. This choice of means also applies to the court in summary proceedings."
            }
        ],
        "publisher": {
            "category": "coordinator",
            "contact_details": "cert@ncsc.nl",
            "name": "National Cyber Security Centre",
            "namespace": "https://www.ncsc.nl/"
        },
        "title": "CVE-2026-54311",
        "tracking": {
            "current_release_date": "2026-06-29T08:07:44.707342Z",
            "generator": {
                "date": "2026-02-17T15:00:00Z",
                "engine": {
                    "name": "V.E.L.M.A",
                    "version": "1.7"
                }
            },
            "id": "CVE-2026-54311",
            "initial_release_date": "2026-06-13T15:39:56.735448Z",
            "revision_history": [
                {
                    "date": "2026-06-13T15:39:56.735448Z",
                    "number": "1",
                    "summary": "CVE created.| Source connected.| CVE status created. (valid)| EPSS created."
                },
                {
                    "date": "2026-06-13T15:39:58.599073Z",
                    "number": "2",
                    "summary": "NCSC Score created."
                },
                {
                    "date": "2026-06-16T19:40:04.618538Z",
                    "number": "3",
                    "summary": "Source created.| CVE status created. (valid)| Description created for source.| CVSS created.| References created (2).| CWES updated (1)."
                },
                {
                    "date": "2026-06-16T19:40:09.095784Z",
                    "number": "4",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-06-17T00:21:15.278731Z",
                    "number": "5",
                    "summary": "Source created.| CVE status created. (valid)| Description created for source.| CVSS created.| Products connected (2).| References created (1).| CWES updated (1)."
                },
                {
                    "date": "2026-06-17T00:21:17.236912Z",
                    "number": "6",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-06-17T10:15:01.643712Z",
                    "number": "7",
                    "summary": "Source connected.| CVE status created. (valid)| Products connected (3).| References created (20)."
                },
                {
                    "date": "2026-06-17T10:15:11.104640Z",
                    "number": "8",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-06-23T16:55:19.794087Z",
                    "number": "9",
                    "summary": "Source created.| CVE status created. (valid)| Description created for source.| CVSS created.| Products connected (1).| Products created (1).| References created (1).| CWES updated (1)."
                },
                {
                    "date": "2026-06-23T16:55:22.040063Z",
                    "number": "10",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-06-23T18:31:39.951840Z",
                    "number": "11",
                    "summary": "Source created.| CVE status created. (valid)| Description created for source.| CVSS created.| References created (1).| CWES updated (1)."
                },
                {
                    "date": "2026-06-23T18:31:51.109917Z",
                    "number": "12",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-06-23T18:55:50.296163Z",
                    "number": "13",
                    "summary": "Unknown change."
                },
                {
                    "date": "2026-06-24T15:06:24.403423Z",
                    "number": "14",
                    "summary": "EPSS updated."
                },
                {
                    "date": "2026-06-24T15:06:26.166274Z",
                    "number": "15",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-06-25T19:25:56.375254Z",
                    "number": "16",
                    "summary": "CVSS created.| Products connected (1).| Product Identifiers created (2).| Products created (1)."
                },
                {
                    "date": "2026-06-25T19:26:03.105335Z",
                    "number": "17",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-06-29T08:07:41.905325Z",
                    "number": "18",
                    "summary": "Source connected.| CVE status created. (valid)"
                }
            ],
            "status": "interim",
            "version": "18"
        }
    },
    "product_tree": {
        "branches": [
            {
                "branches": [
                    {
                        "branches": [
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/<1.123.55",
                                "product": {
                                    "name": "vers:unknown/<1.123.55",
                                    "product_id": "CSAFPID-8469688"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/<2.25.7",
                                "product": {
                                    "name": "vers:unknown/<2.25.7",
                                    "product_id": "CSAFPID-8469689",
                                    "product_identification_helper": {
                                        "cpe": "cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*"
                                    }
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/<2.26.2",
                                "product": {
                                    "name": "vers:unknown/<2.26.2",
                                    "product_id": "CSAFPID-8469687"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/>=2.26.0|<2.26.2",
                                "product": {
                                    "name": "vers:unknown/>=2.26.0|<2.26.2",
                                    "product_id": "CSAFPID-8499735",
                                    "product_identification_helper": {
                                        "cpe": "cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*"
                                    }
                                }
                            }
                        ],
                        "category": "product_name",
                        "name": "n8n"
                    }
                ],
                "category": "vendor",
                "name": "n8n"
            },
            {
                "branches": [
                    {
                        "branches": [
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/<2.25.7",
                                "product": {
                                    "name": "vers:unknown/<2.25.7",
                                    "product_id": "CSAFPID-8489594"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/>=0|<2.25.7",
                                "product": {
                                    "name": "vers:unknown/>=0|<2.25.7",
                                    "product_id": "CSAFPID-8467630"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/>=2.26.0|<2.26.2",
                                "product": {
                                    "name": "vers:unknown/>=2.26.0|<2.26.2",
                                    "product_id": "CSAFPID-8467629"
                                }
                            }
                        ],
                        "category": "product_name",
                        "name": "n8n"
                    }
                ],
                "category": "vendor",
                "name": "n8n-io"
            }
        ]
    },
    "vulnerabilities": [
        {
            "cve": "CVE-2026-54311",
            "cwe": {
                "id": "CWE-488",
                "name": "Exposure of Data Element to Wrong Session"
            },
            "notes": [
                {
                    "category": "description",
                    "text": "## Impact\nAn authenticated user with permission to create or modify workflows could pollute the sandbox used by the Merge node's SQL Query mode. Because the sandbox context was cached and reused across all workflow executions on the instance, prototype mutations introduced by one user's workflow persist into subsequent Merge SQL executions belonging to other users or projects. This allowed a low-privileged attacker to intercept workflow data processed by other users on the same instance.\n\nThis issue only affects multi-user n8n instances where more than one user has permission to create and execute workflows containing the Merge node in SQL Query mode.\n\n## Patches\nThe issue has been fixed in n8n versions 2.25.7, and 2.26.2. Users should upgrade to one of these versions or later to remediate the vulnerability.\n\n## Workarounds\nIf upgrading is not immediately possible, administrators should consider the following temporary mitigations:\n- Limit workflow creation and editing permissions to fully trusted users only.\n- Disable the Merge node by adding `n8n-nodes-base.merge` to the `NODES_EXCLUDE` environment variable.\n\nThese workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.",
                    "title": "github - https://api.github.com/advisories/GHSA-9c38-2mcm-q7f7"
                },
                {
                    "category": "description",
                    "text": "## Impact\nAn authenticated user with permission to create or modify workflows could pollute the sandbox used by the Merge node's SQL Query mode. Because the sandbox context was cached and reused across all workflow executions on the instance, prototype mutations introduced by one user's workflow persist into subsequent Merge SQL executions belonging to other users or projects. This allowed a low-privileged attacker to intercept workflow data processed by other users on the same instance.\n\nThis issue only affects multi-user n8n instances where more than one user has permission to create and execute workflows containing the Merge node in SQL Query mode.\n\n## Patches\nThe issue has been fixed in n8n versions 2.25.7, and 2.26.2. Users should upgrade to one of these versions or later to remediate the vulnerability.\n\n## Workarounds\nIf upgrading is not immediately possible, administrators should consider the following temporary mitigations:\n- Limit workflow creation and editing permissions to fully trusted users only.\n- Disable the Merge node by adding `n8n-nodes-base.merge` to the `NODES_EXCLUDE` environment variable.\n\nThese workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.",
                    "title": "osv - https://www.googleapis.com/download/storage/v1/b/osv-vulnerabilities/o/npm%2FGHSA-9c38-2mcm-q7f7.json?alt=media"
                },
                {
                    "category": "description",
                    "text": "n8n is an open source workflow automation platform. Prior to 2.25.7 and 2.26.2, an authenticated user with permission to create or modify workflows could pollute the sandbox used by the Merge node's SQL Query mode. Because the sandbox context was cached and reused across all workflow executions on the instance, prototype mutations introduced by one user's workflow persist into subsequent Merge SQL executions belonging to other users or projects. This allowed a low-privileged attacker to intercept workflow data processed by other users on the same instance. This issue only affects multi-user n8n instances where more than one user has permission to create and execute workflows containing the Merge node in SQL Query mode. This vulnerability is fixed in 2.25.7 and 2.26.2.",
                    "title": "cveprojectv5 - https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/54xxx/CVE-2026-54311.json"
                },
                {
                    "category": "description",
                    "text": "n8n is an open source workflow automation platform. Prior to 2.25.7 and 2.26.2, an authenticated user with permission to create or modify workflows could pollute the sandbox used by the Merge node's SQL Query mode. Because the sandbox context was cached and reused across all workflow executions on the instance, prototype mutations introduced by one user's workflow persist into subsequent Merge SQL executions belonging to other users or projects. This allowed a low-privileged attacker to intercept workflow data processed by other users on the same instance. This issue only affects multi-user n8n instances where more than one user has permission to create and execute workflows containing the Merge node in SQL Query mode. This vulnerability is fixed in 2.25.7 and 2.26.2.",
                    "title": "nvd - https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-54311"
                },
                {
                    "category": "other",
                    "text": "0.00296",
                    "title": "EPSS"
                },
                {
                    "category": "other",
                    "text": "CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N",
                    "title": "CVSSV4"
                },
                {
                    "category": "other",
                    "text": "6.0",
                    "title": "CVSSV4 base score"
                },
                {
                    "category": "other",
                    "text": "5.9",
                    "title": "NCSC Score"
                },
                {
                    "category": "other",
                    "text": "The value of the most recent EPSS score, There is product data available from source Certbundde, There is product data available from source Nvd, The value of the mean historic EPSS score",
                    "title": "NCSC Score top increasing factors"
                },
                {
                    "category": "other",
                    "text": "There is cvss data available from source Github, Is related to (a version of) an uncommon product",
                    "title": "NCSC Score top decreasing factors"
                }
            ],
            "product_status": {
                "known_affected": [
                    "CSAFPID-8467629",
                    "CSAFPID-8467630",
                    "CSAFPID-8469687",
                    "CSAFPID-8469688",
                    "CSAFPID-8469689",
                    "CSAFPID-8489594",
                    "CSAFPID-8499735"
                ]
            },
            "references": [
                {
                    "category": "external",
                    "summary": "Source - first",
                    "url": "https://api.first.org/data/v1/epss?limit=10000&offset=0"
                },
                {
                    "category": "external",
                    "summary": "Source - github",
                    "url": "https://api.github.com/advisories/GHSA-9c38-2mcm-q7f7"
                },
                {
                    "category": "external",
                    "summary": "Source - osv",
                    "url": "https://www.googleapis.com/download/storage/v1/b/osv-vulnerabilities/o/npm%2FGHSA-9c38-2mcm-q7f7.json?alt=media"
                },
                {
                    "category": "external",
                    "summary": "Source - certbundde",
                    "url": "https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1875.json"
                },
                {
                    "category": "external",
                    "summary": "Source - nvd",
                    "url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-54311"
                },
                {
                    "category": "external",
                    "summary": "Source - cveprojectv5",
                    "url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/54xxx/CVE-2026-54311.json"
                },
                {
                    "category": "external",
                    "summary": "Source - ncscclear",
                    "url": "https://advisories.ncsc.nl/advisory?id=NCSC-2026-0212"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde; cveprojectv5; github; nvd; osv",
                    "url": "https://github.com/n8n-io/n8n/security/advisories/GHSA-9c38-2mcm-q7f7"
                },
                {
                    "category": "external",
                    "summary": "Reference - github",
                    "url": "https://github.com/advisories/GHSA-9c38-2mcm-q7f7"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde",
                    "url": "https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1875.json"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde",
                    "url": "https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-1875"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde",
                    "url": "https://github.com/n8n-io/n8n/security/advisories/GHSA-2j5h-858j-5mpf"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde",
                    "url": "https://github.com/n8n-io/n8n/security/advisories/GHSA-2vff-hj5x-8gq7"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde",
                    "url": "https://github.com/n8n-io/n8n/security/advisories/GHSA-42h7-m79w-wvg5"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde",
                    "url": "https://github.com/n8n-io/n8n/security/advisories/GHSA-664h-gpgq-h6xx"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde",
                    "url": "https://github.com/n8n-io/n8n/security/advisories/GHSA-c37g-w77q-m4vp"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde",
                    "url": "https://github.com/n8n-io/n8n/security/advisories/GHSA-h3jj-5f3v-3685"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde",
                    "url": "https://github.com/n8n-io/n8n/security/advisories/GHSA-h86q-fx34-gfjr"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde",
                    "url": "https://github.com/n8n-io/n8n/security/advisories/GHSA-hv7x-3x78-gx53"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde",
                    "url": "https://github.com/n8n-io/n8n/security/advisories/GHSA-jpq7-226w-6cxx"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde",
                    "url": "https://github.com/n8n-io/n8n/security/advisories/GHSA-jqpw-qww5-cj4c"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde",
                    "url": "https://github.com/n8n-io/n8n/security/advisories/GHSA-jvc7-762p-3743"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde",
                    "url": "https://github.com/n8n-io/n8n/security/advisories/GHSA-jwm3-qcfw-c5pp"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde",
                    "url": "https://github.com/n8n-io/n8n/security/advisories/GHSA-pmqw-72cg-wx85"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde",
                    "url": "https://github.com/n8n-io/n8n/security/advisories/GHSA-qrx8-25qr-5r7v"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde",
                    "url": "https://github.com/n8n-io/n8n/security/advisories/GHSA-rm2v-h48j-895m"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde",
                    "url": "https://github.com/n8n-io/n8n/security/advisories/GHSA-v733-mwr6-fgcm"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde",
                    "url": "https://github.com/n8n-io/n8n/security/advisories/GHSA-x6p3-m6h9-fx7r"
                }
            ],
            "scores": [
                {
                    "cvss_v3": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N",
                        "baseScore": 7.7,
                        "baseSeverity": "HIGH"
                    },
                    "products": [
                        "CSAFPID-8467629",
                        "CSAFPID-8467630",
                        "CSAFPID-8469687",
                        "CSAFPID-8469688",
                        "CSAFPID-8469689",
                        "CSAFPID-8489594",
                        "CSAFPID-8499735"
                    ]
                }
            ],
            "title": "CVE-2026-54311"
        }
    ]
}