CWE-647: Use of Non-Canonical URL Paths for Authorization Decisions, published in 2025
Filter
The product defines policy namespaces and makes authorization decisions based on the assumption that a URL is canonical.
What the weakness is: CWE-647 at MITRE. All weaknesses
Ask an AI about CWE-647
Show the prompt
Explain CWE-647: Use of Non-Canonical URL Paths for Authorization Decisions and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/647.html and https://cve.bz/cve/cwe/647?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
By year: all 2026 2025 2024 2023 2022 2021
- 6.5CVE-2025-66202astroEPSS 0.6%
Astro is a web framework. Versions 5.15.7 and below have a double URL encoding bypass which allows any unauthenticated attacker to bypass path-based authentication checks in Astro middleware, granting unauthorized access to protected route…
- 7.3CVE-2025-64500sensiolabsEPSS 3.4%
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Symfony's HttpFoundation component defines an object-oriented layer for the HTTP specification. Starting in version 2.0.0 and prior to versio…
- 4.0CVE-2025-47241browser-useEPSS 0.6%
In browser-use (aka Browser Use) before 0.1.45, URL parsing of allowed_domains is mishandled because userinfo can be placed in the authority component.
- 3.4CVE-2025-43916sonos api.sonos.comEPSS 0.4%
Sonos api.sonos.com through 2025-04-21, when the /login/v3/oauth endpoint is used, accepts a redirect_uri containing userinfo in the authority component, which is not consistent with RFC 6819 section 5.2.3.5. An authorization code may be s…