Lucene search
+L

n8n >= 0.123.0 and < 1.121.3 - Remote Code Execution

🗓️ 20 Oct 2026 02:05:18Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 165 Views

Critical authenticated remote code execution in n8n versions >=0.123.0 and <1.121.3 via Git node file writes.

Related
Refs
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for CVE-2026-21877
8 Jan 202613:15
–githubexploit
bdu_fstec
BDU FSTEC
N8n Automation Platform Code Generation
28 Jan 202600:00
–bdu_fstec
circl
Circl
CVE-2026-21877
7 Jan 202606:27
–circl
cnnvd
CNNVD
n8n code issue vulnerabilities
8 Jan 202600:00
–cnnvd
cve
CVE
CVE-2026-21877
8 Jan 202600:39
–cve
cvelist
Cvelist
CVE-2026-21877 n8n is vulnerable to Remote Code Execution via Arbitrary File Write
8 Jan 202600:39
–cvelist
euvd
EUVD
EUVD-2026-1037
8 Jan 202600:39
–euvd
github
Github Security Blog
n8n Vulnerable to RCE via Arbitrary File Write
6 Jan 202617:48
–github
hackread
HackRead
n8n Users Urged to Patch CVSS 10.0 Full System Takeover Vulnerability
8 Jan 202620:02
–hackread
kitploit
Kitploit
CVE-2026-21877
18 Oct 202602:54
–kitploit
Rows per page
id: CVE-2026-21877

info:
  name: n8n >= 0.123.0 and < 1.121.3 - Remote Code Execution
  author: s4e-io
  severity: critical
  description: |
    n8n versions >= 0.123.0 and < 1.121.3 contain a critical authenticated remote code execution vulnerability via arbitrary file write. An authenticated user can exploit the Git node to overwrite critical files and execute untrusted code on the n8n server, potentially leading to full system compromise. The vulnerability affects both self-hosted and n8n Cloud instances.
  impact: |
    Full system compromise including access to all credentials, API tokens, OAuth secrets, database connections, and workflow automation capabilities. n8n becomes a single point of failure exposing all connected systems.
  remediation: |
    Upgrade to n8n v1.121.3 or later. If upgrading is not immediately possible, disable the Git node and limit access for untrusted users.
  reference:
    - https://github.com/n8n-io/n8n/security/advisories/GHSA-v364-rw7m-3263
    - https://nvd.nist.gov/vuln/detail/CVE-2026-21877
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
    cvss-score: 9.9
    cve-id: CVE-2026-21877
    epss-score: 0.05449
    epss-percentile: 0.9265
    cwe-id: CWE-434
  metadata:
    verified: true
    max-request: 1
    vendor: n8n-io
    product: n8n
    shodan-query: http.favicon.hash:-831756631
    fofa-query: icon_hash="-831756631"
  tags: cve,cve2026,n8n,workflow,rce,authenticated,passive,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/signin"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>n8n.io"
        case-insensitive: true

      - type: dsl
        name: vulnerable
        dsl:
          - compare_versions(version, '>= 0.123.0', '< 1.121.3')

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        name: base64_content
        group: 1
        regex:
          - '<meta name="n8n:config:sentry" content="([A-Za-z0-9+/=]+)"'
        internal: true

      - type: dsl
        name: version
        dsl:
          - 'replace_regex(base64_decode(base64_content), ".*n8n@([0-9]+\\.[0-9]+\\.[0-9]+).*", "$1")'
        internal: true

      - type: dsl
        dsl:
          - '"n8n Version: " + version'
# digest: 4b0a004830460221008195b77dc24a498126aa50a29ad44133a2b1d055315930a52fabfa9f9c06f4b9022100b85e3d1bf72829030cbc05f4bc69dded9054776eddd544069142a5b43c3a0909:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

12 Jan 2026 13:00Current
9.2Critical risk
Vulners AI Score9.2
CVSS 3.19.9
EPSS0.05449
SSVC
165