CWE-647: Use of Non-Canonical URL Paths for Authorization Decisions

low-risk

The product defines policy namespaces and makes authorization decisions based on the assumption that a URL is canonical. This can allow a non-canonical URL to bypass the authorization.

Abstraction: Variant

Common Consequences

Access Control Bypass Protection Mechanism
Confidentiality Read Files or Directories

Detection Methods

Automated Static Analysis

Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

Real-World Examples (6)

CVE CVSS EPSS KEV
CVE-2022-43939 8.6 93.3% Y
CVE-2025-64500 7.3 2.5%
CVE-2025-66202 6.5 0.3%
CVE-2025-47241 4.0 0.2%
CVE-2025-43916 3.4 0.2%
CVE-2025-9909 6.7 0.0%
11
/ 100
low-risk
Active Threat 6/50 · Minimal
Exploit Availability 5/50 · Minimal