Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
6.8
CVE-2026-22041: loggingredactor may cause crashes when logging numbers
CVE-2026-22041 · published 10 months ago
Summary
The loggingredactor Python library (armanjasuja/loggingredactor and armurox/logging_redactor) changes non‑text data into text before writing logs, which can trigger errors when numeric values are formatted. This can stop logging or crash applications that rely on it. Upgrade to version 0.0.6 or later, where the issue is fixed.
What to do
- Update arman jasuja loggingredactor to version 0.0.6.
- Update armurox logging_redactor to version 0.0.6 or later.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| pip | arman jasuja | loggingredactor |
< 0.0.6 Fix: upgrade to 0.0.6
|
| – | armurox | logging_redactor |
< 0.0.6 cpe:2.3:a:armurox:logging_redactor:*:*:*:*:*:python:*:* |
Original advisory text
loggingredactor converts non-string types to string types in logs
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.
References
- https://github.com/advisories/GHSA-rvjx-cfjh-5mc9
- https://github.com/armurox/loggingredactor/releases/tag/0.0.6 URL
- https://github.com/armurox/loggingredactor/security/advisories/GHSA-rvjx-cfjh-5m... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-22041 Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22041... Vendor Advisory
- https://github.com/armurox/loggingredactor/issues/7 Third Party Advisory
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Severity
6.8
Medium
Type
CWE-704Incorrect Type Conversion or Cast
Timeline
Published8 Jan 2026
Updated3 Nov 2026
First seen6 Mar 2026
Track software like this
Free during beta