Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. windmill-api
  4. ›
  5. CVE-2026-54136

CVE-2026-54136: Windmill: Resource-scoped API tokens can read script contents outside their allowed path via scripts/list_search

July 10, 2026

A resource-scoped API token can read script contents outside its allowed path scope via GET /api/w/{workspace}/scripts/list_search.

This appears to be a remaining variant of the scoped-token authorization class previously addressed for other endpoints. The route-level scope middleware validates the token domain/action, but does not enforce the resource/path segment of a scope. scripts/list_search then returns script path and content for scripts in the workspace without applying per-row path filtering against the token scopes.

References

  • github.com/advisories/GHSA-2ppx-66jv-wpw5
  • github.com/windmill-labs/windmill/security/advisories/GHSA-2ppx-66jv-wpw5
  • nvd.nist.gov/vuln/detail/CVE-2026-54136

Code Behaviors & Features

Detect and mitigate CVE-2026-54136 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.715.0

Fixed versions

  • 1.715.0

Solution

Upgrade to version 1.715.0 or above.

Impact 2.7 LOW

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

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

cargo/windmill-api/CVE-2026-54136.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 11 Jul 2026 12:17:20 +0000.