CVE-2026-16631: OS Command Injection in publint
CVE-2026-16631 is an OS command injection vulnerability in the publint package-manager Command Handler affecting versions 0.1.0 through 0.1.4. The issue arises from unsafe use of child_process.exec in src/node/pack.js, allowing local attackers to execute arbitrary OS commands. Exploitation requires local access and no user interaction. A patch exists identified by commit adf2d9a09945fc98c85a2520a89f441d78b2dbd8. The maintainer notes that usage with untrusted input is rare.
AI Analysis
Technical Summary
The vulnerability in publint up to version 0.1.4 involves OS command injection via the child_process.exec function in src/node/pack.js within the package-manager Command Handler component. This allows a local attacker with low privileges to execute arbitrary OS commands due to insufficient input sanitization. The vulnerability has a CVSS 4.8 (medium) score, indicating moderate impact. A patch has been identified (commit adf2d9a09945fc98c85a2520a89f441d78b2dbd8) to address this issue. The exploit code is publicly available, but exploitation requires local access. The project maintainer suggests the risk is limited because the package is rarely used with untrusted input.
Potential Impact
Successful exploitation allows a local attacker with low privileges to execute arbitrary operating system commands on the affected system. This can lead to unauthorized command execution within the context of the user running publint. The impact is limited by the requirement for local access and the low likelihood of untrusted input usage, resulting in a medium severity rating (CVSS 4.8).
Mitigation Recommendations
A patch addressing this vulnerability is available, identified by commit adf2d9a09945fc98c85a2520a89f441d78b2dbd8. It is strongly recommended to apply this patch to all affected versions (0.1.0 through 0.1.4) to remediate the issue. Additionally, avoid using publint with untrusted input to reduce risk. No official vendor advisory or automated patch distribution is indicated, so manual patching is required.
CVE-2026-16631: OS Command Injection in publint
Description
CVE-2026-16631 is an OS command injection vulnerability in the publint package-manager Command Handler affecting versions 0.1.0 through 0.1.4. The issue arises from unsafe use of child_process.exec in src/node/pack.js, allowing local attackers to execute arbitrary OS commands. Exploitation requires local access and no user interaction. A patch exists identified by commit adf2d9a09945fc98c85a2520a89f441d78b2dbd8. The maintainer notes that usage with untrusted input is rare.
CVSS v4.0
Score 4.8medium
Affected software
cpe:2.3:a:publint:publint:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in publint up to version 0.1.4 involves OS command injection via the child_process.exec function in src/node/pack.js within the package-manager Command Handler component. This allows a local attacker with low privileges to execute arbitrary OS commands due to insufficient input sanitization. The vulnerability has a CVSS 4.8 (medium) score, indicating moderate impact. A patch has been identified (commit adf2d9a09945fc98c85a2520a89f441d78b2dbd8) to address this issue. The exploit code is publicly available, but exploitation requires local access. The project maintainer suggests the risk is limited because the package is rarely used with untrusted input.
Potential Impact
Successful exploitation allows a local attacker with low privileges to execute arbitrary operating system commands on the affected system. This can lead to unauthorized command execution within the context of the user running publint. The impact is limited by the requirement for local access and the low likelihood of untrusted input usage, resulting in a medium severity rating (CVSS 4.8).
Mitigation Recommendations
A patch addressing this vulnerability is available, identified by commit adf2d9a09945fc98c85a2520a89f441d78b2dbd8. It is strongly recommended to apply this patch to all affected versions (0.1.0 through 0.1.4) to remediate the issue. Additionally, avoid using publint with untrusted input to reduce risk. No official vendor advisory or automated patch distribution is indicated, so manual patching is required.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-07-22T16:08:22.735Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a6157c79c2644c7f8e58595
Added to database: 07/22/2026, 23:52:39 UTC
Last enriched: 07/30/2026, 05:23:25 UTC
Last updated: 09/03/2026, 12:57:03 UTC
Views: 105
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.