Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-5774

CVE-2026-5774: Canonical Juju API Server DoS Vulnerability

CVE-2026-5774 is a denial of service vulnerability in Canonical Juju API server caused by improper synchronization. Authenticated users may exploit this to cause DoS or reuse tokens. This post covers technical details, affected versions, impact, and mitigation strategies.

Published: April 17, 2026

CVE-2026-5774 Overview

CVE-2026-5774 is a race condition vulnerability affecting Canonical Juju, a popular open-source application modeling tool used for deploying, configuring, and managing applications across multiple cloud platforms. The vulnerability stems from improper synchronization of the userTokens map in the API server, which may allow an authenticated user to cause a denial of service on the server or potentially reuse a single-use discharge token.

Critical Impact

Authenticated attackers can exploit this race condition to disrupt Juju API server availability or potentially bypass single-use token protections, affecting infrastructure management operations.

Affected Products

  • Canonical Juju 4.0.5
  • Canonical Juju 3.6.20
  • Canonical Juju 2.9.56

Discovery Timeline

  • 2026-04-10 - CVE-2026-5774 published to NVD
  • 2026-04-13 - Last updated in NVD database

Technical Details for CVE-2026-5774

Vulnerability Analysis

This vulnerability is classified under CWE-362 (Concurrent Execution using Shared Resource with Improper Synchronization), commonly known as a race condition. The flaw exists within the Juju API server's handling of the userTokens map, a shared resource that manages authentication tokens for connected users.

When multiple API requests attempt to access or modify the userTokens map concurrently without proper synchronization primitives (such as mutexes or read-write locks), the system becomes susceptible to race conditions. This can result in two primary impacts: first, the API server may crash or become unresponsive due to corrupted state, leading to a denial of service condition; second, timing-based exploitation could potentially allow an attacker to reuse a discharge token that was intended for single use only.

The network-based attack vector requires authentication, limiting exploitation to users who already have valid credentials to the Juju controller. However, in multi-tenant or shared environments, this could allow a malicious authenticated user to impact the availability of the management plane for other legitimate users.

Root Cause

The root cause of this vulnerability is the absence of proper synchronization mechanisms when accessing the userTokens map in the Juju API server. In Go, maps are not safe for concurrent use without explicit synchronization. When multiple goroutines access the map simultaneously—particularly when at least one is writing—undefined behavior can occur, including data corruption, panics, or inconsistent reads.

The userTokens map likely stores discharge tokens used in Macaroon-based authentication, where single-use tokens are critical for preventing replay attacks. Without proper locking, the check-then-use pattern for these tokens becomes vulnerable to time-of-check time-of-use (TOCTOU) conditions.

Attack Vector

The vulnerability is exploitable over the network by authenticated users. An attacker would need valid credentials to the Juju controller to exploit this flaw. The attack scenario involves sending concurrent API requests designed to trigger race conditions in the token handling code.

The exploitation mechanism involves timing-based attacks where an attacker sends multiple simultaneous requests that interact with the userTokens map. Due to the lack of synchronization, there's a window where a single-use token could be validated multiple times before being invalidated, or where concurrent modifications could cause the server to panic.

For detailed technical analysis and the actual fix implementation, refer to the GitHub Security Advisory GHSA-7m55-2hr4-pw78 and the associated pull requests #22205 and #22206.

Detection Methods for CVE-2026-5774

Indicators of Compromise

  • Unexpected Juju API server crashes or restarts, particularly with panic messages related to concurrent map access
  • Anomalous spikes in authentication-related API requests from single users
  • Log entries indicating token reuse or authentication anomalies
  • Multiple simultaneous connections from the same user performing rapid token operations

Detection Strategies

  • Monitor Juju controller logs for Go runtime panics related to concurrent map writes
  • Implement alerting for unusual patterns of API authentication failures or token validation errors
  • Deploy network monitoring to detect high-frequency API request patterns that could indicate exploitation attempts
  • Review audit logs for evidence of discharge token reuse across multiple sessions

Monitoring Recommendations

  • Enable verbose logging on Juju controllers to capture detailed authentication flow information
  • Set up application performance monitoring (APM) to detect latency spikes or error rate increases in the API server
  • Configure process monitoring to alert on unexpected Juju controller restarts
  • Implement rate limiting on authentication endpoints to reduce the attack surface for race condition exploitation

How to Mitigate CVE-2026-5774

Immediate Actions Required

  • Identify all Juju deployments running affected versions (4.0.5, 3.6.20, or 2.9.56)
  • Review the security advisory and apply the patches from the referenced pull requests
  • Restrict network access to Juju controllers to trusted networks only
  • Implement additional authentication controls and monitoring while awaiting patch deployment

Patch Information

Canonical has addressed this vulnerability through pull requests #22205 and #22206. These patches introduce proper synchronization mechanisms to the userTokens map handling in the API server. Organizations should upgrade to patched versions of Juju as soon as they become available through official Canonical channels.

For detailed patch information and upgrade instructions, consult the GitHub Security Advisory GHSA-7m55-2hr4-pw78.

Workarounds

  • Implement network-level access controls to limit which users and systems can reach the Juju API server
  • Deploy a reverse proxy with rate limiting in front of the Juju controller to reduce concurrent request volume
  • Monitor and alert on authentication anomalies to detect potential exploitation attempts
  • Consider temporarily restricting API access to essential operations only until patches can be applied
bash
# Example: Restrict Juju API access using firewall rules
# Limit access to Juju controller port (default 17070) to trusted networks
sudo ufw allow from 10.0.0.0/8 to any port 17070
sudo ufw deny 17070

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechJuju

  • SeverityMEDIUM

  • CVSS Score6.0

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-362
  • Technical References
  • GitHub Pull Request #22205

  • GitHub Pull Request #22206

  • GitHub Security Advisory GHSA-7m55-2hr4-pw78
  • Related CVEs
  • CVE-2026-5412: Juju Information Disclosure Vulnerability

  • CVE-2025-68153: Juju Privilege Escalation Vulnerability

  • CVE-2025-68152: Juju Information Disclosure Vulnerability

  • CVE-2026-1237: Juju Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English