Vulnerability · Published Jan 8, 2026 · Assigned by GitHub_M
CVE-2026-22041loggingredactor converts non-string types to string types in logs
Low 2.0
In plain English
A low-severity security flaw in loggingredactor from armurox. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 20% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Logging Redactor is a Python library designed to redact sensitive data in logs based on regex patterns and / or dictionary keys. Prior to version 0.0.6, non-string types are converted into string types, leading to type errors in %d conversions. The problem has been patched in version 0.0.6. No known workarounds are available.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | loggingredactor | 0.0.6 | GHSA-rvjx-cfjh-5mc9 |
| PyPI | loggingredactor | 0.0.6 | PYSEC-2026-1582 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| armurox | loggingredactor | < 0.0.6 |
Weakness: CWE-704 · Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
References
- https://github.com/armurox/loggingredactor/security/advisories/GHSA-rvjx-cfjh-5mc9 x_refsource_CONFIRM
- https://github.com/armurox/loggingredactor/issues/7 x_refsource_MISC
- https://github.com/armurox/loggingredactor/releases/tag/0.0.6 x_refsource_MISC