CVE-2026-145558: WuKongIM 2.0.8-20241129 through 2.2.5-20260422 Manager API Authentication Bypass via Default JWT Secret

Published Dec 5, 2026
·
Updated

WuKongIM 2.0.8-20241129 through 2.2.5-20260422 contains an authentication bypass vulnerability that allows unauthenticated attackers to access manager APIs using a hardcoded default JWT secret. Attackers can forge HS256 tokens signed with secretwukongim to read message history, enumerate users and connections, and kick connections or migrate slots and channels.

Affected Software

1 affected component
WuKongIM WuKongIM>=2.0.8-20241129<=2.2.5-20260422

Event History

Dec 5, 2026
CVE Published
via MITRE·02:04 PM
Data Sourced
via MITRE·02:04 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

Any unauthenticated attacker who can reach the WuKongIM Manager API can forge an HS256 JWT using the hardcoded secret "secret_wukongim" and use it to access manager functions.

2

What access can a forged token provide?

A forged token can be used to read message history, enumerate users and connections, kick connections, and migrate slots and channels. This exposes message confidentiality and allows limited integrity and availability impact.

3

Are deployments using the default JWT secret affected?

Yes. The issue is specifically caused by the hardcoded default JWT secret, so deployments that retain that secret are affected within the listed WuKongIM versions.

4

What can be done if patching cannot happen immediately?

Replace the default JWT secret and restrict network access to the Manager API so untrusted users cannot reach it. Any existing tokens signed with the default secret should no longer be trusted after the secret is changed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203