---
id: CVE-2026-22041
aliases:
  - GHSA-rvjx-cfjh-5mc9
  - PYSEC-2026-1582
title: loggingredactor converts non-string types to string types in logs
summary: loggingredactor converts non-string types to string types in logs
severity: low
vendor: loggingredactor
product: loggingredactor
ecosystem: pip
affected:
  - loggingredactor < 0.0.6
patched:
  - loggingredactor 0.0.6
published: '2026-01-07'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-rvjx-cfjh-5mc9'
references:
  - url: >-
      https://github.com/armurox/loggingredactor/security/advisories/GHSA-rvjx-cfjh-5mc9
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-22041'
  - url: 'https://github.com/armurox/loggingredactor/issues/7'
  - url: 'https://github.com/armurox/loggingredactor'
  - url: 'https://github.com/armurox/loggingredactor/releases/tag/0.0.6'
tags:
  - osv
  - pip
epss: 0.00265
epssPercentile: 0.16371
ingestedAt: '2026-07-08T18:25:53.031Z'
---

## Overview

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

## Affected packages

- `loggingredactor < 0.0.6`

## Remediation

Upgrade to a patched release:

- `loggingredactor 0.0.6`
