{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-75554",
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "state": "PUBLISHED",
        "assignerShortName": "EEF",
        "dateReserved": "2026-08-18T06:00:02.163Z",
        "datePublished": "2026-08-24T20:15:05.791Z",
        "dateUpdated": "2026-11-20T06:05:48.956Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "collectionURL": "https://hex.pm",
                    "cpes": [
                        "cpe:2.3:a:hexpm:hexpm:*:*:*:*:*:*:*:*"
                    ],
                    "defaultStatus": "unaffected",
                    "modules": [
                        "'Elixir.Hexpm.Permissions'",
                        "'Elixir.Hexpm.OAuth.Tokens'",
                        "'Elixir.HexpmWeb.API.OAuthController'"
                    ],
                    "packageName": "hex.pm",
                    "product": "hexpm",
                    "programFiles": [
                        "lib/hexpm/permissions.ex",
                        "lib/hexpm/oauth/tokens.ex",
                        "lib/hexpm_web/controllers/api/oauth_controller.ex"
                    ],
                    "programRoutines": [
                        {
                            "name": "'Elixir.Hexpm.Permissions':expand_repositories_scope/2"
                        },
                        {
                            "name": "'Elixir.Hexpm.OAuth.Tokens':create_for_user/6"
                        },
                        {
                            "name": "'Elixir.HexpmWeb.API.OAuthController':handle_refresh_token_grant/2"
                        }
                    ],
                    "vendor": "hexpm",
                    "versions": [
                        {
                            "lessThan": "2026-08-24",
                            "status": "affected",
                            "version": "2025-10-10",
                            "versionType": "date"
                        }
                    ]
                },
                {
                    "collectionURL": "https://github.com",
                    "cpes": [
                        "cpe:2.3:a:hexpm:hexpm:*:*:*:*:*:*:*:*"
                    ],
                    "defaultStatus": "unaffected",
                    "modules": [
                        "'Elixir.Hexpm.Permissions'",
                        "'Elixir.Hexpm.OAuth.Tokens'",
                        "'Elixir.HexpmWeb.API.OAuthController'"
                    ],
                    "packageName": "hexpm/hexpm",
                    "packageURL": "pkg:github/hexpm/hexpm",
                    "product": "hexpm",
                    "programFiles": [
                        "lib/hexpm/permissions.ex",
                        "lib/hexpm/oauth/tokens.ex",
                        "lib/hexpm_web/controllers/api/oauth_controller.ex"
                    ],
                    "programRoutines": [
                        {
                            "name": "'Elixir.Hexpm.Permissions':expand_repositories_scope/2"
                        },
                        {
                            "name": "'Elixir.Hexpm.OAuth.Tokens':create_for_user/6"
                        },
                        {
                            "name": "'Elixir.HexpmWeb.API.OAuthController':handle_refresh_token_grant/2"
                        }
                    ],
                    "repo": "https://github.com/hexpm/hexpm",
                    "vendor": "hexpm",
                    "versions": [
                        {
                            "lessThan": "50cffd206490c49c92d7b63c8505949682abedb0",
                            "status": "affected",
                            "version": "650faa03af511e74c1b3b49ec12d35666b6984c4",
                            "versionType": "git"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "cpeMatch": [
                                {
                                    "criteria": "cpe:2.3:a:hexpm:hexpm:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "50cffd206490c49c92d7b63c8505949682abedb0",
                                    "versionStartIncluding": "650faa03af511e74c1b3b49ec12d35666b6984c4",
                                    "vulnerable": true
                                }
                            ],
                            "negate": false,
                            "operator": "OR"
                        }
                    ],
                    "operator": "AND"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "finder",
                    "value": "Eric Meadows-Jönsson"
                },
                {
                    "lang": "en",
                    "type": "coordinator",
                    "value": "Jonatan Männchen / EEF"
                },
                {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "Eric Meadows-Jönsson"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>Insufficient Session Expiration vulnerability in the OAuth token refresh grant in hexpm hexpm allows a user removed from an organization to keep reading its private packages.</p>\n<p><code>expand_repositories_scope/3</code> in <code>lib/hexpm/permissions.ex</code> only rewrites the literal <code>repositories</code> scope, so an explicitly granted <code>repository:&lt;org&gt;</code> or <code>docs:&lt;org&gt;</code> scope passes through it untouched. The refresh grant re-derives a new token from the stored <code>granted_scopes</code>, which holds that expanded form, so every refresh reproduces the organization scope without revisiting membership. Because both CDN edges authorize repository access from the token claim without querying the database, an account removed from an organization retains read access for as long as it keeps refreshing, bounded by the 30 day refresh token lifetime rather than the 30 minute access token lifetime.</p>\n<p>This issue affects hex.pm: from 2025-10-10 before 2026-08-24; hexpm/hexpm: from 650faa03af511e74c1b3b49ec12d35666b6984c4 before 50cffd206490c49c92d7b63c8505949682abedb0.</p>"
                        },
                        {
                            "base64": false,
                            "type": "text/markdown",
                            "value": "Insufficient Session Expiration vulnerability in the OAuth token refresh grant in hexpm hexpm allows a user removed from an organization to keep reading its private packages.\n\n`expand_repositories_scope/3` in `lib/hexpm/permissions.ex` only rewrites the literal `repositories` scope, so an explicitly granted `repository:<org>` or `docs:<org>` scope passes through it untouched. The refresh grant re-derives a new token from the stored `granted_scopes`, which holds that expanded form, so every refresh reproduces the organization scope without revisiting membership. Because both CDN edges authorize repository access from the token claim without querying the database, an account removed from an organization retains read access for as long as it keeps refreshing, bounded by the 30 day refresh token lifetime rather than the 30 minute access token lifetime.\n\nThis issue affects hex.pm: from 2025-10-10 before 2026-08-24; hexpm/hexpm: from 650faa03af511e74c1b3b49ec12d35666b6984c4 before 50cffd206490c49c92d7b63c8505949682abedb0."
                        }
                    ],
                    "value": "Insufficient Session Expiration vulnerability in the OAuth token refresh grant in hexpm hexpm allows a user removed from an organization to keep reading its private packages.\n\nexpand_repositories_scope/3 in lib/hexpm/permissions.ex only rewrites the literal repositories scope, so an explicitly granted repository:<org> or docs:<org> scope passes through it untouched. The refresh grant re-derives a new token from the stored granted_scopes, which holds that expanded form, so every refresh reproduces the organization scope without revisiting membership. Because both CDN edges authorize repository access from the token claim without querying the database, an account removed from an organization retains read access for as long as it keeps refreshing, bounded by the 30 day refresh token lifetime rather than the 30 minute access token lifetime.\n\nThis issue affects hex.pm: from 2025-10-10 before 2026-08-24; hexpm/hexpm: from 650faa03af511e74c1b3b49ec12d35666b6984c4 before 50cffd206490c49c92d7b63c8505949682abedb0."
                }
            ],
            "impacts": [
                {
                    "capecId": "CAPEC-122",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-122 Privilege Abuse"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "Automatable": "NOT_DEFINED",
                        "Recovery": "NOT_DEFINED",
                        "Safety": "NOT_DEFINED",
                        "attackComplexity": "LOW",
                        "attackRequirements": "PRESENT",
                        "attackVector": "NETWORK",
                        "baseScore": 2.3,
                        "baseSeverity": "LOW",
                        "privilegesRequired": "LOW",
                        "providerUrgency": "NOT_DEFINED",
                        "subAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "LOW",
                        "subIntegrityImpact": "NONE",
                        "userInteraction": "NONE",
                        "valueDensity": "NOT_DEFINED",
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N",
                        "version": "4.0",
                        "vulnAvailabilityImpact": "NONE",
                        "vulnConfidentialityImpact": "LOW",
                        "vulnIntegrityImpact": "NONE",
                        "vulnerabilityResponseEffort": "NOT_DEFINED"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-613",
                            "description": "CWE-613 DEPRECATED: Insufficient Session Expiration",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
                "shortName": "EEF",
                "dateUpdated": "2026-11-20T06:05:48.956Z"
            },
            "references": [
                {
                    "tags": [
                        "vendor-advisory",
                        "related"
                    ],
                    "url": "https://github.com/hexpm/hexpm/security/advisories/GHSA-24ww-j3f4-p49c"
                },
                {
                    "name": "EEF CNA record for CVE-2026-75554",
                    "tags": [
                        "related"
                    ],
                    "url": "https://cna.erlef.org/cves/CVE-2026-75554.html"
                },
                {
                    "name": "OSV record EEF-CVE-2026-75554",
                    "tags": [
                        "related"
                    ],
                    "url": "https://osv.dev/vulnerability/EEF-CVE-2026-75554"
                },
                {
                    "name": "Introducing commit 650faa0 in hexpm/hexpm",
                    "tags": [
                        "related"
                    ],
                    "url": "https://github.com/hexpm/hexpm/commit/650faa03af511e74c1b3b49ec12d35666b6984c4"
                },
                {
                    "name": "Fix commit 50cffd2 in hexpm/hexpm",
                    "tags": [
                        "patch"
                    ],
                    "url": "https://github.com/hexpm/hexpm/commit/50cffd206490c49c92d7b63c8505949682abedb0"
                }
            ],
            "source": {
                "discovery": "INTERNAL"
            },
            "title": "Explicit organization scopes survive token refresh after membership ends"
        },
        "adp": [
            {
                "references": [
                    {
                        "url": "https://github.com/hexpm/hexpm/security/advisories/GHSA-24ww-j3f4-p49c",
                        "tags": [
                            "exploit"
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-08-25T19:52:35.290936Z",
                                "id": "CVE-2026-75554",
                                "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-08-25T19:53:55.535Z"
                }
            }
        ]
    }
}