Lucene search
+L

CVE-2026-75542

🗓️ 24 Aug 2026 20:14:30Reported by EEFType 
cve
 cve
🔗 web.nvd.nist.gov👁 33 Views🌐 WEB

hex.pm OAuth scope validation flaw lets API key read another org's private packages.

Related
Detection
Affected
Refs
Paths
Vulners
Node
hexpmhexpmRange<2026-08-24
[
  {
    "collectionURL": "https://hex.pm",
    "cpes": [
      "cpe:2.3:a:hexpm:hexpm:*:*:*:*:*:*:*:*"
    ],
    "defaultStatus": "unaffected",
    "modules": [
      "'Elixir.HexpmWeb.API.OAuthController'",
      "'Elixir.Hexpm.OAuth.Tokens'"
    ],
    "packageName": "hex.pm",
    "product": "hexpm",
    "programFiles": [
      "lib/hexpm_web/controllers/api/oauth_controller.ex",
      "lib/hexpm/oauth/tokens.ex"
    ],
    "programRoutines": [
      {
        "name": "'Elixir.HexpmWeb.API.OAuthController':validate_scopes_against_key/2"
      },
      {
        "name": "'Elixir.Hexpm.OAuth.Tokens':create_for_org/6"
      }
    ],
    "vendor": "hexpm",
    "versions": [
      {
        "lessThan": "2026-08-24",
        "status": "affected",
        "version": "2025-10-18",
        "versionType": "date"
      }
    ]
  },
  {
    "collectionURL": "https://github.com",
    "cpes": [
      "cpe:2.3:a:hexpm:hexpm:*:*:*:*:*:*:*:*"
    ],
    "defaultStatus": "unaffected",
    "modules": [
      "'Elixir.HexpmWeb.API.OAuthController'",
      "'Elixir.Hexpm.OAuth.Tokens'"
    ],
    "packageName": "hexpm/hexpm",
    "packageURL": "pkg:github/hexpm/hexpm",
    "product": "hexpm",
    "programFiles": [
      "lib/hexpm_web/controllers/api/oauth_controller.ex",
      "lib/hexpm/oauth/tokens.ex"
    ],
    "programRoutines": [
      {
        "name": "'Elixir.HexpmWeb.API.OAuthController':validate_scopes_against_key/2"
      },
      {
        "name": "'Elixir.Hexpm.OAuth.Tokens':create_for_org/6"
      }
    ],
    "repo": "https://github.com/hexpm/hexpm",
    "vendor": "hexpm",
    "versions": [
      {
        "lessThan": "bf0fb9d208f0acfabf7a2f7467c8231659e322a8",
        "status": "affected",
        "version": "71829cb6f6559bcceb1ef4e43a2fb8cdd3af654b",
        "versionType": "git"
      }
    ]
  }
]
ParameterPositionPathDescriptionCWE
scoperequest body/api/oauthThe OAuth client_credentials grant endpoint fails to properly validate the 'repository:<name>' scope, allowing an API key with 'repositories' permission to obtain a token for any organization's private packages.CWE-863

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

12 Oct 2026 21:10Current
5.8Medium risk
Vulners AI Score5.8
CVSS 48.3
EPSS0.0046
SSVC
33