module

Nextcloud Workflows Remote Code Execution

Disclosed
Mar 30, 2023
Created
May 15, 2025

Description

This module adds workflows as an authenticated user
which can only be created by administrators by design.
If the app "Nextcloud Workflow Script" is installed it
is possible to generate a workflow that executes commands.

Authors

Enis Maholli
arianitisufi
Armend Gashi
whotwagner

Platform

Linux,Unix

Architectures

cmd

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use exploit/unix/webapp/nextcloud_workflows_rce
msf exploit(nextcloud_workflows_rce) > show targets
...targets...
msf exploit(nextcloud_workflows_rce) > set TARGET < target-id >
msf exploit(nextcloud_workflows_rce) > show options
...show and set options...
msf exploit(nextcloud_workflows_rce) > exploit

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.