CVE-2025-46332 Details
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].
An information disclosure vulnerability has been identified in Vercel's Flags SDK, affecting the 'flags' package in versions through 3.2.0 and the '@vercel/flags' package in versions through 3.1.1. Under certain conditions, this vulnerability allows a knowledgeable actor to list all feature flags available through the flags discovery endpoint '.well-known/vercel/flags'. The exposed information includes flag names, descriptions, available options and their labels (such as true or false), and default values. While the vulnerability does not affect flag providers or expose any write access or additional customer data, it has been patched in Flags SDK version 4.0.0. Users of '@vercel/flags' should also migrate to '[email protected]'.
Users are advised to upgrade to '[email protected]'. For those using '@vercel/flags', migration to '[email protected]' is recommended. Vercel has also implemented a network-level mitigation for the default flags discovery endpoint, which protects against exploitation of this vulnerability. However, if using a custom path for the flags discovery endpoint or the Flags SDK on Pages Router, additional steps may be needed to restrict access to the exposed endpoints.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 2, 2025CISA-ADP
Assessed May 2, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/vercel/flags/blob/main/packages/flags/guides/upgrade-to-v4.md | [email protected] | Vendor |
| https://github.com/vercel/flags/security/advisories/GHSA-892p-pqrr-hxqr | [email protected] | AdvisoryBundleRemedyVendor |
| https://vercel.com/changelog/information-disclosure-in-flags-sdk-cve-2025-46332 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Vercel Flags | All versions |
CPE
Remediation
| |
| Vercel @vercel/flags | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 2, 2025 | New CVE Received | [email protected] |
Volerion