Skip to content

CVE-2026-22041 loggingredactor converts non-string types to string types in logs

LowCVSS 2.0 EPSS 0.27%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
armurox logging redactor < 0.0.6 0.0.6 Fixed
pypi loggingredactor(PyPI) < 0.0.6; = 0.0.1; = 0.0.4; = 0.0.5 0.0.6 Fixed
armurox loggingredactor = < 0.0.6 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi loggingredactor(PyPI) < 0.0.6 0.0.6
pypi loggingredactor(PyPI) = 0.0.1 No fix listed
pypi loggingredactor(PyPI) = 0.0.4 No fix listed
pypi loggingredactor(PyPI) = 0.0.5 No fix listed
armurox loggingredactor = < 0.0.6 No fix listed
armurox logging redactor < 0.0.6 0.0.6

References