OS command injection in n158
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
All versions of the package n158 are vulnerable to Command Injection due to improper input sanitization in the 'module.exports' function. **Note:** To execute the code snippet and potentially exploit the vulnerability, the attacker needs to have the ability to run Node.js code within the target environment. This typically requires some level of access to the system or application hosting the Node.js environment.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | n158 | all versions | — | No fix listed | CNA |
| — | n158 (npm) | up to 1.4.1 | — | No fix listed | GHSA-549h-r7g9-2qpf |
- n158 Vendor— Affected all versions Fixed in — No fix listed CNA
- n158 (npm) Vendor— Affected up to 1.4.1 Fixed in — No fix listed GHSA-549h-r7g9-2qpf
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:n158_project:n158:*:*:*:*:*:node.js:*:* | all versions | Vulnerable | N158 Project |
- cpe:2.3:a:n158_project:n158:*:*:*:*:*:node.js:*:* Versions all versions Vulnerable ·N158 Project
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2023-26127
- 2026-10-03 Alias added: GHSA-549h-r7g9-2qpf
References
Sources
- CVE-2023-26127 · CVE Program
- CVE-2023-26127 · NVD
- FIRST EPSS
- GHSA-549h-r7g9-2qpf · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences