CVE-2026-22041: Loggingredactor Loggingredactor Converts Non-string Types To Vulnerability
LOWCVE-2026-22041 is a LOW loggingredactor converts non-string types to vulnerability (CWE-704: Incorrect Type Conversion or Cast) affecting Loggingredactor libraries in the PyPI ecosystem. The issue involves loggingredactor converts non-string types to string types in logs. Remediation is available by upgrading affected packages to version 0.0.6.
CVE-2026-22041 at a Glance
How to Fix CVE-2026-22041
To remediate this vulnerability, upgrade all affected Loggingredactor dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install loggingredactor>=0.0.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show loggingredactor
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-22041, inspect your installed packages using pip:
pip show loggingredactor
Analyze the terminal output to locate any version of Loggingredactor in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.6), your application is affected.
Note: The pip show loggingredactor command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-704: Incorrect Type Conversion or Cast, where the product does not correctly convert an object, resource, or structure from one type to a different type. In Loggingredactor, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-22041 Affected Loggingredactor Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
loggingredactor
|
PyPI |
< 0.0.6
|
0.0.6
|
References
Frequently Asked Questions
What is CVE-2026-22041?
Which Loggingredactor versions are affected?
What version fixes CVE-2026-22041?
Is loggingredactor affected?
What CWE is associated with CVE-2026-22041?
How can I check PyPI dependencies for CVE-2026-22041?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rvjx-cfjh-5mc9",
"modified" : "2026-01-08T21:19:18Z",
"published" : "2026-01-07T19:28:46Z",
"aliases" : [ "CVE-2026-22041" ],
"summary" : "loggingredactor converts non-string types to string types in logs",
"details" : "### 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",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "loggingredactor"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.6"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/armurox/loggingredactor/security/advisories/GHSA-rvjx-cfjh-5mc9"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-22041"
}, {
"type" : "WEB",
"url" : "https://github.com/armurox/loggingredactor/issues/7"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/armurox/loggingredactor"
}, {
"type" : "WEB",
"url" : "https://github.com/armurox/loggingredactor/releases/tag/0.0.6"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-704" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-07T19:28:46Z",
"nvd_published_at" : "2026-01-08T15:15:45Z"
}
}