# CVE-2025-61777: FlagForge Allows Unauthenticated Badge Template API Access

- Severity: Critical 9.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.66%, higher than 46% of CVEs (2026-11-30)
- Published: 2025-10-06T16:44:27.713Z
- Modified: 2026-10-09T10:10:00.193Z
- Weaknesses: CWE-200, CWE-284, CWE-306
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

Flag Forge is a Capture The Flag (CTF) platform. Starting in version 2.0.0 and prior to version 2.3.2, the `/api/admin/badge-templates` (GET) and `/api/admin/badge-templates/create` (POST) endpoints previously allowed access without authentication or authorization. This could have enabled unauthorized users to retrieve all badge templates and sensitive metadata (createdBy, createdAt, updatedAt) and/or create arbitrary badge templates in the database. This could lead to data exposure, database pollution, or abuse of the badge system. The issue has been fixed in FlagForge v2.3.2. GET, POST, UPDATE, and DELETE endpoints now require authentication. Authorization checks ensure only admins can access and modify badge templates. No reliable workarounds are available.

(As written by CVE List.)

## Affected

- FlagForgeCTF flagForge: >= 2.0.0, < 2.3.2
- flagforge flagforge: from 2.0 before 2.3.2

## Every score

- GitHub_M: CVSS:3.1 9.4 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/FlagForgeCTF/flagForge/security/advisories/GHSA-26rx-c53q-rjf9> (vendor-advisory)
- <https://github.com/FlagForgeCTF/flagForge/commit/e2121c5fb7a512a49dcd875812c944265fb1a846> (patch)

## Sources

- CVE List: [CVE-2025-61777](https://www.cve.org/CVERecord?id=CVE-2025-61777), CVE Terms of Use, modified 2026-01-28
- NVD: [CVE-2025-61777](https://nvd.nist.gov/vuln/detail/CVE-2025-61777), Public domain, modified 2026-10-09

---

Page: https://cve.day/CVE-2025-61777 · Whole record: https://cve.day/CVE-2025-61777.json · Rebuilt by cve.day 2026-11-25T22:59:05.575Z
