2.0low
loggingredactor converts non-string types to string types in logs
- Severity
- 2.0low CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.27% (higher than 20% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-rvjx-cfjh-5mc9PYSEC-2026-1582
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
| Product or package | Versions | Reported by |
|---|---|---|
| armurox loggingredactor | < 0.0.6 | CVE List |
| loggingredactor (PyPI) | before 0.0.6 | GitHub Advisory Database, PyPA Advisory Database |
| armurox logging_redactor | before 0.0.6 | NVD |
All scores
| GitHub_M | 2.0low CVSS:4.0 | 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 |
| GitHub | low CVSS:4.0 | 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 |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| PyPA Advisory Database | Not scored CVSS:4.0 | 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 |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
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
NVD (es)
Logging Redactor es una biblioteca de Python diseñada para redactar datos sensibles en registros basándose en patrones de expresiones regulares y/o claves de diccionario. Antes de la versión 0.0.6, los tipos no-cadena se convierten en tipos cadena, lo que provoca errores de tipo en las conversiones %d. El problema ha sido parcheado en la versión 0.0.6. No se conocen soluciones alternativas disponibles.
References
| https://github.com/armurox/loggingredactor/security/advisories/GHSA-rvjx-cfjh-5mc9 | vendor-advisory, web | |
| https://github.com/armurox/loggingredactor/issues/7 | exploit, issue-tracking, web | |
| https://github.com/armurox/loggingredactor/releases/tag/0.0.6 | release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-22041 | advisory | |
| https://github.com/armurox/loggingredactor | package | |
| https://pypi.org/project/loggingredactor | package | |
| https://github.com/advisories/GHSA-rvjx-cfjh-5mc9 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-22041 changed 2026-01-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-rvjx-cfjh-5mc9 changed 2026-07-07 | CC-BY-4.0 |
| NVD | CVE-2026-22041 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-1582 changed 2026-07-07 | CC-BY-4.0 |