{"id":"GHSA-p795-mqf2-36mf","summary":"Backstage has a sensitive information disclosure in Kubernetes resource queries","details":"### Impact\n\nAn authenticated user holding the standard Kubernetes resource read permission could retrieve sensitive values that the Kubernetes plugin is designed to mask, potentially exposing credentials and other confidential material held in the connected clusters. Exposure is limited to resources that the Backstage service account is permitted to read and that match the targeted catalog entity's namespace and label selector. Deployments whose cluster credentials do not grant read access to these resources are unaffected.\n\n### Patches\n\nFixed in @backstage/plugin-kubernetes-backend version 0.21.9 \n\nOne behavior change is worth noting for adopters who expose custom resources: a custom resource whose list kind is reported by the API server as SecretList now has the values of its data field masked, matching how core Kubernetes Secrets have always been handled on other query paths.\n\n### Workarounds\n\n- Enable the permission framework and restrict `kubernetes.resources.read` to trusted users.\n- Scope the RBAC of the service account used to reach each cluster so that it cannot read sensitive resource types. The recommended `ClusterRole` in the Kubernetes plugin configuration documentation does not grant this access.","aliases":["CVE-2026-106561"],"modified":"2026-10-07T18:15:11.771769259Z","published":"2026-10-07T18:02:30Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2026-10-07T18:02:30Z","nvd_published_at":"2026-10-07T15:17:17Z","cwe_ids":["CWE-200","CWE-863"],"severity":"MODERATE"},"references":[{"type":"WEB","url":"https://github.com/backstage/backstage/security/advisories/GHSA-p795-mqf2-36mf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-106561"},{"type":"WEB","url":"https://github.com/backstage/backstage/commit/388926ae5734bc20bd6a1520d02896be834f6527"},{"type":"PACKAGE","url":"https://github.com/backstage/backstage"},{"type":"WEB","url":"https://github.com/backstage/backstage/releases/tag/v1.54.2"}],"affected":[{"package":{"name":"@backstage/plugin-kubernetes-backend","ecosystem":"npm","purl":"pkg:npm/%40backstage/plugin-kubernetes-backend"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.21.9"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-p795-mqf2-36mf/GHSA-p795-mqf2-36mf.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N"}]}