CVE-2025-53534

High

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.

SeverityHigh
CVSS7.7
Exploit probability—
ProductGithub.com/tnborg/panel
PublishedAug 5, 2025
First seenAug 5, 2025
Weakness typeCWE-305CWE-305

How to fix

Update
  • 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

ProductAffected versionsFixed in
github.com/tnborg/panelGo2.3.19 ≤ v < 2.5.6, 0.0.0-20241111062800-91ecd04c2700 ≤ v < 0.0.0-20250707071915-4985eb2e1f382.5.6, 0.0.0-20250707071915-4985eb2e1f38
github.com/TheTNB/panelGo0.0.0-20241111062800-91ecd04c2700 ≤ v—
github.com/TheTNB/panel/v2GoNo range specified—
github.com/tnb-labs/panelGov < 0.0.0-20250707071915-4985eb2e1f380.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.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.