{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-5774",
        "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
        "state": "PUBLISHED",
        "assignerShortName": "canonical",
        "dateReserved": "2026-04-08T07:22:06.115Z",
        "datePublished": "2026-04-10T12:10:55.634Z",
        "dateUpdated": "2026-04-10T12:41:28.720Z"
    },
    "containers": {
        "cna": {
            "title": "Juju API Server Denial of Service and Authentication Replay via Unsynchronized Token Map",
            "affected": [
                {
                    "collectionURL": "https://github.com/juju/",
                    "defaultStatus": "unaffected",
                    "packageName": "juju",
                    "platforms": [
                        "Linux"
                    ],
                    "product": "Juju",
                    "repo": "https://github.com/juju/juju",
                    "vendor": "Canonical",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "2.0.0",
                            "lessThan": "2.9.57",
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "3.0.0",
                            "lessThan": "3.6.21",
                            "versionType": "semver"
                        },
                        {
                            "status": "affected",
                            "version": "4.0.0",
                            "lessThan": "4.0.6",
                            "versionType": "semver"
                        }
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Improper synchronization of the userTokens map in the API server in Canonical Juju 4.0.5, 3.6.20, and 2.9.56 may allow an authenticated user to possibly cause a denial of service on the server or possibly reuse a single-use discharge token."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-362",
                            "description": "CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "impacts": [
                {
                    "capecId": "CAPEC-26",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-26: Leveraging Race Conditions"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://github.com/juju/juju/security/advisories/GHSA-7m55-2hr4-pw78",
                    "name": "In-Memory Token Store for Discharge Tokens Lacks Concurrency Safety and Persistence",
                    "tags": [
                        "vdb-entry",
                        "vendor-advisory"
                    ]
                },
                {
                    "url": "https://github.com/juju/juju/pull/22206",
                    "tags": [
                        "patch",
                        "issue-tracking"
                    ]
                },
                {
                    "url": "https://github.com/juju/juju/pull/22205",
                    "tags": [
                        "patch",
                        "issue-tracking"
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ],
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "HIGH",
                        "attackRequirements": "PRESENT",
                        "privilegesRequired": "LOW",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "LOW",
                        "subConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "LOW",
                        "subIntegrityImpact": "NONE",
                        "vulnAvailabilityImpact": "HIGH",
                        "subAvailabilityImpact": "NONE",
                        "exploitMaturity": "NOT_DEFINED",
                        "Safety": "NOT_DEFINED",
                        "Automatable": "NOT_DEFINED",
                        "Recovery": "NOT_DEFINED",
                        "valueDensity": "NOT_DEFINED",
                        "vulnerabilityResponseEffort": "NOT_DEFINED",
                        "providerUrgency": "NOT_DEFINED",
                        "version": "4.0",
                        "baseSeverity": "MEDIUM",
                        "baseScore": 6.1,
                        "vectorString": "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"
                    }
                }
            ],
            "source": {
                "discovery": "EXTERNAL"
            },
            "providerMetadata": {
                "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
                "shortName": "canonical",
                "dateUpdated": "2026-04-10T12:10:55.634Z"
            }
        },
        "adp": [
            {
                "references": [
                    {
                        "url": "https://github.com/juju/juju/security/advisories/GHSA-7m55-2hr4-pw78",
                        "tags": [
                            "exploit"
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-04-10T12:41:23.862481Z",
                                "id": "CVE-2026-5774",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-04-10T12:41:28.720Z"
                }
            }
        ]
    }
}