Skip to main content
VulnerabilityPublished

Samsung/CredSweeper · CredSweeper GitHub Action argument injection allows arbitrary command execution via --log_config

Affects Samsung/CredSweeperSource GCVE Database

0

CVSS 7.1 High : upgrade to 1.17.0 soon.

Data as of 3 Dec 2026, 02:49 UTC

CVSS 3.1 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
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:N

What to do

Upgrade Samsung/CredSweeper to 1.17.0.

Affected software

ProductAffectedFixed in
GitHubSamsung/CredSweeperAffected
  • >=1.11.6 <1.17.0
Fixed in
  • 1.17.0

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

Community reviews

Loading reviews…