{"id":"CVE-2026-22041","aliases":["CVE-2026-22041","GHSA-rvjx-cfjh-5mc9","PYSEC-2026-1582"],"related":[],"kind":"vulnerability","state":"published","title":"loggingredactor converts non-string types to string types in logs","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nNon-string types are converted into string types, leading to type errors in %d conversions.\n\n### Patches\nThe problem has been patched in version 0.0.6.\n\n### Workarounds\nNone without patching.\n\n### Resources\nIssue report: https://github.com/armurox/loggingredactor/issues/7\nRelease: https://github.com/armurox/loggingredactor/releases/tag/0.0.6","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-01-07T19:28:46.000Z","modified":"2026-07-07T17:57:20.454Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":2,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":2,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","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"}],"cwes":["CWE-704"],"affected":[{"ranges":[{"version":"< 0.0.6","status":"affected"}],"vendor":"armurox","product":"loggingredactor","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.0.6"}],"ecosystem":"PyPI","package":"loggingredactor","purl":"pkg:pypi/loggingredactor","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.0.6"}],"vendor":"armurox","product":"logging_redactor","cpe":"cpe:2.3:a:armurox:logging_redactor:*:*:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.0.6"}],"ecosystem":"PyPI","package":"loggingredactor","purl":"pkg:pypi/loggingredactor","source":"pysec"}],"references":[{"url":"https://github.com/armurox/loggingredactor/security/advisories/GHSA-rvjx-cfjh-5mc9","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/armurox/loggingredactor/issues/7","tags":["exploit","issue-tracking","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/armurox/loggingredactor/releases/tag/0.0.6","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22041","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/armurox/loggingredactor","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/loggingredactor","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-rvjx-cfjh-5mc9","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-01-08T15:50:55.740Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-22041","url":"https://www.cve.org/CVERecord?id=CVE-2026-22041","licence":"CVE Terms of Use","modified":"2026-01-08T15:54:57.412Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rvjx-cfjh-5mc9","url":"https://github.com/advisories/GHSA-rvjx-cfjh-5mc9","licence":"CC-BY-4.0","modified":"2026-07-07T17:57:20.454Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-22041","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22041","licence":"Public domain","modified":"2026-06-17T10:19:24.653Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1582","url":"https://osv.dev/vulnerability/PYSEC-2026-1582","licence":"CC-BY-4.0","modified":"2026-07-07T17:46:55.181Z"}],"updatedAt":"2026-11-25T22:59:12.668Z","epss":{"score":0.00271,"percentile":0.20853,"date":"2026-12-01T12:00:22.000Z"}}