GHSA-w7qv-268h-9h3f: Logging Redactor: PII data in str/repr of non primitive objects was not being redacted

Published Nov 3, 2026
·
Updated

Logging Redactor is a Python library designed to redact sensitive data in logs based on regex patterns and / or dictionary keys. Prior to 0.0.7, personally identifiable information returned by custom object str or repr methods is not redacted when such non-primitive objects are logged, causing sensitive values to appear in logs that are expected to mask them. This issue is fixed in version 0.0.7.

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Logging Redactor to a version that resolves this vulnerability.

    Fixed in 0.0.7

Event History

Nov 3, 2026
CVE Published
via OSV·06:21 PM
Data Sourced
via OSV·06:21 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using Logging Redactor before version 0.0.7 are exposed if they log custom, non-primitive Python objects whose __str__ or __repr__ output contains personally identifiable information. The issue affects log redaction based on configured regex patterns or dictionary keys for those object representations.

2

What does an attacker need to exploit this vulnerability?

No authentication or user interaction is required according to the supplied vector. Exploitation requires sensitive data to be included in the string or representation returned by a custom object's __str__ or __repr__ method and for that object to be logged.

3

How can I remediate the issue?

Upgrade Logging Redactor to version 0.0.7, which fixes redaction of PII in __str__ and __repr__ output from non-primitive objects.

4

How can I determine whether logs may already contain exposed data?

Review logs generated while using a version before 0.0.7 for entries involving custom object instances. Check whether their rendered __str__ or __repr__ values include PII that should have matched configured redaction regexes or dictionary-key rules.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203