CVE-2025-53534 RatPanel can perform remote command execution without authorization
Attackers can bypass authentication to execute remote commands and take over hosts if they know the backend login path.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-53534?
CVE-2025-53534 is a high-severity authentication bypass vulnerability in tnb-labs panel, published on 5 Aug 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
RatPanel is a server operation and maintenance management panel. In versions 2.3.19 through 2.5.5, when an attacker obtains the backend login path of RatPanel (including but not limited to weak default paths, brute-force cracking, etc.), they can execute system commands or take over hosts managed by the panel without logging in. In addition to this remote code execution (RCE) vulnerability, the flawed code also leads to unauthorized access. RatPanel uses the CleanPath middleware provided by github.com/go-chi/chi package to clean URLs, but but the middleware does not process r.URL.Path, which can cause the paths to be misinterpreted. This is fixed in version 2.5.6.
Weakness: CWE-305
Which versions are affected by CVE-2025-53534?
7 open source packages ship an affected version, including github.com/tnb-labs/panel, github.com/TheTNB/panel and github.com/TheTNB/panel/v2.
| Package | Affected | Fixed in |
|---|---|---|
github.com/tnb-labs/panel Go | All versions | 0.0.0-20250707071915-4985eb2e1f38 |
github.com/TheTNB/panel Go | From 0.0.0-20241111062800-91ecd04c2700 | None |
github.com/TheTNB/panel/v2 Go | All versions | None |
github.com/tnborg/panel Go | From 0.0.0-20241111062800-91ecd04c2700 | 0.0.0-20250707071915-4985eb2e1f38 |
github.com/tnborg/panel Go | From 0.0.0-20241111062800-91ecd04c2700 | 0.0.0-20250707071915-4985eb2e1f38 |
github.com/tnborg/panel Go | From 2.3.19 | 2.5.6 |
1 more packages
github.com/tnborg/panel Go | From 2.3.19 | 2.5.6 |
How do I fix CVE-2025-53534?
Upgrade github.com/tnb-labs/panel to 0.0.0-20250707071915-4985eb2e1f38 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2025-53534 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-53534 exists.
Sources
Also known as GHSA-fm3m-jrgm-5ppg, GO-2025-3844.