# CVE-2026-93336: Canonical Juju missing authorization in unit resources download

Source: https://junglewise.ai/threats/cve-2026-93336-missing-authorization-in-the-unit-resources-download-route-in  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-22. Updated: 2026-10-22  
License: CC BY 4.0 with a link back

CVE-2026-93336 · Severity: info · Published 2026-10-22

Canonical Juju is an orchestration engine for deploying and managing applications across cloud and on-premises infrastructure. A missing authorization check in the unit resources download endpoint allows any authenticated user or unit agent to read any application's charm resources from any model, including sensitive container-registry credentials, by requesting them with a crafted URL.

Technologies: [Canonical Juju](https://junglewise.ai/threats/technologies/juju). Vendors: [Canonical](https://junglewise.ai/threats/vendors/canonical).

## Quick answers

**Is CVE-2026-93336 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-93336 being exploited in the wild.

**How severe is CVE-2026-93336?** Informational severity, published 22 October 2026.

**Which products and versions are affected?** Canonical Juju 4.0 through 4.0.15.

**Is there a fix for CVE-2026-93336?** Yes: fixed in 4.0.16 and later. Until then: Restrict controller access to trusted principals only, and avoid storing sensitive credentials such as container-registry secrets in charm resources until upgrading. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-93336 attacked?** It is attacked over the network, in a hosted service.

**Am I affected by CVE-2026-93336?** Check whether you run Canonical Juju at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in 4.0.16 and later

Restrict controller access to trusted principals only, and avoid storing sensitive credentials such as container-registry secrets in charm resources until upgrading.

## Technical details

The GET /model/:modeluuid/units/:unit/resources/:resource endpoint was registered with a TODOAuthorizer and dropped authorization context tags during a 4.0 rewrite, allowing unauthenticated resource access. Any controller-authenticated principal—including a user with only login permission or a unit agent from another application—can bypass the check and stream arbitrary charm resources. The fix restricts the route to unit and application agents, requiring the authenticated tag to match the requested unit.

## Affected products

- Canonical Juju 4.0 through 4.0.15

## Timeline

- 2026-10-22: disclosed
- 2026-10-07: patched

## References

- [https://canonical.com/juju](https://canonical.com/juju)
- [https://github.com/juju/juju/pull/23360](https://github.com/juju/juju/pull/23360)

## Related threats

- [Canonical Juju improper authorization in Controller facade](https://junglewise.ai/threats/cve-2026-5412-canonical-juju-improper-authorization-in-controller-facade)
- [Canonical Juju incorrect authorization in resource handler](https://junglewise.ai/threats/cve-2025-68153-canonical-juju-incorrect-authorization-in-resource-handler)
- [Canonical Juju Incorrect Authorization in Debug Log Endpoint](https://junglewise.ai/threats/cve-2025-68152-canonical-juju-incorrect-authorization-in-debug-log-endpoint)
- [Juju has Improper TLS Client/Server authentication and certificate verification on Database Cluster](https://junglewise.ai/threats/cve-2026-4370-juju-has-improper-tls-client-server-authentication-and-certificate)
- [Canonical Juju IDOR in Juju Secrets](https://junglewise.ai/threats/cve-2026-32694-canonical-juju-idor-in-juju-secrets)
