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

Critical 9.4 Published Updated

Unauthenticated attackers can access and modify badge templates in FlagForge, leading to data exposure and database pollution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-61777?

CVE-2025-61777 is a critical missing authorization vulnerability in FlagForgeCTF flagForge, published on 6 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-306, CWE-284, CWE-200

Which versions are affected by CVE-2025-61777?

It affects 1 product.

Products include Flagforge Flagforge.

How do I fix CVE-2025-61777?

No fix has been published for CVE-2025-61777 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2025-61777 being exploited?

There is no known exploitation of CVE-2025-61777 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-26rx-c53q-rjf9.

Is CVE-2025-61777 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free