Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/bitnami-labs/sealed-secrets
  4. ›
  5. CVE-2026-22728

CVE-2026-22728: Sealed Secrets for Kubernetes: Rotate API Allows Scope Widening from Strict/Namespace-Wide to Cluster-Wide via Untrusted Template Annotations

February 26, 2026

This report shows a scope-widening issue in the rotate (re-encrypt) flow: the output scope can be derived from untrusted spec.template.metadata.annotations on the input sealed secret.

If a victim sealed secret is strict- or namespace-scoped, an attacker who can submit it to the rotate endpoint can set sealedsecrets.bitnami.com/cluster-wide=true in the template metadata and receive a rotated sealed secret that is cluster-wide, enabling retargeting (metadata.name/metadata.namespace) and unsealing to recover the victim plaintext.

References

  • github.com/advisories/GHSA-465p-v42x-3fmj
  • github.com/bitnami-labs/sealed-secrets
  • github.com/bitnami-labs/sealed-secrets/commit/d57ee4a8357d250e602b995399b525496ab688c1
  • github.com/bitnami-labs/sealed-secrets/releases/tag/v0.36.0
  • github.com/bitnami-labs/sealed-secrets/security/advisories/GHSA-465p-v42x-3fmj
  • nvd.nist.gov/vuln/detail/CVE-2026-22728

Code Behaviors & Features

Detect and mitigate CVE-2026-22728 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.36.0

Fixed versions

  • 0.36.0

Solution

Upgrade to version 0.36.0 or above.

Impact 4.9 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control

Source file

go/github.com/bitnami-labs/sealed-secrets/CVE-2026-22728.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:17:55 +0000.