CVE-2026-56679: 9router Mass Assignment Vulnerability Allows Authentication Downgrade

9router Updated 24 Sep 2026

Summary

23/09/2026
Yes i
High
8.7

CVE-2026-56679: 9router: Mass assignment in PATCH /api/settings allows authenticated authorization downgrade. Affects 9router versions < 0.5.4. Fixed in 0.5.4. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

9router is an open-source application designed to manage and route network traffic efficiently. It provides various functionalities, including API access for managing settings and user authentication. However, it has a critical vulnerability that allows authenticated users to modify security-sensitive settings without proper restrictions, leading to potential unauthorized access.

Vulnerability Detail

The vulnerability arises from a mass assignment issue in the PATCH /api/settings endpoint, where the entire request body is written to persistent settings without a field whitelist. This allows an authenticated user to modify critical fields, such as requireLogin, which can disable authentication for the entire application. The root cause is unfiltered mass assignment (CWE-915), where any key in the request body can overwrite stored settings. This can lead to unauthorized access to protected routes, exposing sensitive data and functionalities.

How To Fix

Latest published version: 0.5.109 as of 23 Oct 2026

npm install 9router@0.5.109

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.5.4

This is the first release that contains the fix.

npm install 9router@0.5.4

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, avoid using the PATCH /api/settings endpoint until the package is updated. Regularly monitor your application for unauthorized changes to settings and ensure that sensitive routes are protected.

Conclusion

The CVE-2026-56679 vulnerability in the 9router package poses a significant risk by allowing authenticated users to disable authentication and access sensitive data. It is crucial to update to the patched version and implement recommended security measures to mitigate this risk.

See every vulnerability recorded for 9router →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 8.7, indicating a high severity level.

Any authenticated user of the 9router application can exploit this vulnerability, especially those using default credentials.

Exploiting this vulnerability can lead to unauthorized access to sensitive data, including API keys and provider connection data, allowing attackers to fully compromise the application.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Vulert is a monitoring tool that uses package-lock.json to alert users in real-time about open-source vulnerabilities in their software.

Related vulnerabilities

Recent vulnerabilities recorded for 9router.

How To Fix

Latest published version: 0.5.109 as of 23 Oct 2026

npm install 9router@0.5.109

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.5.4

This is the first release that contains the fix.

npm install 9router@0.5.4

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback