CVE-2026-93920: Apache Knox: Open redirect in KnoxSSO via userinfo in originalUrl
URL redirection to an untrusted site in the Apache Knox KnoxSSO service allows a remote attacker to redirect a user to an arbitrary external site after successful authentication. This works by placing userinfo in the originalUrl parameter (for example https://knox-host:8443%2f@attacker.example/), which bypasses the redirect whitelist.
This issue affects Apache Knox from 1.1.0 through 2.1.0.
Users are recommended to upgrade to version 2.1.1 or 3.0.0, which fix the issue.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.1.1
Event History
Frequently Asked Questions
Which Apache Knox deployments are affected?
Apache Knox versions 1.1.0 through 2.1.0 are affected. The issue is in the KnoxSSO service.
What does an attacker need to exploit this issue?
An attacker can remotely craft an originalUrl parameter containing userinfo, such as a Knox host followed by %2f@ and an attacker-controlled host. After a user successfully authenticates, this can cause a redirect to the attacker-controlled external site.
Does the redirect whitelist prevent exploitation?
No. The userinfo component in the originalUrl value can bypass the redirect whitelist.
What should teams do to remediate the issue?
Upgrade Apache Knox to version 2.1.1 or 3.0.0, which fix the vulnerability.