CVE-2026-51583: Go Base64 Decode Error Swallowed

Base64 decoding error is silently swallowed when processing input. If base64 decoding fails, execution continues without error handling, potentially using unvalidated raw string data as a key or payload. Check `if err != nil` and handle or return the decoding error explicitly.

Provally CuratedPublic repositoryMediumHigh confidenceVerifiedApache-2.0Go
greprules fetch cve-2026-51583-go-base64-decode-error-swallowed --engine opengrep

Description

Base64 decoding error is silently swallowed when processing input. If base64 decoding fails, execution continues without error handling, potentially using unvalidated raw string data as a key or payload. Check `if err != nil` and handle or return the decoding error explicitly.