Improper Authorization Affecting github.com/juju/juju/apiserver package, versions <2.9.52>=3.1.6 <3.6.8


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.18% (41st 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-GITHUBCOMJUJUJUJUAPISERVER-10703700
  • published11 Jul 2025
  • disclosed9 Jul 2025
  • creditThomas Miller

Introduced: 9 Jul 2025

NewCVE-2025-0928  (opens in a new tab)
CWE-285  (opens in a new tab)

How to fix?

Upgrade github.com/juju/juju/apiserver to version 2.9.52, 3.6.8 or higher.

Overview

Affected versions of this package are vulnerable to Improper Authorization via the toolsUploaderHandler function. An attacker can execute arbitrary code and compromise the integrity, confidentiality, and availability of the system by uploading malicious binaries through an authenticated endpoint without proper authorization checks.

Note:

This is only exploitable if the attacker has a valid user account on the controller, regardless of assigned permissions or model access.

CVSS Base Scores

version 4.0
version 3.1