← Back to CVE Explorer

CVE-2026-5412

Full vulnerability record from the local CVENow database.

Description

In Juju versions prior to 2.9.57 and 3.6.21, an authorization issue exists in the Controller facade. An authenticated user can call the CloudSpec API method to extract the cloud credentials used to bootstrap the controller. This allows a low-privileged user to access sensitive credentials. This issue is resolved in Juju versions 2.9.57 and 3.6.21.

Severity
MEDIUM
CVSS score
6.5 (v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2026-04-10 13:16:45.780000
Last modified
2026-10-26 21:10:00.170000
View original CVE JSON
{
  "id": "CVE-2026-5412",
  "sourceIdentifier": "[email protected]",
  "published": "2026-04-10T13:16:45.780",
  "lastModified": "2026-10-26T21:10:00.170",
  "vulnStatus": "Analyzed",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In Juju versions prior to 2.9.57 and 3.6.21, an authorization issue exists in the Controller facade. An authenticated user can call the CloudSpec API method to extract the cloud credentials used to bootstrap the controller. This allows a low-privileged user to access sensitive credentials. This issue is resolved in Juju versions 2.9.57 and 3.6.21."
    },
    {
      "lang": "es",
      "value": "En versiones de Juju anteriores a 2.9.57 y 3.6.21, existe un problema de autorización en la fachada del Controlador. Un usuario autenticado puede llamar al método API CloudSpec para extraer las credenciales de la nube utilizadas para arrancar el controlador. Esto permite a un usuario con pocos privilegios acceder a credenciales sensibles. Este problema se resuelve en las versiones de Juju 2.9.57 y 3.6.21."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "Canonical",
          "product": "Juju",
          "defaultStatus": "unaffected",
          "collectionURL": "https://github.com/juju/",
          "packageName": "juju",
          "platforms": [
            "Linux"
          ],
          "repo": "https://github.com/juju/juju",
          "versions": [
            {
              "version": "2.9.0",
              "lessThan": "2.9.57",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "3.6.0",
              "lessThan": "3.6.21",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
          "baseScore": 9.9,
          "baseSeverity": "CRITICAL",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "LOW",
          "userInteraction": "NONE",
          "scope": "CHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 3.1,
        "impactScore": 6.0
      },
      {
        "source": "[email protected]",
        "type": "Primary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
          "baseScore": 6.5,
          "baseSeverity": "MEDIUM",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "LOW",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "NONE",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 2.8,
        "impactScore": 3.6
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-04-10T14:03:51.021044Z",
          "id": "CVE-2026-5412",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-285"
        }
      ]
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "operator": "OR",
          "negate": false,
          "cpeMatch": [
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:canonical:juju:*:*:*:*:*:*:*:*",
              "versionEndExcluding": "2.9.57",
              "matchCriteriaId": "A2161D9F-0627-4EAF-A6FD-81B9056D31FC"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:canonical:juju:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "3.6",
              "versionEndExcluding": "3.6.21",
              "matchCriteriaId": "2966CF99-1F57-40F3-8EFA-161BF47644DB"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/juju/juju/pull/22205",
      "source": "[email protected]",
      "tags": [
        "Issue Tracking",
        "Patch"
      ]
    },
    {
      "url": "https://github.com/juju/juju/pull/22206",
      "source": "[email protected]",
      "tags": [
        "Issue Tracking",
        "Patch"
      ]
    },
    {
      "url": "https://github.com/juju/juju/security/advisories/GHSA-w5fq-8965-c969",
      "source": "[email protected]",
      "tags": [
        "Exploit",
        "Third Party Advisory"
      ]
    }
  ]
}