Know every vulnerabilitybefore it knows you.
DevGuard continuously monitors your dependencies and alerts you when CVEs like this one affect your stack — with real-time threat intelligence built for developers.
GHSA-xvc3-826v-xf47
No affected components available
Summary
The authentication rate limiter used for the login and two-factor checkpoint endpoints applies a single global bucket shared by every client, instead of keying per IP or per account. An unauthenticated attacker sending ~10 requests per minute from one IP exhausts the shared bucket and causes HTTP 429 for every user on every IP attempting to log in or complete 2FA, for as long as the attack is sustained. This is a trivially triggered, unauthenticated, panel-wide authentication denial of service.
Details
In app/Providers/RouteServiceProvider::configureRateLimiting() the limiter is defined as:
RateLimiter::for('authentication', function (Request $request) {
if ($request->route()->named('auth.post.forgot-password')) {
return Limit::perMinute(2)->by($request->ip());
}
return Limit::perMinute(10);
});
The forgot-password branch is correctly scoped with ->by($request->ip()). The fall-through return, which covers POST /auth/login and POST /auth/login/checkpoint (see routes/auth.php, the throttle:authentication group), omits ->by() entirely.
For a named limiter, Laravel 11 derives the cache key as md5($limiterName . $limit->key) (Illuminate\Routing\Middleware\ThrottleRequests::handleRequestUsingNamedLimiter). Limit::perMinute(10) is constructed with an empty key, so the resolved key is md5('authentication'), a constant identical for every incoming request. All clients therefore contend for one shared counter rather than one counter per source.
Two factors make this worse:
throttle:authenticationis registered as group middleware inroutes/auth.php, so it increments before the route-levelrecaptchamiddleware onPOST /auth/login. Requests count toward the limit regardless of reCAPTCHA outcome.POST /auth/login/checkpointhas no reCAPTCHA at all, giving an attacker a clean, low-cost way to fill the shared bucket with malformed requests.
Once the 10/minute global limit is hit, the throttle returns 429 to all subsequent requests on those endpoints until the one-minute window decays. Repeating the burst each minute holds the panel in a permanent locked-out state for all legitimate users.
PoC
- Stand up a default Pterodactyl panel.
- From a single attacker IP, exhaust the shared bucket via the checkpoint endpoint (no reCAPTCHA):
for i in $(seq 1 11); do
curl -s -o /dev/null -w "%{http_code}\n" \
-X POST https://panel.example.com/auth/login/checkpoint \
-H 'Content-Type: application/json' \
-H 'X-Requested-With: XMLHttpRequest' \
-d '{"confirmation_token":"x","authentication_code":"000000"}'
done
Requests 1-10 return a normal 4xx (validation/auth failure); request 11 returns 429 Too Many Requests.
- From a completely different IP and a valid account, attempt a normal login:
curl -s -o /dev/null -w "%{http_code}\n" \
-X POST https://panel.example.com/auth/login \
-H 'Content-Type: application/json' \
-H 'X-Requested-With: XMLHttpRequest' \
-d '{"user":"valid@example.com","password":"correct-horse"}'
This returns 429 despite being a different IP, different account, and valid credentials. Looping step 2 once per minute keeps every user locked out indefinitely.
Impact
This is an unauthenticated availability attack against authentication. Any internet-facing Pterodactyl panel can be made unusable for all users (login and 2FA verification both blocked) by a single low-bandwidth attacker, with no credentials, no privileges, and no user interaction. Administrators are locked out alongside regular users, hampering incident response. The forgot-password endpoint is unaffected because it is correctly keyed per IP.
Suggested fix: key the fall-through limit by request source, at minimum:
return Limit::perMinute(10)->by($request->ip());
Ideally combine the IP with the submitted identifier for login (e.g. ->by($request->ip() . '|' . (string) $request->input('user'))) and the IP plus confirmation token for the checkpoint, so brute-force protection per account is preserved while removing the shared global bucket.
Disclaimer
This report was written by AI, the bug itself was found and confirmed by the reporter.
The vulnerability can be exploited over the network without needing physical access. It is easy for an attacker to exploit this vulnerability. An attacker does not need any special privileges or access rights. No user interaction is needed for the attacker to exploit this vulnerability. The impact is confined to the system where the vulnerability exists. There is a high impact on the availability of the system.
Exploitation attempts have been detected. Elevated vigilance and prompt remediation are advised.
The exploit probability is very low. The vulnerability is unlikely to be exploited in the next 30 days.
We did not find any exploit available. Neither in GitHub repositories nor in the Exploit-Database.
Browse More
Continuously monitor your dependencies and get alerted when vulnerabilities like this one affect your stack.
Checkout DevGuard