Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

GHSA-2ppx-66jv-wpw5: Windmill: Resource-scoped API tokens can read script contents outside their allowed path via scripts/list_search

0
Medium
Published: 07/10/2026 (07/10/2026, 19:28:06 UTC)
Source: GCVE Database
Product: windmill-api

Description

Windmill API versions up to 1.714.1 have a vulnerability where resource-scoped API tokens intended to restrict script reading to specific path prefixes can bypass these restrictions via the GET /api/w/{workspace}/scripts/list_search endpoint. The endpoint returns script paths and contents without filtering based on the token's resource scope, allowing access to scripts outside the allowed path. This can expose sensitive script contents such as internal logic or secrets to token holders without admin privileges.

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Affected software

crates.ioghsa
windmill-api
Affected versions
<1.715.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/11/2026, 09:50:18 UTC

Technical Analysis

The Windmill API supports scoped API tokens with domain, action, and optional resource/path restrictions. However, the GET /api/w/{workspace}/scripts/list_search endpoint enforces only domain and action scopes at the route level, not the resource/path segment. Consequently, a token scoped to read scripts under a specific path prefix (e.g., scripts:read:f/allowed/*) can retrieve script contents from other paths within the workspace. The endpoint executes a query returning all non-archived scripts in the workspace without per-row filtering by token scope, exposing script source code beyond the token's intended scope. This is a variant of a previously addressed scoped-token authorization issue but remains unpatched for this endpoint. The vulnerability requires possession of a scoped API token but no admin privileges.

Potential Impact

An attacker or integration with a scoped API token limited to certain script paths can read script contents from unrelated paths in the same workspace. This may disclose internal automation logic, integration details, business logic, inline configuration, or accidentally hardcoded secrets or credentials. The exposure is limited to the workspace accessible by the token and does not require elevated privileges beyond token possession.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The suggested fix is to enforce resource/path scope filtering in the scripts/list_search handler, either by adding explicit authorization checks or filtering returned scripts by the token's resource scope. Until a patch is available, restrict token issuance carefully and monitor for updates from the vendor. No official fix or patch links are currently provided.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-2ppx-66jv-wpw5
Osv Schema Version
1.4.0
Aliases
["CVE-2026-54136"]
Ecosystems
["crates.io"]
Database Specific Severity
MODERATE
Cvss Version
4.0

Threat ID: 6a520eb668715ace438f52da

Added to database: 07/11/2026, 09:36:54 UTC

Last enriched: 07/11/2026, 09:50:18 UTC

Last updated: 07/11/2026, 09:50:18 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses