Fedora Account System
Red Hat Associate
Red Hat Customer
The cluster-backup-operator passes Restore.spec.namespaceMapping verbatim into the Velero Restore object (controllers/restore.go:878-880) with no restriction on target namespaces. The same function hardcodes ExistingResourcePolicy=update (line 856), so name-colliding resources in the mapped target namespace are overwritten. The credentials backup (controllers/backup.go:123-126) contains Secret and ConfigMap objects from ACM/Hive-labelled namespaces including cloud-provider credentials, pull secrets, and ManagedServiceAccount tokens. A namespace-admin in open-cluster-management-backup can create a Restore CR with a namespaceMapping that redirects these credential Secrets into any target namespace — including namespaces the attacker controls — providing a cross-namespace write primitive for credential material. The validating webhook (restore_webhook.go:80-91) and CRD validation never inspect NamespaceMapping targets. Confirmed by static triage at SHA 7f488e2e and live validation. Root cause not addressed at HEAD 6248fd4.