Home / pterodactyl / panel / CVE-2021-41129
CVE-2021-41129: is it exploited, and which versions of pterodactyl panel are affected and fixed?
CVE-2021-41129 is a deserialization of untrusted data vulnerability in pterodactyl panel. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: pterodactyl/panel from 1.0.0 before 1.6.2 (GitHub advisory GHSA-5vfx-8w6m-h3v4). Fixed in 1.6.2 (GitHub advisory GHSA-5vfx-8w6m-h3v4). Severity: High (8.1, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:54 UTC.
What is CVE-2021-41129?
Authentication bypass in Pterodactyl
Pterodactyl is an open-source game server management panel built with PHP 7, React, and Go. A malicious user can modify the contents of a `confirmation_token` input during the two-factor authentication process to reference a cache value not associated with the login attempt. In rare cases this can allow a malicious actor to authenticate as a random user in the Panel. The malicious user must target an account with two-factor authentication enabled, and then must provide a correct two-factor authentication token before being authenticated as that user. Due to a validation flaw in the logic handling user authentication during the two-factor authentication process a malicious user can trick the system into loading credentials for an arbitrary user by modifying the token sent to the server. This authentication flaw is present in the `LoginCheckpointController@__invoke` method which handles two-factor authentication for a user. This controller looks for a request input parameter called `confirmation_token` which is expected to be a 64 character random alpha-numeric string that references a value within the Panel's cache containing a `user_id` value. This value is then used to fetch the user that attempted to login, and lookup their two-factor authentication token. Due to the design of this system, any element in the cache that contains only digits could be referenced by a malicious user, and whatever value is stored at that position would be used as the `user_id`. There are a few different areas of the Panel that store values into the cache that are integers, and a user who determines what those cache keys are could pass one of those keys which would cause this code pathway to reference an arbitrary user. At its heart this is a high-risk login bypass vulnerability. However, there are a few additional conditions that must be met in order for this to be successfully executed, notably: 1.) The account referenced by the malicious cache key must have two-factor authentication enabled. An account without two-factor authentication would cause an exception to be triggered by the authentication logic, thusly exiting this authentication flow. 2.) Even if the malicious user is able to reference a valid cache key that references a valid user account with two-factor authentication, they must provide a valid two-factor authentication token. However, due to the design of this endpoint once a valid user account is found with two-factor authentication enabled there is no rate-limiting present, thusly allowing an attacker to brute force combinations until successful. This leads to a third condition that must be met: 3.) For the duration of this attack sequence the cache key being referenced must continue to exist with a valid `user_id` value. Depending on the specific key being used for this attack, this value may disappear quickly, or be changed by other random user interactions on the Panel, outside the control of the attacker. In order to mitigate this vulnerability the underlying authentication logic was changed to use an encrypted session store that the user is therefore unable to control the value of. This completely removed the use of a user-controlled value being used. In addition, the code was audited to ensure this type of vulnerability is not present elsewhere.
From the CVE record by GitHub_M, last updated August 4, 2024, 02:59 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| pterodactyl | panel | >= 1.0.0, < 1.6.2 |
As the CVE record by GitHub_M states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | pterodactyl/panel | >= 1.0.0, < 1.6.2 | 1.6.2 | GHSA-5vfx-8w6m-h3v4 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 15, 2022. Summary: Pterodactyl Panel vulnerable to authentication bypass due to improper user-provided security token verification.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| pterodactyl | panel | from 1.0.0 before 1.6.2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:07 UTC.
How severe is CVE-2021-41129?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-41129 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.75% probability of exploitation activity in the next 30 days, percentile 78.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-502 Deserialization of Untrusted Data
- CWE-639 Authorization Bypass Through User-Controlled Key
- CWE-807 Reliance on Untrusted Inputs in a Security Decision
- CWE-287 Improper Authentication
Where are the vendor advisories and references?
- https://github.com/pterodactyl/panel/security/advisories/GHSA-5vfx-8w6m-h3v4 x_refsource_CONFIRM
- https://github.com/pterodactyl/panel/commit/4a84c36009be10dbd83051ac1771662c056e4977 x_refsource_MISC
- https://github.com/pterodactyl/panel/blob/v1.6.2/CHANGELOG.md#v162 x_refsource_MISC
- https://github.com/pterodactyl/panel/releases/tag/v1.6.2 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- September 15, 2021
- Published
- October 6, 2021, 20:05 UTC
- CVE record updated
- August 4, 2024, 02:59 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 04:07 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:54 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect panel?
- Sep 5, 2026CVE-2026-86177 pterodactyl panel: missing authorization
- Jul 28, 2026CVE-2026-61609 pterodactyl panel: denial of service (resources allocated without limits)
- Jul 28, 2026CVE-2026-54593 pterodactyl panel: improper Restriction of Security Token Assignment
- Jun 2, 2026CVE-2026-35202 pterodactyl panel: time-of-check time-of-use race condition
- Feb 19, 2026CVE-2026-26016 pterodactyl panel: authorization bypass through a user-controlled key (IDOR)
- Jan 19, 2026CVE-2025-69199 pterodactyl panel: denial of service (uncontrolled resource consumption)
- Jan 19, 2026CVE-2025-69198 pterodactyl panel: denial of service (uncontrolled resource consumption)
- Jan 6, 2026CVE-2025-69197 pterodactyl panel: authentication bypass (improper authentication)
Questions about CVE-2021-41129
Is CVE-2021-41129 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 1.75% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of pterodactyl panel are affected by CVE-2021-41129?
pterodactyl/panel from 1.0.0 before 1.6.2, per the GitHub advisory GHSA-5vfx-8w6m-h3v4. The tables above give every range the sources list.
Which version fixes CVE-2021-41129?
1.6.2, per the GitHub advisory GHSA-5vfx-8w6m-h3v4. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-41129?
High (8.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2021-41129?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.