- Severity: HIGH
- Ecosystems: actions
- Packages: Samsung/CredSweeper
### Summary
The CredSweeper GitHub Action passes user-controlled inputs into the CredSweeper CLI as raw arguments. An attacker who can influence those action inputs can inject `–log_config `, which makes CredSweeper load attacker-chosen logging configuration and pass it into Python’s `logging.config.dictConfig(…)`. Because logging configuration supports callable factories through the `()` key, this leads to arbitrary command execution on the GitHub Actions runner.
Tested against the current upstream checkout:
– repository: `https://github.com/Samsung/CredSweeper`
– commit: `ed491f25ea4d6f766a0b3b89b5e0a5eb6dc01ae1`
– version: `1.16.0`
This advisory scopes the affected range to `>= 1.11.6`, the first release containing the current composite GitHub Action form that passes `error` and `hashed` directly as raw CLI tokens.
The underlying `–log_config` execution sink also reproduces on older releases, including `v1.4.3`, but the report below is intentionally limited to the currently published Action wrapper issue.
### Details
The vulnerability is caused by the combination of unsafe action input handling and a trusted-only configuration feature exposed to those inputs.
#### Current vulnerable action path
In the current `action.yml`, the `error` and `hashed` inputs are presented like boolean-style flags, but they are actually free-form strings:
“`yaml
inputs:
hashed:
description: “Report output is hashed by default”
default: “–hashed”
required: false
error:
desc…
Source: GitHub Security Advisories · 2026-12-03