github.com/dapr/dapr
Affected
- introduced
1.17.0-rc.1, fixed1.17.5(semver)
Fixed versions
1.17.5
Fix
- Fixed version
1.17.5go get github.com/dapr/[email protected]
Advisory
Also known as: CVE-2026-41491, GO-2026-5242
Dapr: Service Invocation path traversal ACL bypass
Summary
A vulnerability has been found in Dapr that allows bypassing access control policies for service invocation using reserved URL characters and path traversal sequences in method paths. The ACL normalized the method path independently from the dispatch layer, so the ACL evaluated one path while the target application received a different one.
Users who have configured access control policies for service invocation are strongly encouraged to upgrade Dapr to the respective patch version 1.17.5, 1.16.14, and 1.15.14.
Impact
This vulnerability impacts Dapr users who have configured access control policies for service invocation. An attacker who can reach the Dapr HTTP or gRPC API could:
admin%2F..%2Fpublic) to reach an allowed path while the method started from a denied prefix.%23) or query (%3F) characters to cause the ACL to evaluate a different path than what was delivered to the target application.Patches
Users should upgrade immediately to their respective Dapr version 1.17.5, 1.16.14, and 1.15.14.
Details
Dapr supports access control policies for service invocation, which allow operators to restrict which methods an application is permitted to call on a target app. When a request arrives, Dapr evaluates the method path against the configured policy before dispatching to the target.
Prior to this fix, the ACL and the dispatch layer normalized the method path independently. The ACL used purell.NormalizeURLString, which decoded %XX sequences, resolved ../, and stripped # and ? as URL delimiters. The dispatch layer used the raw method string. This mismatch meant the ACL authorized one path while the target application received a different one.
For example, a method of admin%2F..%2Fpublic was normalized by the ACL to public (allowed), but the target application received admin/../public.
The gRPC API was the more dangerous vector because gRPC passes method strings raw — #, ?, ../, and control characters were all delivered literally with no client-side sanitization.
References
This PR signaled to us about the CVE, special thanks to @dbconfession78 for the efforts here and the original PR.
High Basis: The source's own band: HIGH
1.17.0-rc.1, fixed 1.17.5 (semver)1.17.5
1.17.5go get github.com/dapr/[email protected]1.16.0-rc.1, fixed 1.16.14 (semver)1.16.14
1.16.14go get github.com/dapr/[email protected]1.3.0, fixed 1.15.14 (semver)1.15.14
1.15.14go get github.com/dapr/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0