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

- Severity: Low 2.0 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-07T19:28:46.000Z
- Modified: 2026-07-07T17:57:20.454Z
- Also known as: GHSA-rvjx-cfjh-5mc9, PYSEC-2026-1582
- Weaknesses: CWE-704
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- armurox loggingredactor: < 0.0.6
- loggingredactor (PyPI): before 0.0.6
- armurox logging_redactor: before 0.0.6

## Every score

- GitHub_M: CVSS:4.0 2.0 Low `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: CVSS:4.0 Low `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: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- PyPA Advisory Database: 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`

## References

- <https://github.com/armurox/loggingredactor/issues/7> (exploit, issue-tracking, web)
- <https://github.com/armurox/loggingredactor/security/advisories/GHSA-rvjx-cfjh-5mc9> (vendor-advisory, 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

- CVE List: [CVE-2026-22041](https://www.cve.org/CVERecord?id=CVE-2026-22041), CVE Terms of Use, modified 2026-01-08
- GitHub Advisory Database: [GHSA-rvjx-cfjh-5mc9](https://github.com/advisories/GHSA-rvjx-cfjh-5mc9), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2026-22041](https://nvd.nist.gov/vuln/detail/CVE-2026-22041), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1582](https://osv.dev/vulnerability/PYSEC-2026-1582), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2026-22041 · Whole record: https://cve.day/CVE-2026-22041.json · Rebuilt by cve.day 2026-11-25T22:59:12.668Z
