SCA: security update for github.com/0xJacky/nginx-ui (GHSA-4pvg-prr3-9cxr)

critical Tenable Self-Hosted Container Security Plugin ID 441277

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Nginx UI is a web user interface for the Nginx web server. Prior to version 2.3.8, nginx-ui exposes a
backup restore endpoint (POST /api/restore) that is completely unauthenticated during the first 10 minutes
after process startup on any fresh installation. An unauthenticated remote attacker can upload a crafted
backup archive that overwrites the application's configuration file (app.ini) and SQLite database. Because
the attacker controls the restored app.ini, they can inject an arbitrary OS command into the TestConfigCmd
setting. After the application automatically restarts to apply the restored config, a single follow-up
request triggers that command as the user running nginx-ui — typically root in Docker deployments. This
issue has been patched in version 2.3.8. (CVE-2026-42238)

Solution

Update the github.com/0xJacky/nginx-ui library and its related packages to version 2.3.8 or later.

See Also

https://github.com/advisories/GHSA-4pvg-prr3-9cxr

Plugin Details

Severity: Critical

ID: 441277

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 5/6/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 6.9

Percentile: 96.98

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-42238

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: Critical

Base Score: 9

Threat Score: 7.5

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/6/2026

Vulnerability Publication Date: 5/4/2026

Reference Information

CVE: CVE-2026-42238

cwe: CWE-94