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

 

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

Published: December 3, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to bypass the JWT issuer restriction and potentially gain unauthorized access to protected resources.

The vulnerability exists due to improper issuer validation in Ktor's JWT authentication component when verifying tokens. A remote attacker can present a token from an unintended issuer to bypass the issuer restriction and potentially gain unauthorized access to protected resources.


Affected software

Ktor

How to mitigate CVE-2026-142047

Install security update from vendor's website.

Ktor - addressed in versions 3.4.4, 3.5.3, 3.6.2

External References

Related Security Bulletins