CVE-2025-46332

Medium

Description

Flags SDK is an open-source feature flags toolkit for Next.js and SvelteKit. Impacted versions include flags from 3.2.0 and prior and @vercel/flags from 3.1.1 and prior as certain circumstances allows a bad actor with detailed knowledge of the vulnerability to list all flags returned by the flags discovery endpoint (.well-known/vercel/flags). This vulnerability allows for information disclosure, where a bad actor could gain access to a list of all feature flags exposed through the flags discovery endpoint, including the flag names, flag descriptions, available options and their labels (e.g. true, false), and default flag values. This issue has been patched in [email protected], users of flags and @vercel/flags should also migrate to [email protected].

SeverityMedium
CVSS6.5
Exploit probability—
ProductFlags
PublishedMay 2, 2025
First seenMay 2, 2025

How to fix

Update
  • flags4.0.0 or later

Affected products

ProductAffected versionsFixed in
flagsnpmv < 4.0.04.0.0
@vercel/flagsnpmv ≤ 3.1.1—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-46332 · Flags · Dark Radar