---
id: CVE-2026-54136
title: >-
  Windmill is an open-source developer platform for internal code: APIs,
  background jobs, workflows and UIs
summary: >-
  Windmill is an open-source developer platform for internal code: APIs,
  background jobs, workflows and UIs. Prior to 1.715.0, a resource-scoped API
  token could read script contents outside its allowed path scope through GET
  /api/w/{worksp…
severity: medium
cwe:
  - CWE-863
vendor: windmill-api
product: windmill-api
affected:
  - windmill-api <= 1.714.1
patched:
  - windmill-api 1.715.0
published: '2026-08-20'
updated: '2026-09-18'
sourceUpdated: '2026-09-18T20:09:01.757'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-54136'
references:
  - url: >-
      https://github.com/windmill-labs/windmill/commit/7edf3f02122e20fde1e95e0252e7bda641075326
    label: security-advisories@github.com
  - url: 'https://github.com/windmill-labs/windmill/pull/9426'
    label: security-advisories@github.com
  - url: 'https://github.com/windmill-labs/windmill/releases/tag/v1.715.0'
    label: security-advisories@github.com
  - url: >-
      https://github.com/windmill-labs/windmill/security/advisories/GHSA-2ppx-66jv-wpw5
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-2ppx-66jv-wpw5'
tags:
  - nvd
  - ghsa
  - rust
epss: 0.00473
epssPercentile: 0.4073
aliases:
  - GHSA-2ppx-66jv-wpw5
ecosystem: rust
ingestedAt: '2026-07-10T20:06:10.782Z'
---

## Overview

Windmill is an open-source developer platform for internal code: APIs, background jobs, workflows and UIs. Prior to 1.715.0, a resource-scoped API token could read script contents outside its allowed path scope through GET /api/w/{workspace}/scripts/list_search. The route-level scope middleware validated the token domain and action but did not enforce the resource/path segment, and the list_search_scripts handler had no additional check_scopes call or per-row filtering before returning script path and content fields. A token such as scripts:read:f/allowed/* could therefore receive source code for unrelated paths in the same workspace, potentially disclosing internal automation logic, integration details, business logic, inline configuration, or hardcoded secrets and credentials. Exploitation required possession of a valid scoped API token for the workspace but did not require administrator privileges. This issue is fixed in version 1.715.0.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-54136)

Affected packages:

- `windmill-api <= 1.714.1`

Patched in:

- `windmill-api 1.715.0`

Source: https://github.com/advisories/GHSA-2ppx-66jv-wpw5
