CVE-2026-138600 in pterodactyl-addon
Summary
by MITRE • 11/30/2026
PteroCA pterodactyl-addon (aka the pteroca-com/pterodactyl-addon Composer package) before 0.1.4 allows a non-admin user to mint an API key for any account.
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Analysis
by VulDB Data Team • 11/30/2026
The vulnerability identified in PteroCA, specifically within the pterodactyl-addon component distributed as the pteroca-com/pterodactyl-addon Composer package prior to version 0.1.4, represents a critical failure in access control mechanisms that allows for unauthorized privilege escalation and credential theft. This flaw is rooted in an improper implementation of authorization checks during the API key generation process within the application's backend logic. In a properly secured system, the creation of authentication tokens or API keys must be strictly gated by administrative privileges to prevent users from manipulating their own security credentials or those of other entities without explicit permission. However, due to this oversight, any authenticated user with standard, non-administrative permissions can invoke the endpoint responsible for minting new API keys and specify arbitrary account identifiers as targets.
From a technical perspective, this issue classifies under CWE-269, which denotes Improper Privilege Control, specifically manifesting as an authorization bypass where the application fails to verify that the requesting user possesses the necessary rights to perform the action on behalf of another entity. The attacker leverages this weakness by crafting requests that target specific account IDs within the Pterodactyl panel infrastructure. Since the backend does not validate whether the requester is the owner of the targeted account or holds administrative status, it proceeds to generate a valid API key associated with the specified user profile. This effectively grants the low-privilege attacker full programmatic access to the compromised account's resources and settings without requiring knowledge of that account's password.
The operational impact of this vulnerability is severe, as it undermines the fundamental isolation between different users in a multi-user hosting environment like Pterodactyl. An adversary can use these forged API keys to automate actions on behalf of other users, such as creating new servers, modifying existing configurations, accessing file systems, or executing commands within those containers. This capability facilitates lateral movement across the infrastructure and allows for data exfiltration from accounts that may contain sensitive information or valuable resources. Furthermore, it enables denial-of-service attacks against specific user groups by allowing an attacker to consume their resource quotas through automated script execution via the stolen keys.
This behavior aligns with MITRE ATT&CK technique T1078, Valid Accounts, where attackers use legitimate credentials obtained from other sources to access systems and evade detection mechanisms that rely on identifying unauthorized login attempts. By generating valid API tokens rather than guessing passwords, the attacker maintains a lower profile while gaining extensive control over the victim's environment. The ability to act as any user effectively breaks the trust boundary between standard users and administrators, potentially leading to complete compromise of the hosting panel if an administrative account is targeted or if the stolen keys are used to escalate privileges further within the application hierarchy.
To mitigate this risk, immediate action must be taken by upgrading the pteroca-com/pterodactyl-addon package to version 0.1.4 or later, where these authorization checks have been corrected to enforce strict ownership verification and administrative role requirements for API key generation. In addition to patching, administrators should audit existing logs for any signs of unauthorized API key creation during the window when this vulnerability was present. Implementing additional monitoring alerts for unusual patterns in API usage can help detect potential exploitation attempts that may have occurred before the fix was applied. Regular security reviews focusing on access control lists and permission boundaries are recommended to prevent similar flaws from being introduced into related modules within the ecosystem.