How Next.js is using AI to find vulnerabilities and help users upgrade
Brief
Next.js says AI has made old vulnerabilities easier to find, and describes how it is using security tools and more regular releases to address them.
Security work
- Next.js reported 51 advisories in 2026 as of November 17; 70% involved code at least a year old, and 43% involved code at least three years old.
- The team uses an internal AI-assisted bot to find vulnerabilities and triage reports, and runs Vercel Agent security reviews on every Next.js pull request.
- Security releases now come roughly once a month and are announced in advance.
Keeping apps up to date
- Starting with Next.js 16.4,
next devandnext buildwarn when the installed version has a known vulnerability. npx next@canary upgrade --agentselects the latest safe release within the oldest major version that has a fix, then hands the upgrade and matching migration guides to a coding agent.
Generated by AI from the original article. Check the source for full details.