PyPA Advisory Database
PYSEC-2026-1582
loggingredactor converts non-string types to string types in logs
Details
Impact
Non-string types are converted into string types, leading to type errors in %d conversions.
Patches
The problem has been patched in version 0.0.6.
Workarounds
None without patching.
Resources
Issue report: https://github.com/armurox/loggingredactor/issues/7 Release: https://github.com/armurox/loggingredactor/releases/tag/0.0.6
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | loggingredactor | All versions before 0.0.6 (fixed in 0.0.6) |
References
- https://github.com/armurox/loggingredactor/security/advisories/GHSA-rvjx-cfjh-5mc9
- https://nvd.nist.gov/vuln/detail/CVE-2026-22041
- https://github.com/armurox/loggingredactor/issues/7
- https://github.com/armurox/loggingredactor
- https://github.com/armurox/loggingredactor/releases/tag/0.0.6
- https://pypi.org/project/loggingredactor
- https://github.com/advisories/GHSA-rvjx-cfjh-5mc9