CVE-2026-41491: Dapr Path Traversal Vulnerability

HIGH
Advisory Identifier: GHSA-85gx-3qv6-4463
CVSS 8.1
CWE-284 CWE-22
Published
Advisory Summary

CVE-2026-41491 is a HIGH (CVSS 8.1) path traversal vulnerability (CWE-284: Improper Access Control) affecting Dapr libraries in the Go ecosystem. The issue involves service invocation path traversal acl bypass. Remediation is available by upgrading affected packages to version 1.17.5, 1.16.14, 1.15.14.

CVE-2026-41491 at a Glance

CVE Identifier CVE-2026-41491
GHSA Identifier GHSA-85gx-3qv6-4463
Severity HIGH
CVSS v3.1 Base Score 8.1
CWE Classification CWE-284: Improper Access Control
Affected Product Dapr
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 8.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2026-41491

To remediate this vulnerability, upgrade all affected Dapr dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/dapr/dapr fixed: 1.17.5
Upgrade github.com/dapr/dapr to 1.17.5
github.com/dapr/dapr fixed: 1.16.14
Upgrade github.com/dapr/dapr to 1.16.14
github.com/dapr/dapr fixed: 1.15.14
Upgrade github.com/dapr/dapr to 1.15.14
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/dapr/dapr

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-41491, inspect your project dependencies for Dapr:

inspect dependencies for github.com/dapr/dapr

Analyze the terminal output to locate any version of Dapr in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.17.5), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Dapr, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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: - Use encoded path traversal (ex: `admin%2F..%2Fpublic`) to reach an allowed path while the method started from a denied prefix. - 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. ### 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](https://github.com/dapr/dapr/pull/9589) signaled to us about the CVE, special thanks to @dbconfession78 for the efforts here and the original PR.

CVE-2026-41491 Affected Dapr Versions

3 component(s)
Fixed Versions:
1.17.51.16.141.15.14
Product / Package Ecosystem Affected Versions Fixed Version
github.com/dapr/dapr
Go
≥ 1.17.0-rc.1
< 1.17.5
1.17.5
github.com/dapr/dapr
Go
≥ 1.16.0-rc.1
< 1.16.14
1.16.14
github.com/dapr/dapr
Go
≥ 1.3.0
< 1.15.14
1.15.14

References

Frequently Asked Questions

What is CVE-2026-41491?
CVE-2026-41491 is a security vulnerability in Dapr involving Service Invocation path traversal ACL bypass under CWE-284: Improper Access Control.
Which Dapr versions are affected?
Affected versions include releases prior to 1.17.5, 1.16.14, 1.15.14 across affected packages: github.com/dapr/dapr.
What version fixes CVE-2026-41491?
Upgrading to 1.17.5, 1.16.14, 1.15.14 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/dapr/dapr affected?
Yes, github.com/dapr/dapr is affected in releases prior to 1.17.5, 1.16.14, 1.15.14. Upgrade your dependency to 1.17.5, 1.16.14, 1.15.14 or later.
What is the CVSS score of CVE-2026-41491?
CVE-2026-41491 has a CVSS v3.1 base score of 8.1 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2026-41491?
CVE-2026-41491 is classified under CWE-284: Improper Access Control (The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.).
How can I check Go dependencies for CVE-2026-41491?
Run the dependency tree command: 'inspect dependencies for github.com/dapr/dapr'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-85gx-3qv6-4463",
  "modified" : "2026-05-12T13:31:35Z",
  "published" : "2026-04-17T22:20:40Z",
  "aliases" : [ "CVE-2026-41491" ],
  "summary" : "Dapr: Service Invocation path traversal ACL bypass",
  "details" : "### Summary\n\nA 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.\n\nUsers 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`.\n\n### Impact\n\nThis 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:\n\n- Use encoded path traversal (ex: `admin%2F..%2Fpublic`) to reach an allowed path while the method started from a denied prefix.\n- 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.\n\n### Patches\n\nUsers should upgrade immediately to their respective Dapr version `1.17.5`, `1.16.14`, and `1.15.14`.\n\n### Details\n\nDapr 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.\n\nPrior 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.\n\nFor example, a method of `admin%2F..%2Fpublic` was normalized by the ACL to public (allowed), but the target application received `admin/../public`. \n\nThe 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.\n\n### References\n\n[This PR](https://github.com/dapr/dapr/pull/9589) signaled to us about the CVE, special thanks to @dbconfession78 for the efforts here and the original PR.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/dapr/dapr"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.17.0-rc.1"
      }, {
        "fixed" : "1.17.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/dapr/dapr"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.16.0-rc.1"
      }, {
        "fixed" : "1.16.14"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/dapr/dapr"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.3.0"
      }, {
        "fixed" : "1.15.14"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/dapr/dapr/security/advisories/GHSA-85gx-3qv6-4463"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-41491"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/dapr/dapr/pull/9589"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/dapr/dapr"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-22", "CWE-284" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-04-17T22:20:40Z",
    "nvd_published_at" : "2026-05-08T14:16:33Z"
  }
}