Advisories

n8n before 1.123.89 NoSQL Injection via MongoDB Node Update Key

Go back
Severity
medium
Date
Affecting
  • n8n >= 0, < 1.123.89

  • n8n >= 2.46.0, < 2.46.1

  • n8n >= 2.0.0, < 2.45.5

  • n8n >= 3.0.0, < 3.0.1

CWE
  • CWE-943 Improper Neutralization of Special Elements in Data Query Logic
CVSS
5.3
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:N/SI:H/SA:H
Credit
Masofgon
Description
n8n before 1.123.89, 2.x before 2.45.5, 2.46.x before 2.46.1, and 3.x before 3.0.1 contains a NoSQL injection vulnerability in the MongoDB node's Update and Find And Replace operations due to insufficient validation of the update key value taken from incoming items. Attackers who can supply untrusted input, such as a webhook body, to a workflow using these operations can make the node match and overwrite unintended documents or insert new documents in the MongoDB database.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.