Arbitrary Code Injection Affecting pterodactyl/panel package, versions >=0.0.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.07% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-PTERODACTYLPANEL-10442150
  • published20 Jun 2025
  • disclosed19 Jun 2025
  • creditazimoff337

Introduced: 19 Jun 2025

NewCVE-2025-49132  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

pterodactyl/panel is a game management panel.

Affected versions of this package are vulnerable to Arbitrary Code Injection via the /locales/locale.json endpoint when processing the locale and namespace query parameters. An attacker can execute arbitrary code on the server by sending specially crafted requests to this endpoint, potentially gaining access to sensitive information, server files, and database contents.

Workaround

This vulnerability can be mitigated by disabling the /locales/locale.json endpoint at the webserver level (noting this will break localization features), or by using an external Web Application Firewall (WAF) such as Cloudflare's WAF with the default ruleset (Pro plan or above required).

CVSS Base Scores

version 4.0
version 3.1