Vulnerability · Published Aug 5, 2025 · Assigned by GitHub_M
CVE-2025-53534RatPanel can perform remote command execution without authorization
High 7.7
In plain English
A high-severity security flaw in panel from tnb-labs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/TheTNB/panel | no fix listed | GO-2025-3844 |
| Go | github.com/TheTNB/panel/v2 | no fix listed | GO-2025-3844 |
| Go | github.com/tnb-labs/panel | 0.0.0-20250707071915-4985eb2e1f38 | GO-2025-3844 |
| Go | github.com/tnborg/panel | 2.5.6 | GHSA-fm3m-jrgm-5ppg |
| Go | github.com/tnborg/panel | 0.0.0-20250707071915-4985eb2e1f38 | GHSA-fm3m-jrgm-5ppg |
Affected products (as reported)
Weakness: CWE-305 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
References
- https://github.com/tnborg/panel/security/advisories/GHSA-fm3m-jrgm-5ppg x_refsource_CONFIRM
- https://github.com/tnborg/panel/commit/ed5c74c7534230ba685273504af4c1e1e3598ff1 x_refsource_MISC
- https://github.com/tnborg/panel/releases/tag/v2.5.6 x_refsource_MISC