Incorrect Authorization Vulnerability in hexpm Affected by API Key Mismanagement
CVE-2026-75542
8.3HIGH
What is CVE-2026-75542?
The vulnerability involves a flaw in the OAuth token endpoint of hexpm, where an API key with repositories permission can inadvertently gain access to another organization's private packages. This occurs if the key is exchanged for a token without adequate validation of the associated organization. The issue stems from the fact that the system accepts scope requests without verifying ownership against the principal, allowing explicit repository access to potentially sensitive data. Immediate action is recommended to mitigate unauthorized access risks.
Affected Version(s)
hexpm 2025-10-18 < 2026-08-24
hexpm 71829cb6f6559bcceb1ef4e43a2fb8cdd3af654b
References
CVSS V4
Score:
8.3
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Eric Meadows-Jönsson
Eric Meadows-Jönsson
Jonatan Männchen / EEF
