Incorrect Authorization Affecting github.com/0xjacky/nginx-ui/api/settings package, versions <2.3.8


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.3% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOM0XJACKYNGINXUIAPISETTINGS-16419395
  • published5 May 2026
  • disclosed4 May 2026
  • creditlilmingwa13

Introduced: 4 May 2026

CVE-2026-42220  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade github.com/0xJacky/Nginx-UI/api/settings to version 2.3.8 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Authorization in the GET /api/settings process. An attacker can obtain sensitive configuration values, such as node.secret, by making authenticated requests, and subsequently abuse trusted-node authentication, exfiltrate backups, or perform restore-based state rollback by supplying the exposed secret in the X-Node-Secret header or node_secret query parameter.

CVSS Base Scores

version 4.0
version 3.1