Incorrect Implementation of Authentication Algorithm in Ktor - CVE-2026-142046

 

Incorrect Implementation of Authentication Algorithm in Ktor - CVE-2026-142046

Published: December 3, 2026


Vulnerability identifier: #VU172975
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-142046
CWE-ID: CWE-303
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass authentication on routes protected by nested authentication blocks.

The vulnerability exists due to incorrect implementation of authentication in Ktor's routing component when evaluating nested authentication blocks. A remote attacker can request an affected route to bypass its authentication checks.


Affected software

Ktor

How to mitigate CVE-2026-142046

Install security update from vendor's website.

Ktor - update to 3.6.2

External References

Related Security Bulletins