npm audit braces Warning in Tailwind v3: The Advisory Was Withdrawn (2026)

If npm audit was showing a High-severity braces warning on your Tailwind v3 project, it should be gone now. GitHub withdrew the advisory on 2026-10-23, and the reason it gives is short: "it's not a practically exploitable vulnerability."

We first wrote this page on 2026-10-20, when the warning was live and npm's only offer was a breaking upgrade. On 2026-11-13 we installed Tailwind v3 into an empty project and ran the audit again. Here's what it prints now, why some people still see a braces warning, and what to undo if you already let --force loose.

TL;DR

GHSA-vfj7-8cjw-p6xm (CVE-2026-93687) was withdrawn on 2026-10-23 as not practically exploitable. On 2026-11-13, npm install -D tailwindcss@3 still pulls in braces 3.0.3, and npm audit reports found 0 vulnerabilities. npm audit checks the registry on every run, so there's no cache to clear. If you ran npm audit fix --force to clear the warning, you may have installed Tailwind 4 or downgraded eslint-config-next to 14; roll that back if it wasn't deliberate.

What changed

The advisory's history, from the GitHub advisory page and the OSV record:

  • 2026-09-18: published to NVD and the GitHub Advisory Database. Affected: braces up to and including 3.0.3, the newest release. Patched versions: none.
  • 2026-10-02: reviewed by GitHub. That's when npm audit started showing it, because npm's audit data comes from the reviewed GitHub database.
  • 2026-10-23: withdrawn. The summary now starts "Withdrawn Advisory:", and the page keeps the link alive only so external references don't break.

GitHub didn't publish more than that one-line reason. Our own test from October lines up with it, though. A 9,999-character pattern of nested braces did crash braces() and micromatch.braces() with a stack overflow, but micromatch.isMatch(), the call most code actually makes, returned normally. And neither Tailwind nor ESLint ever feeds braces anything a visitor typed.

People were still hitting the old warning weeks later. In a Next.js discussion about braces findings from eslint-config-next, replies on 2026-10-22 and 10-23 were still saying "no fix yet". A commenter pointed out the withdrawal on 2026-11-12.

What npm audit prints today

We checked this on 2026-11-13 with npm 10.9.9 and Node 22.23.4, in an empty directory:

$ npm install -D tailwindcss@3 added 71 packages, and audited 72 packages in 2s found 0 vulnerabilities

$ npm ls braces -- tailwindcss@3.4.19 +-- chokidar@3.6.0 | -- braces@3.0.3 -- micromatch@4.0.8 -- braces@3.0.3 deduped

Same braces 3.0.3, no warning. On 2026-10-20 that tree reported 9 vulnerabilities.

The reason it clears without you doing anything: the npm audit docs say the command "submits a description of the dependencies configured in your project to your default registry" and asks for a report. So each run asks the registry fresh. We sent braces 3.0.3 straight to the registry's bulk advisory endpoint, the one npm audit uses, and it came back with no advisories at all.

On GitHub's side, a 2026-10-13 changelog entry says Dependabot "withdraws and removes an alert when the advisory or vulnerability that produced it is no longer valid", so a Dependabot alert for this one should disappear on its own too.

We also re-ran the Next.js side. eslint-config-next@16.4.2 still reaches braces through @next/eslint-plugin-next, fast-glob@3.3.1 and micromatch, and braces no longer appears in its audit. The 8 moderate findings that install still reports come from a separate minimatch advisory in the typescript-eslint chain, not braces.

Still seeing a braces warning?

Check which advisory it is. The withdrawn one is GHSA-vfj7-8cjw-p6xm. There's an older, unrelated one, GHSA-grv7-fg5c-xmjg (uncontrolled resource consumption, High), that covers braces below 3.0.3 and is still active. When we asked the registry about braces 3.0.2 on 2026-11-13, that's the advisory it returned.

That one has a real fix. If npm ls braces shows anything older than 3.0.3, you're on an old lockfile:

npm update braces npm ls braces

If a direct dependency pins the old version so npm update can't move it, an overrides entry in package.json forces it:

{ "overrides": { "braces": "3.0.3" } }

Overrides are a general tool for exactly this situation: a fixed transitive version exists, but something in the middle of the chain hasn't caught up. Only point one at a version that actually exists. npm view braces versions settles that in a second, and there is no braces 3.0.4.

If the warning comes from a different scanner (Snyk, Socket, a CI action), it reads its own database, which may not have picked up the withdrawal yet. Check the advisory ID it cites against the GitHub page before you change any code.

If you already ran npm audit fix --force

This is the part worth five minutes. While the advisory was live, braces had no patched release, so npm offered the only change that removed braces from the tree:

braces * Severity: high fix available via npm audit fix --force Will install tailwindcss@4.3.3, which is a breaking change

Tailwind 4 has no dependencies, so it drops chokidar, micromatch and braces in one go. It's also a major-version jump on the thing that styles your whole app. Tailwind's upgrade guide says JavaScript config files "are no longer detected automatically in v4", and that file is where most v3 projects keep their theme, colours and content paths.

On a Next.js 16 project, --force went the other way: it offered eslint-config-next@14.2.35, a downgrade two majors back. When we ran it in October, that swapped braces for three new High findings from glob 10.3.10 (GHSA-5j98-mcp5-4vw2), whose suggested fix was the 16.4.2 you started on.

An AI agent may have done this for you. Ask Cursor or Claude Code to "fix the npm audit warnings" and the obvious move is the one npm printed. Check your git history for a commit that bumped tailwindcss to 4.x or moved eslint-config-next to 14.x around October 2026.

To roll it back:

1

Find the change. Run git log -p -- package.json and look for the tailwindcss or eslint-config-next version change.

2

Restore both files from before it. Run git checkout <commit>~1 -- package.json package-lock.json, using the commit that made the change.

3

Reinstall and re-audit. Run npm install, then npm audit. On a Tailwind v3 project, braces should no longer be listed.

If you've already done the v4 migration properly and your pages look right, keep it. Tailwind 4 is a reasonable move on its own merits. Just check the browser floor: the guide says v4 targets Safari 16.4+, Chrome 111+ and Firefox 128+, and to stay on v3.4 if you need older browsers.

How to read an npm audit path next time

The braces warning showed up in so many projects because nobody installed braces. Two common tools did:

  • Tailwind v3. tailwindcss@3.4.19, the current v3 release, depends on chokidar ^3.6.0 and micromatch ^4.0.8, and both depend on braces. That's the tree above.
  • Next.js 16's lint config. A fresh create-next-app uses Tailwind v4, which has no dependencies, but braces still arrives through eslint-config-next, then @next/eslint-plugin-next, then fast-glob, micromatch and braces.

npm audit counts one bug once per package along the chain, so a single advisory can show up as five or six "vulnerabilities". Before acting on any of them:

1

Find the root. npm ls <package> shows every path into it. If every path starts at a build tool like tailwindcss or eslint-config-next, the code only runs on your machine or in CI.

2

Audit what ships. Run npm audit --omit=dev. Tailwind and lint configs belong in devDependencies (Tailwind's own v3 install uses npm install -D), and this view leaves them out.

3

Grep your own code. A build-tool advisory only becomes a production problem if your server code calls the package directly with user input. For this one, that was grep -rnE "(braces|micromatch)['\"]" --include=*.js --include=*.ts --exclude-dir=node_modules .

4

Read the "fix". If npm says "which is a breaking change", it's offering to change a major version of something you depend on, not to patch the bug.

The postcss-selector-parser warning that rode along

Tailwind v3 projects usually saw a Moderate warning next to braces: postcss-selector-parser, GHSA-rj75-hqrm-r3gf, a quadratic-time parse that can pin the CPU. Tailwind v3 asks for ^6.1.2, so it can't reach the 7.x fix.

That one is real and was fixed properly. The maintainers shipped a 6.x backport, 6.1.5, on 2026-10-19, and the advisory now lists 6.1.5 as the fix for the 6.x line (on 2026-10-20 it still said "below 7.1.6", which is why the warning lingered for a few days). The legacy-v6 tag now points at 6.1.6, published 2026-11-08, and that's what our fresh install resolved. If npm ls postcss-selector-parser shows something older than 6.1.5, npm update postcss-selector-parser fixes it.

Is the braces vulnerability in npm audit still real?

No. GitHub withdrew GHSA-vfj7-8cjw-p6xm (CVE-2026-93687) on 2026-10-23, saying it is not a practically exploitable vulnerability. The advisory page still exists so old links keep working, but it is marked withdrawn and npm audit no longer reports it. On 2026-11-13 a fresh Tailwind v3 install with braces 3.0.3 audited clean.

Do I need to do anything to make npm audit stop showing it?

Usually not. npm audit sends your dependency list to the registry on every run, so there is no local advisory cache to clear. Just run npm audit again. If braces still shows up, check the version: braces below 3.0.3 is flagged by a different, older advisory, GHSA-grv7-fg5c-xmjg, and that one has a real fix in 3.0.3.

Is there a fixed version of braces?

There doesn't need to be one for the withdrawn advisory. braces 3.0.3 is still the latest release on npm and it is the version a fresh Tailwind v3 install resolves. It is also the fix for the older 2024 advisory, so 3.0.3 is the version you want.

I already ran npm audit fix --force. What should I undo?

On a Tailwind v3 project, --force installed Tailwind 4, a breaking upgrade whose guide says JavaScript config files are no longer detected automatically. On Next.js 16 it downgraded eslint-config-next to 14.2.35. If you didn't mean to make either change, restore package.json and package-lock.json from git and run npm install.

Was my Tailwind v3 app ever vulnerable?

Not in production. Tailwind runs braces at build time on the content globs in your own config, not on anything a visitor sends. The crash needed an attacker-supplied pattern passed straight to braces or micromatch.braces, and in our test the common micromatch.isMatch call didn't crash at all.

Know what actually ships

npm audit reads your lockfile. CheckYourVibe scans the app you deployed for exposed keys, open databases and missing auth.

Vulnerability Guides

npm audit braces Warning in Tailwind v3: The Advisory Was Withdrawn (2026)