CVE-2026-53912: Non Recursive Sensitive Data Redaction

A loop looking for sensitive dictionary keys (like 'password') redacts them at the top level but fails to traverse nested arrays. With JSON columns and complex objects, nested payloads may bypass the top-level checks and expose sensitive data in logs or API responses. Ensure redaction loops verify if the value is an iterative type (like an array) and branch

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0PHP
greprules fetch cve-2026-53912-non-recursive-sensitive-data-redaction --engine opengrep

Description

A loop looking for sensitive dictionary keys (like 'password') redacts them at the top level but fails to traverse nested arrays. With JSON columns and complex objects, nested payloads may bypass the top-level checks and expose sensitive data in logs or API responses. Ensure redaction loops verify if the value is an iterative type (like an array) and branch