Command Injection in marsdb
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Code execution
- Confidentiality · integrity · availability
- —
- Fix status
- No fix listed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-77.
Summary
All versions of `marsdb` are vulnerable to Command Injection. In the `DocumentMatcher` class, selectors on `$where` clauses are passed to a Function constructor unsanitized. This allows attackers to run arbitrary commands in the system when the function is executed. ## Recommendation No fix is currently available. Consider using an alternative package until a fix is made available.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | marsdb (npm) | 0.0.0 and later | — | No fix listed | GHSA-5mrr-rgp6-x4gr |
- marsdb (npm) Vendor— Affected 0.0.0 and later Fixed in — No fix listed GHSA-5mrr-rgp6-x4gr
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-03 Threatist record created from GHSA-5mrr-rgp6-x4gr
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences