Samsung/CredSweeper · CredSweeper GitHub Action argument injection allows arbitrary command execution via --log_config
Affects Samsung/CredSweeperSource GCVE Database
CVSS 7.1 High : upgrade to 1.17.0 soon.
Data as of 3 Dec 2026, 02:49 UTC
- Patch
- Available – fixed in 1.17.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:NWhat to do
Upgrade Samsung/CredSweeper to 1.17.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| GitHubSamsung/CredSweeper | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in CredSweeper version 1.17.0, which addresses the unsafe handling of CLI arguments in the GitHub Action. Users should upgrade to version 1.17.0 or later. Until upgraded, avoid passing untrusted inputs to the 'error' and 'hashed' parameters of the GitHub Action. No other mitigations are specified by the vendor advisory.
Description
CredSweeper GitHub Action versions from 1.11.6 up to but not including 1.17.0 allow arbitrary command execution via the --log_config argument. The GitHub Action passes user-controlled inputs directly as CLI arguments to CredSweeper, enabling an attacker to inject a malicious logging configuration file. This file is processed by Python's logging.config.dictConfig, which supports callable factories, allowing execution of arbitrary commands on the GitHub Actions runner.
References
- github.com/Samsung/CredSweeper/security/advisories/GHSA-q5pw-pp6j-mvfc (opens in a new tab)
- github.com/Samsung/CredSweeper/commit/088249b11bd7832afa0051d6bdfb1d1d16aa1b1f (opens in a new tab)
- github.com/Samsung/CredSweeper (opens in a new tab)
- github.com/Samsung/CredSweeper/releases/tag/v1.17.0 (opens in a new tab)