CVE-2026-5412: Juju Cloudspec Newcloudspec Missing Authorizer

cloudspec.NewCloudSpec / NewCloudSpecV1 / NewCloudSpecV2 is being called with the legacy 6-argument signature (resources, getCloudSpec, watchCloudSpec, watchCloudSpecModelCredentialReference, watchCloudSpecCredentialContent, getAuthFunc). That signature does not propagate a names.ControllerTag or a facade.Authorizer into CloudSpecAPI, so the resulting CloudS

Provally CuratedPublic repositoryHighHigh confidenceVerifiedApache-2.0Go
greprules fetch cve-2026-5412-juju-cloudspec-newcloudspec-missing-authorizer --engine opengrep

Description

cloudspec.NewCloudSpec / NewCloudSpecV1 / NewCloudSpecV2 is being called with the legacy 6-argument signature (resources, getCloudSpec, watchCloudSpec, watchCloudSpecModelCredentialReference, watchCloudSpecCredentialContent, getAuthFunc). That signature does not propagate a names.ControllerTag or a facade.Authorizer into CloudSpecAPI, so the resulting CloudS