JetBrain Ktor before 2.1.0 vulnerable to selection of wrong authentication providerGHSA-hccx-cg4v-hrjx
MEDIUMFix: ktorio/ktor#3092GHSA-hccx-cg4v-hrjx is a medium-severity (CVSS 6.5) Improper Authentication vulnerability in io.ktor:ktor. A fix is available for io.ktor:ktor — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
io.ktor:ktorReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
In JetBrains Ktor before 2.1.0 the wrong authentication provider could be selected in some cases
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | io.ktor:ktor | all versions | 2.1.0io.ktor:ktor:2.1.0 |
Affected Products
ktorjetbrainsDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for io.ktor:ktor, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update io.ktor:ktor to 2.1.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-hccx-cg4v-hrjx is resolved across your whole dependency graph.
Workarounds
Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.
Frequently Asked Questions
Is GHSA-hccx-cg4v-hrjx in your dependencies?
Find it across Maven, including transitive dependencies.