{"answers":{"affected":"3 open source packages ship an affected version, including loggingredactor. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-22041 exists.","fix":"Upgrade loggingredactor to 0.0.6 or later.","what":"CVE-2026-22041 is a low-severity vulnerability in armurox loggingredactor, published on 8 Jan 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-22041 and fix it if it is affected.\n\nWhat it is: CVE-2026-22041 is a low-severity vulnerability in armurox loggingredactor, published on 8 Jan 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-22041 exists.\n\nAffected packages and fixed versions:\n- loggingredactor (PyPI): affected all versions; fixed in 0.0.6\n- loggingredactor (PyPI): affected all versions; fixed in 0.0.6\n- loggingredactor (PyPI): affected all versions; fixed in 0.0.6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-22041/ (Markdown: https://insights.sbomify.com/CVE-2026-22041/index.md)","id":"CVE-2026-22041","markdown":"https://insights.sbomify.com/CVE-2026-22041/index.md","name":"CVE-2026-22041","record":{"aliases":["GHSA-rvjx-cfjh-5mc9","PYSEC-2026-1582"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Python logging library","requires_auth":"none","summary":"An attacker can cause application crashes by triggering type errors in log formatting when non-string data is incorrectly converted to strings.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"logging_redactor","vendor":"armurox"}],"cvss":{"score":2,"severity":"low","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-704","name":"Incorrect Type Conversion or Cast"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"loggingredactor converts non-string types to string types in logs","id":"CVE-2026-22041","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"other","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"RustFS has IAM Incorrect Authorization in ImportIam that Allows Privilege Escalation","id":"CVE-2026-22042"},"packages":[{"ecosystem":"PyPI","fixed":["0.0.6"],"introduced":["0"],"last_affected":[],"package":"loggingredactor","purl":null,"source":"GHSA-rvjx-cfjh-5mc9"},{"ecosystem":"PyPI","fixed":["0.0.6"],"introduced":["0"],"last_affected":[],"package":"loggingredactor","purl":"pkg:pypi/loggingredactor","source":"GHSA-rvjx-cfjh-5mc9"},{"ecosystem":"PyPI","fixed":["0.0.6"],"introduced":["0"],"last_affected":[],"package":"loggingredactor","purl":"pkg:pypi/loggingredactor","source":"PYSEC-2026-1582"}],"prev":{"headline":"NanoMQ 0.24.6 Use-After-Free Leading to Heap Corruption and Broker Crash","id":"CVE-2026-22040"},"products":["loggingredactor"],"published":"2026-01-08","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-01-08","vendors":["armurox"]},"summary":"An attacker can cause application crashes by triggering type errors in log formatting when non-string data is incorrectly converted to strings.","url":"https://insights.sbomify.com/CVE-2026-22041/"}