CVE-2025-46332: Information Disclosure via Flags override link

Published May 2, 2025
·
Updated

Summary

An information disclosure vulnerability affecting Flags SDK has been addressed. It impacted flags ≤3.2.0 and @vercel/flags ≤3.1.1 and in certain circumstances, allowed a bad actor with detailed knowledge of the vulnerability to list all flags returned by the flags discovery endpoint (.well-known/vercel/flags).

Impact

This vulnerability allowed 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) - Default flag values

Not impacted:

- Flags providers were not accessible

No write access nor additional customer data was exposed, this is limited to just the values noted above. Vercel has automatically mitigated this incident on behalf of our customers for the default flags discovery endpoint at .well-known/vercel/flags. Flags Explorer will be disabled and show a warning notice until upgraded to flags@4.0.0.

Resolution

The verifyAccess function was patched within flags@4.0.0.

Users of @vercel/flags should also migrate to flags@4.0.0.

For further guidance on upgrading your version, please see our upgrade guide.

Mitigations

Vercel implemented a network-level mitigation to prevent the default flags discovery endpoint at /.well-known/vercel/flags being reachable, which automatically protects Vercel deployments against exploitation of this issue. Users need to upgrade to flags@4.0.0 to re-enable the Flags Explorer.

This automatic mitigation is not effective in two scenarios:

- When using the Flags SDK on Pages Router, as the original non-rewritten route would still be accessible, e.g. /api/vercel/flags. - When using a custom path for the flags discovery endpoint.

If you are not protected by the Vercel default mitigation you can temporarily deny access to the other exposed flags discovery endpoints through a custom WAF rule while you upgrade to the latest version.

References

- https://vercel.com/changelog/information-disclosure-in-flags-sdk-cve-2025-46332 - https://github.com/vercel/flags/blob/main/packages/flags/guides/upgrade-to-v4.md

Other sources

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 flags@4.0.0, users of flags and @vercel/flags should also migrate to flags@4.0.0.

MITRE

Affected Software

4 affected componentsFixes available
Flags Flags SDK>=3.2.0
Vercel @vercel/flags>=3.1.1
npm/@vercel/flags<=3.1.1
npm/flags<=3.2.0
4.0.0

Event History

May 2, 2025
CVE Published
via MITRE·05:06 PM
Data Sourced
via MITRE·05:06 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·07:28 PM
Mar 6, 57321
Event
via FIRST·12:23 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-46332?

CVE-2025-46332 is considered a high severity vulnerability due to its potential for information disclosure.

2

How do I fix CVE-2025-46332?

To fix CVE-2025-46332, upgrade to Flags SDK version 3.2.1 or later and @vercel/flags version 3.1.2 or later.

3

What types of applications are affected by CVE-2025-46332?

CVE-2025-46332 affects applications using Flags SDK versions 3.2.0 and below and @vercel/flags versions 3.1.1 and below.

4

What impact does CVE-2025-46332 have on application security?

CVE-2025-46332 allows unauthorized access to sensitive feature flags, potentially leading to unauthorized features being activated.

5

Is there a workaround for CVE-2025-46332 if I cannot immediately upgrade?

There is no known workaround for CVE-2025-46332; upgrading to patched versions is required to mitigate the risk.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203