Description
A vulnerability was detected in publint up to 0.1.4. This impacts the function child_process.exec of the file src/node/pack.js of the component package-manager Command Handler. The manipulation results in os command injection. Attacking locally is a requirement. The exploit is now public and may be used. The patch is identified as adf2d9a09945fc98c85a2520a89f441d78b2dbd8. It is advisable to implement a patch to correct this issue. The project maintainer explains: "I think it's very rare for someone to use this package with untrusted input".
Published: 2026-07-22
Score: 4.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in publint’s package‑manager component enables an attacker with local execution rights to inject arbitrary operating‑system commands via an unsanitized child_process.exec call in src/node/pack.js. The vulnerability arises from the component accepting external input that is directly passed to exec without escaping, allowing the execution of unintended commands. Because the exploit requires local access, the attacker must be able to run publint on the target system; once achieved, the impact extends to confidentiality, integrity, and availability of that system.

Affected Systems

The affected product is publint, a JavaScript package used for package validation. Versions up to and including 0.1.4 are vulnerable; the patch identified by commit hash adf2d9a09945fc98c85a2520a89f441d78b2dbd8 removes the flaw in the package‑manager’s child_process.exec usage.

Risk and Exploitability

The CVSS base score is 4.8, indicating moderate severity. The EPSS score is < 1%, suggesting a low probability of exploitation, and the vulnerability is not listed in CISA’s KEV catalog, so widespread exploitation is not yet reported. The attack vector is local; an attacker must run publint with untrusted input. Once the exploit is triggered, it can lead to full remote code execution on the host.

Generated by OpenCVE AI on August 3, 2026 at 23:03 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the published patch by updating to publint version 0.1.5 or later, or apply commit adf2d9a09945fc98c85a2520a89f441d78b2dbd8 to the source code.
  • Limit publishing and execution of publint to trusted environments and authenticated users; ensure any input supplied to publint is sanitized or originates from a trusted source.
  • If custom modifications of the package‑manager component exist, conduct a thorough code review to confirm that all exec calls are properly validated and that no unsanitized input paths remain.

Generated by OpenCVE AI on August 3, 2026 at 23:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 31 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Thu, 23 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 23 Jul 2026 00:00:00 +0000

Type Values Removed Values Added
Description A vulnerability was detected in publint up to 0.1.4. This impacts the function child_process.exec of the file src/node/pack.js of the component package-manager Command Handler. The manipulation results in os command injection. Attacking locally is a requirement. The exploit is now public and may be used. The patch is identified as adf2d9a09945fc98c85a2520a89f441d78b2dbd8. It is advisable to implement a patch to correct this issue. The project maintainer explains: "I think it's very rare for someone to use this package with untrusted input".
Title publint package-manager pack.js child_process.exec os command injection
First Time appeared Publint
Publint publint
Weaknesses CWE-77
CWE-78
CPEs cpe:2.3:a:publint:publint:*:*:*:*:*:*:*:*
Vendors & Products Publint
Publint publint
References
Metrics cvssV2_0

{'score': 4.3, 'vector': 'AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 5.3, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-07-23T13:44:17.592Z

Reserved: 2026-07-22T16:08:22.735Z

Link: CVE-2026-16631

cve-icon Vulnrichment

Updated: 2026-07-23T13:44:12.062Z

cve-icon NVD

Status : Deferred

Published: 2026-07-23T00:16:26.927

Modified: 2026-07-23T15:24:59.880

Link: CVE-2026-16631

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-22T23:30:14Z

Links: CVE-2026-16631 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T23:15:04Z

Weaknesses
  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')

  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')