@conventional-changelog/git-client has an Argument Injection vulnerability
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Low · Low · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-88.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| conventional-changelog | conventional-changelog | before 2.0.0 | 2.0.0 | Patch available | CNA |
| — | @conventional-changelog/git-client (npm) | before 2.0.0 | 2.0.0 | Patch available | GHSA-vh25-5764-9wcr |
- conventional-changelog Vendorconventional-changelog Affected before 2.0.0 Fixed in 2.0.0 Patch available CNA
- @conventional-changelog/git-client (npm) Vendor— Affected before 2.0.0 Fixed in 2.0.0 Patch available GHSA-vh25-5764-9wcr
Remediation
- Fix · CNA conventional-changelog (conventional-changelog) Fixed in 2.0.0
- Fix · GHSA-vh25-5764-9wcr @conventional-changelog/git-client (npm) Fixed in 2.0.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-59433
- 2026-10-03 Alias added: GHSA-vh25-5764-9wcr
References
Sources
- CVE-2025-59433 · CVE Program
- CVE-2025-59433 · NVD
- FIRST EPSS
- GHSA-vh25-5764-9wcr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences