Home / cookpete / auto-changelog / CVE-2026-12171
CVE-2026-12171: is it exploited, and which versions of cookpete auto-changelog are affected and fixed?
CVE-2026-12171 is an inclusion of code from an untrusted source vulnerability in cookpete auto-changelog. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: auto-changelog before 2.6.1 (CVE record by harborist). Fixed in 2.6.1 (CVE record by harborist). Severity: High (8.4, CVSS 4.0, from harborist).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:06 UTC.
What is CVE-2026-12171?
auto-changelog: code execution via untrusted in-repository configuration (handlebarsSetup/plugins), plus argument injection, path traversal, and SSRF
auto-changelog before 2.6.1 merges configuration from inside the target repository (the .auto-changelog file and the auto-changelog key in package.json) into its options, and honors security-sensitive options from that untrusted source. The handlebarsSetup option is passed to require(), so running auto-changelog over attacker-controlled repository content (for example, in a CI workflow that checks out an untrusted pull request head, or locally on a forked or third-party repository) executes attacker-chosen code with the privileges of the invoking user or CI job, including access to workflow secrets, without the repository dependencies ever being installed. The plugins option similarly loads attacker-controlled modules from the repository. Under the same conditions, appendGitLog/appendGitTag allow git argument injection (e.g. --output= to write arbitrary files), output allows writing attacker-influenced content to arbitrary paths, and template causes an outbound request to an attacker-chosen URL. Version 2.6.1 treats in-repository configuration as untrusted and refuses to run when it sets these options, unless the new --unsafe-config flag is passed.
From the CVE record by harborist, last updated October 5, 2026, 19:04 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| cookpete | auto-changelog | before 2.6.1 | 2.6.1 |
As the CVE record by harborist states it, last updated October 5, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-12171?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.4 | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | harborist |
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | harborist |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-12171 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, October 5, 2026)
- EPSS
- 0.22% probability of exploitation activity in the next 30 days, percentile 13.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-829 Inclusion of Functionality from Untrusted Control Sphere
- CWE-94 Improper Control of Generation of Code
- CWE-88 Improper Neutralization of Argument Delimiters in a Command
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
- CWE-918 Server-Side Request Forgery
How do I fix it? (from the CVE record)
Upgrade to auto-changelog 2.6.1 or later. Options that load code, inject git arguments, write outside the repository, or fetch URLs must now be passed on the command line; `--unsafe-config` restores the old behavior for fully trusted repositories only.
Is there a workaround? (from the CVE record)
Do not run auto-changelog over untrusted repository content, including CI workflows that check out pull request heads from forks.
Where are the vendor advisories and references?
- https://github.com/cookpete/auto-changelog/security/advisories/GHSA-xpvr-2hvx-m8q4 vendor-advisory
- https://github.com/cookpete/auto-changelog/commit/1d02a48a0a57c69a3cd268aca375d64d50877c1a patch
Who found and reported it?
- d00xy-hash (finder)
- Jordan Harband (ljharb) (coordinator)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- June 12, 2026
- Published
- October 5, 2026, 16:25 UTC
- CVE record updated
- October 5, 2026, 19:04 UTC by harborist
- NVD
- Deferred, last modified October 6, 2026, 16:08 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:06 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2026-12171
Is CVE-2026-12171 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.22% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of cookpete auto-changelog are affected by CVE-2026-12171?
auto-changelog before 2.6.1, per the CVE record by harborist. The tables above give every range the sources list.
Which version fixes CVE-2026-12171?
2.6.1, per the CVE record by harborist. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-12171?
High (8.4, CVSS 4.0, from harborist). The severity table above shows each score with its source.
Where is the official record of CVE-2026-12171?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.