Improper Authorization Affecting github.com/juju/juju/apiserver/common package, versions <2.9.58>=3.6-beta1 <3.6.21


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.45% (39th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMJUJUJUJUAPISERVERCOMMON-16322744
  • published30 Apr 2026
  • disclosed10 Apr 2026
  • creditalesstimec

Introduced: 10 Apr 2026

CVE-2026-5412  (opens in a new tab)
CWE-285  (opens in a new tab)

How to fix?

Upgrade github.com/juju/juju/apiserver/common to version 2.9.58, 3.6.21 or higher.

Overview

Affected versions of this package are vulnerable to Improper Authorization via the CloudSpec method on the Controller facade. An attacker can obtain sensitive cloud credentials by making an authenticated API call with only basic login permissions, without requiring elevated privileges. This is only exploitable if the attacker has login permission to a controller and knows the controller model UUID.

Workaround

This vulnerability can be mitigated by restricting ingress to the controller API port 17070 on all controller machines or the controller service.

CVSS Base Scores

version 4.0
version 3.1