CVE-2025-53534
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.
How to fix
- github.com/tnborg/panel2.5.6, 0.0.0-20250707071915-4985eb2e1f38 or later
- github.com/tnb-labs/panel0.0.0-20250707071915-4985eb2e1f38 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| github.com/tnborg/panelGo | 2.3.19 ≤ v < 2.5.6, 0.0.0-20241111062800-91ecd04c2700 ≤ v < 0.0.0-20250707071915-4985eb2e1f38 | 2.5.6, 0.0.0-20250707071915-4985eb2e1f38 |
| github.com/TheTNB/panelGo | 0.0.0-20241111062800-91ecd04c2700 ≤ v | — |
| github.com/TheTNB/panel/v2Go | No range specified | — |
| github.com/tnb-labs/panelGo | v < 0.0.0-20250707071915-4985eb2e1f38 | 0.0.0-20250707071915-4985eb2e1f38 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.