CVE-2026-16631 publint package-manager pack.js child_process.exec os command injection

Medium 4.8 Published Updated

Local attackers can execute arbitrary OS commands via the package-manager command handler in the publint library.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-16631?

CVE-2026-16631 is a medium-severity command injection vulnerability in publint, published on 22 Jul 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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".

Weakness: CWE-78, CWE-77

Which versions are affected by CVE-2026-16631?

How do I fix CVE-2026-16631?

No fix has been published for CVE-2026-16631 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-16631 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-16631 exists.

Sources

Also known as GHSA-vg6g-fgc8-7284.

Is CVE-2026-16631 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free