The vulnerability, CVE-2026-107718, describes an open redirect issue in AdonisJS caused by unencoded route parameters. The provided commit information for 4548a0631ce2ef1618f04c7b41465be42cad2f7d and ab607a2958327b6f0019d38f26081e431768877a clearly shows modifications to the createURL function in src/client/helpers.ts. Specifically, the lines responsible for pushing value and values.join('/') into uriSegments were changed to include encodeURIComponent(String(value)). This indicates that prior to the patch, these values were not being encoded, allowing for malicious input like /evil.example.com to be directly inserted into the generated URL, leading to an open redirect. The createURL function is the central point where the unencoded parameters were processed and incorporated into the URL, making it the vulnerable function.