JujuApplication · Canonical

CVE-2026-4370

CRITICAL · 10.0 CVSS v3.1 Published 2026-04-01
Fix available
A fix is available. Upgrade to 3.6.20 / 4.0.5 or later.
See remediation →
100/100
Remediation priority · Urgent
Public exploit Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
A vulnerability was identified in Juju from version 3.2.0 until 3.6.19 and from version 4.0 until 4.0.4, where the internal Dqlite database cluster fails to perform proper TLS client and server authentication. Specifically, the Juju controller's database endpoint does not validate client certificates when a new node attempts to join the cluster. An unauthenticated attacker with network reachability to the Juju controller's Dqlite port can exploit this flaw to join the database cluster. Once joined, the attacker gains full read and write access to the underlying database, allowing for total data compromise.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The Juju controller's Dqlite database cluster lacks TLS client certificate validation, allowing any node with network access to join the cluster without authentication. An unauthenticated attacker can exploit this to gain full read/write access to the entire database.

MitigationUpgrade Juju to version 3.6.20 or later, or 4.0.5 or later to resolve the TLS authentication bypass. As a temporary control, restrict network access to the Dqlite port.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
JujuApplication
Affected:>= 3.2.0, < 3.6.20>= 4.0, < 4.0.5

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify Juju version
    Run 'juju version' on the controller machine or check via 'juju controller-models' output. Alternatively, check package manager: 'snap list juju' or 'apt list --installed | grep juju'
    Affected if Version is >= 3.2.0 and < 3.6.20, OR >= 4.0 and < 4.0.5
  2. Confirm Dqlite is in use
    Juju controllers use Dqlite by default. Check for Dqlite process: 'ps aux | grep dqlite' or check if port 17017 is listening: 'ss -tlnp | grep 17017' or 'netstat -tlnp | grep 17017'
    Affected if Dqlite is running and listening on port 17017 (the default Dqlite port)
  3. Verify network exposure of Dqlite port
    Check if port 17017 is exposed to untrusted networks: 'ss -tlnp | grep 17017' or 'iptables -L -n | grep 17017'. Check firewall rules and cloud security groups for inbound rules allowing traffic on port 17017 from non-cluster IPs
    Affected if Port 17017 is accessible from networks other than the trusted cluster member IPs

You are affected if your Juju version falls within the vulnerable range AND Dqlite is active AND the Dqlite port (17017) is exposed to untrusted network segments.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 3.6.20 / 4.0.5 or later
Fixed in 3.6.204.0.5
Interim mitigation

Upgrade Juju to version 3.6.20 or later, or 4.0.5 or later to resolve the TLS authentication bypass. As a temporary control, restrict network access to the Dqlite port.

Recommended fix High confidence

Juju 3.6.20+ or 4.0.5+ (depending on which major version line you are on)

  1. Identify the currently installed Juju version using `juju version`
  2. If running Juju 3.x (version >= 3.2.0 and < 3.6.20), upgrade to version 3.6.20 or later by following the official Juju upgrade documentation
  3. If running Juju 4.x (version >= 4.0.0 and < 4.0.5), upgrade to version 4.0.5 or later by following the official Juju upgrade documentation
  4. After upgrade, verify the new version is running using `juju version`
  5. Ensure the Dqlite cluster is functioning properly post-upgrade
Caveat Review Juju release notes for any breaking changes between your current version and the target upgrade version before proceeding

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Juju Scoped from the published advisory
  • Consultation4.0 h
  • Implementation6.0 h
  • Testing3.0 h
  • Review / QA2.0 h
15.0 hours of engineering $2,690
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,304.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-4370 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-4370 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data