Skip to content

chore(deps): bump github.com/dapr/dapr from 1.17.3 to 1.17.5#1635

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/go_modules/github.com/dapr/dapr-1.17.5
Open

chore(deps): bump github.com/dapr/dapr from 1.17.3 to 1.17.5#1635
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/go_modules/github.com/dapr/dapr-1.17.5

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 22, 2026

Bumps github.com/dapr/dapr from 1.17.3 to 1.17.5.

Release notes

Sourced from github.com/dapr/dapr's releases.

Dapr Runtime v1.17.5

Dapr 1.17.5

This update contains a critical security fix:

Security: Service invocation path traversal bypasses access control policies

Problem

Reserved URL characters and path traversal sequences in service invocation method paths could bypass access control policies. An attacker with access to the Dapr HTTP or gRPC API could invoke operations on a target application that the ACL was configured to deny.

Impact

Any deployment using access control policies for service invocation is affected. An attacker who can reach the Dapr API (HTTP or gRPC) could:

  • Use encoded path traversal (admin%2F..%2Fpublic) to reach an allowed path (/public) while the method started from a denied prefix (/admin).
  • Use encoded fragment (%23) or query (%3F) characters to cause the ACL to evaluate a different path than what was delivered to the target application.
  • Use a bare % to crash the ACL normalization, potentially bypassing the policy entirely.

The gRPC API was the more dangerous vector because gRPC passes the method as a raw string with no client-side URL sanitization — #, ?, %, ../, and control characters were all delivered literally.

Root Cause

The method path was normalized independently in two places:

  1. The ACL used purell.NormalizeURLString which treated the method as a URL — decoding %XX, resolving ../, and stripping # as a fragment delimiter and ? as a query delimiter.
  2. The dispatch layer (constructRequest for HTTP, gRPC passthrough) used the raw method string.

This created a mismatch: the ACL authorized one path while the target application received a different one. For example, admin%2F..%2Fpublic was normalized by the ACL to public (allowed), but the target application received the raw admin/../public.

Solution

The method path is now normalized at the service invocation edge — in directMessaging.Invoke for HTTP and gRPC public API calls, in callLocalValidateACL for gRPC internal calls, and in the gRPC proxy handler for proxied calls. The normalized form is used for both the ACL check and the outbound dispatch, eliminating the mismatch. The ACL is a pure policy evaluation layer and performs no normalization of its own.

For HTTP, Go's net/http server decodes percent-encoding in r.URL.Path before the method is extracted. For gRPC, method strings are raw (no percent-decoding) and are treated as opaque — percent-encoded sequences like %2F are literal characters, not path separators.

Normalization uses path.Clean to resolve ../ and duplicate slashes, and rejects method paths containing #, ?, null bytes, or control characters. The purell dependency has been removed from the ACL path.

As defense-in-depth, constructRequest in the HTTP channel applies path.Clean to the method before building the outbound URL.

Users are strongly encouraged to upgrade to this release.

Dapr Runtime v1.17.4

Dapr 1.17.4

This update contains bug fixes:

... (truncated)

Commits
  • 3974797 fix service invocation path traversal ACL bypass (#9804)
  • 55aa098 Scheduler: fix reconnection of streaming connections (#9776) (#9777)
  • 4415333 [Backport release-1.17] Fix daprd sidecar placement dissemination timeout han...
  • 232d85a [Backport release-1.17] Workflow: Fix carry over events for ContiueAsNew (#9773)
  • 0ae47ca Fix workflow event loss during ContinueAsNew under high event volume (#9760) ...
  • 5924cc9 strip hop-by-hop headers when proxying HTTP (#9759) (#9761)
  • c0b19be [Backport release-1.17] Add e2e test for scheduler quorum recovery after pod ...
  • cf45390 Fix cross-app workflow stuck in PENDING when remote app is offline (#9738) (#...
  • 817749b [1.17] Update component contrib for pulsar changes (#9718)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [github.com/dapr/dapr](https://github.com/dapr/dapr) from 1.17.3 to 1.17.5.
- [Release notes](https://github.com/dapr/dapr/releases)
- [Changelog](https://github.com/dapr/dapr/blob/master/RELEASE.md)
- [Commits](dapr/dapr@v1.17.3...v1.17.5)

---
updated-dependencies:
- dependency-name: github.com/dapr/dapr
  dependency-version: 1.17.5
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Apr 22, 2026
@dependabot dependabot Bot requested review from a team as code owners April 22, 2026 13:13
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants