Skip to content
OpenAdvisories
High · 7.7 CVE-2025-53534 EUVD-2025-23654GHSA-fm3m-jrgm-5ppgGO-2025-3844

RatPanel can perform remote command execution without authorization

Published Aug 5, 2025 · Updated Aug 6, 2025 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
tnb-labs panel >= 2.3.19, < 2.5.6 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP6 govulncheck-vulndb 0.0.20250814T182633-150000.1.98.1 SUSE-SU-2025:02912-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250811T192933-1.1 openSUSE-SU-2025:15434-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20250814T182633-150000.1.98.1 SUSE-SU-2025:02912-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/TheTNB/panel >= 0.0.0-20241111062800-91ecd04c2700 — GO-2025-3844
Go github.com/TheTNB/panel/v2 all versions — GO-2025-3844
Go github.com/tnb-labs/panel < 0.0.0-20250707071915-4985eb2e1f38 0.0.0-20250707071915-4985eb2e1f38 GO-2025-3844
Go github.com/tnborg/panel >= 2.3.19, < 2.5.6 2.5.6 GHSA-fm3m-jrgm-5ppg
Go github.com/tnborg/panel >= 0.0.0-20241111062800-91ecd04c2700, < 0.0.0-20250707071915-4985eb2e1f38 0.0.0-20250707071915-4985eb2e1f38 GHSA-fm3m-jrgm-5ppg

Advisories 2

References