Unauthenticated POST Endpoint Vulnerability in Sealed Secrets by Bitnami
CVE-2026-59341
What is CVE-2026-59341?
A security issue exists in the Sealed Secrets controller due to its unauthenticated POST endpoints. By submitting a custom payload with Go template logic in the spec.template.data field, an attacker with internal network access can exploit the handler as a decryption oracle. This vulnerability allows the extraction of sensitive secrets by leveraging the mapping of HTTP response codes to template execution outcomes. Specifically, successful template execution is indicated by an HTTP 200 status, while execution failures return an HTTP 409 status. This differential response can be exploited to iteratively reveal secrets through crafted requests, posing a serious security risk within Kubernetes environments.
Affected Version(s)
sealed-secrets 0 <= 0.38.4
sealed-secrets 0.40.0
