# CVE-2025-59433: @conventional-changelog/git-client has an Argument Injection vulnerability

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-09-22T18:01:01.000Z
- Modified: 2026-10-19T16:10:00.260Z
- Also known as: GHSA-vh25-5764-9wcr
- Weaknesses: CWE-88
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Conventional Changelog generates changelogs and release notes from a project's commit messages and metadata. Prior to version 2.0.0, @conventional-changelog/git-client has an argument injection vulnerability. This vulnerability manifests with the library's getTags() API, which allows extra parameters to be passed to the git log command. In another API by this library, getRawCommits(), there are secure practices taken to ensure that the extra parameter path is unable to inject an argument by ending the git log command with the special shell syntax --. However, the library does not follow the same practice for getTags() as it does not attempt to sanitize for user input, validate the given params, or restrict them to an allow list. Nor does it properly pass command-line flags to the git binary using the double-dash POSIX characters (--) to communicate the end of options. Thus, allowing users to exploit an argument injection vulnerability in Git due to the --output= command-line option that results with overwriting arbitrary files. This issue has been patched in version 2.0.0.

(As written by CVE List.)

## Affected

- conventional-changelog conventional-changelog: < 2.0.0
- @conventional-changelog/git-client (npm): before 2.0.0

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:H`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:H`

## References

- <https://github.com/conventional-changelog/conventional-changelog/security/advisories/GHSA-vh25-5764-9wcr> (web)
- <https://github.com/conventional-changelog/conventional-changelog/commit/d95c9ffac05af58228bd89fa0ba37ad65741c6a2> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-59433> (advisory)
- <https://github.com/conventional-changelog/conventional-changelog> (package)

## Sources

- CVE List: [CVE-2025-59433](https://www.cve.org/CVERecord?id=CVE-2025-59433), CVE Terms of Use, modified 2025-09-22
- GitHub Advisory Database: [GHSA-vh25-5764-9wcr](https://github.com/advisories/GHSA-vh25-5764-9wcr), CC-BY-4.0, modified 2025-09-22
- NVD: [CVE-2025-59433](https://nvd.nist.gov/vuln/detail/CVE-2025-59433), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-59433 · Whole record: https://cve.day/CVE-2025-59433.json · Rebuilt by cve.day 2026-11-25T22:59:05.006Z
