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.

Severity (CVSS 4.0)7.7High
Exploit odds (30 days)0.7%top 45.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Gogithub.com/TheTNB/panelno fix listedGO-2025-3844
Gogithub.com/TheTNB/panel/v2no fix listedGO-2025-3844
Gogithub.com/tnb-labs/panel0.0.0-20250707071915-4985eb2e1f38GO-2025-3844
Gogithub.com/tnborg/panel2.5.6GHSA-fm3m-jrgm-5ppg
Gogithub.com/tnborg/panel0.0.0-20250707071915-4985eb2e1f38GHSA-fm3m-jrgm-5ppg

Affected products (as reported)

VendorProductVersions
tnb-labs panel >= 2.3.19, < 2.5.6

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