CVE-2025-41702CWE-321

egOS WebGUI Hard-Coded JWT Secret Enables Authentication Bypass

Critical · published August 26, 2025

CVSS v3.1
9.8
EPSS
1%
Percentile
43.5
In the wild
Unconfirmed
What it is

🚨 A hard-coded JWT secret key is lurking in the egOS WebGUI backend, exposing the system to unauthorized access! 🔥 Think of it like a restaurant that has its secret sauce recipe pinned on the wall for everyone to see — anyone can whip up a batch without even stepping foot in the kitchen! An unauthenticated attacker could generate valid HS256 tokens, completely bypassing authentication and authorization. This means malicious actors could waltz right in, gaining access to sensitive data or critical functions without breaking a sweat — it's an absolute nightmare for security!

Put simply

Think of it like a restaurant that has its secret sauce recipe pinned on the wall for everyone to see — anyone can whip up a batch without even stepping foot in the kitchen! This vulnerability allows remote attackers to exploit a hard-coded JWT secret key embedded in the backend, enabling them to create legitimate access tokens and impersonate users without any authentication checks.

What to do

An unauthenticated attacker could generate valid HS256 tokens, completely bypassing authentication and authorization. This means malicious actors could waltz right in, gaining access to sensitive data or critical functions without breaking a sweat — it's an absolute nightmare for security! Immediate action is crucial! First, remove the hard-coded secret key from the source code and replace it with a securely stored key. Next, update to the patched version as soon as it's available and conduct a thorough security review of your access control mechanisms. But don't worry, fixing this is totally doable! Follow these steps, and you'll bolster your defenses in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00522 · 43.5th percentile
Weakness
CWE-321 · Use of Hard-coded Cryptographic Key
Published
2025-08-26T06:10Z
EPSS history
Timeline
  • 26 AUG 06:10Z
    egOS WebGUI Hard-Coded JWT Secret Enables Authentication Bypass
    cvelistv5