Submit #710255: https://github.com/simstudioai https://github.com/simstudioai/sim ≤ v0.5.21 Authentication Bypass by Primary Weaknessinfo

Titlehttps://github.com/simstudioai https://github.com/simstudioai/sim ≤ v0.5.21 Authentication Bypass by Primary Weakness
DescriptionWhen deploying using the official Docker deployment method, the key authentication key has a default value. During our security analysis of the Sim application, we identified a critical authentication bypass vulnerability originating from the internal authorization logic implemented in internal.ts. This module is responsible for securing internal API routes (e.g., cron endpoints, internal tasks, server-side system functions). However, the authentication logic contains an overly permissive condition: when the expected internal secret is missing, undefined, or empty, the verification step does not reject the request as intended. Attackers can exploit this vulnerability to bypass authentication and perform operations that could be harmful to the system.
Source⚠️ https://gist.github.com/H2u8s/c533741e1b36f6245d41cace89a7f4d2
User
 28Hus (UID 92415)
Submission12/09/2025 15:13 (6 months ago)
Moderation12/25/2025 17:18 (16 days later)
StatusAccepted
VulDB entry338430 [simstudioai sim up to 0.5.27 CRON Secret internal.ts INTERNAL_API_SECRET improper authentication]
Points20

Do you need the next level of professionalism?

Upgrade your account now!