n8n is an open source workflow automation platform. Prior to 2.24.0, an authenticated user with workflow edit access could supply a malicious filter value in the MongoDB node's Find And Replace operation. The value was not validated before being passed to MongoDB as a query filter, allowing unintended documents to be matched and overwritten with attacker-controlled content. This vulnerability is fixed in 2.24.0.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-89"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54313.json"
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "2.24.0"
}
],
"cpe": "cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*",
"source": [
"AFFECTED_FIELD",
"CPE_RANGE"
]
}