Skip to content

CVE-2025-53534 RatPanel can perform remote command execution without authorization

HighCVSS 7.7 EPSS 0.74%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

4 packages: 2 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
TheTNB github.com/TheTNB/panel(Go) >= 0.0.0-20241111062800-91ecd04c2700; All versions No fix listed No fix yet
tnb-labs github.com/tnb-labs/panel(Go) < 0.0.0-20250707071915-4985eb2e1f38 0.0.0-20250707071915-4985eb2e1f38 Fixed
tnborg github.com/tnborg/panel(Go) >= 0.0.0-20241111062800-91ecd04c2700, < 0.0.0-20250707071915-4985eb2e1f38; >= 2.3.19, < 2.5.6 0.0.0-20250707071915-4985eb2e1f38, 2.5.6 Fixed
tnb-labs github.com/tnb-labs/panel = >= 2.3.19, < 2.5.6 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
tnborg github.com/tnborg/panel(Go) >= 2.3.19, < 2.5.6 2.5.6
tnborg github.com/tnborg/panel(Go) >= 0.0.0-20241111062800-91ecd04c2700, < 0.0.0-20250707071915-4985eb2e1f38 0.0.0-20250707071915-4985eb2e1f38
TheTNB github.com/TheTNB/panel(Go) >= 0.0.0-20241111062800-91ecd04c2700 No fix listed
TheTNB github.com/TheTNB/panel(Go) All versions No fix listed
tnb-labs github.com/tnb-labs/panel(Go) < 0.0.0-20250707071915-4985eb2e1f38 0.0.0-20250707071915-4985eb2e1f38
tnb-labs github.com/tnb-labs/panel = >= 2.3.19, < 2.5.6 No fix listed

References