<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://cve.radiocsirt.org</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Tue, 06 Oct 2026 02:03:55 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-21621 — Improper Scope Enforcement in OAuth client_credentials Flow Allows Read-Only API Key to Escalate to Full Access</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2026-21621</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; hexpm, hexpm hex.pm&lt;/p&gt;
&lt;p&gt;Incorrect Authorization vulnerability in hexpm hexpm/hexpm (&amp;#39;Elixir.HexpmWeb.API.OAuthController&amp;#39; module) allows Privilege Escalation.&lt;/p&gt;
&lt;p&gt;An API key created with read-only permissions (domain: &amp;#34;api&amp;#34;, resource: &amp;#34;read&amp;#34;) can be escalated to full write access under specific conditions.&lt;/p&gt;
&lt;p&gt;When exchanging a read-only API key via the OAuth client_credentials grant, the resource qualifier is ignored. The resulting JWT receives the broad &amp;#34;api&amp;#34; scope instead of the expected &amp;#34;api:read&amp;#34; scope. This token is therefore treated as having full API access.&lt;/p&gt;
&lt;p&gt;If an attacker is able to obtain a victim&amp;#39;s read-only API key and a valid 2FA (TOTP) code for the victim account, they can use the incorrectly scoped JWT to create a new full-access API key with unrestricted API permissions that does not expire by default and can perform write operations such as publishing, retiring, or modifying packages.&lt;/p&gt;
&lt;p&gt;This vulnerability is associated with program files lib/hexpm_web/controllers/api/oauth_controller.ex and program routines &amp;#39;Elixir.HexpmWeb.API.OAuthController&amp;#39;:validate_scopes_against_key/2.&lt;/p&gt;
&lt;p&gt;This issue affects hexpm: from 71829cb6f6559bcceb1ef4e43a2fb8cdd3af654b before 71c127afebb7ed7cc637eb231b98feb802d62999.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; hexpm, hexpm hex.pm&lt;/p&gt;
&lt;p&gt;Incorrect Authorization vulnerability in hexpm hexpm/hexpm (&amp;#39;Elixir.HexpmWeb.API.OAuthController&amp;#39; module) allows Privilege Escalation.&lt;/p&gt;
&lt;p&gt;An API key created with read-only permissions (domain: &amp;#34;api&amp;#34;, resource: &amp;#34;read&amp;#34;) can be escalated to full write access under specific conditions.&lt;/p&gt;
&lt;p&gt;When exchanging a read-only API key via the OAuth client_credentials grant, the resource qualifier is ignored. The resulting JWT receives the broad &amp;#34;api&amp;#34; scope instead of the expected &amp;#34;api:read&amp;#34; scope. This token is therefore treated as having full API access.&lt;/p&gt;
&lt;p&gt;If an attacker is able to obtain a victim&amp;#39;s read-only API key and a valid 2FA (TOTP) code for the victim account, they can use the incorrectly scoped JWT to create a new full-access API key with unrestricted API permissions that does not expire by default and can perform write operations such as publishing, retiring, or modifying packages.&lt;/p&gt;
&lt;p&gt;This vulnerability is associated with program files lib/hexpm_web/controllers/api/oauth_controller.ex and program routines &amp;#39;Elixir.HexpmWeb.API.OAuthController&amp;#39;:validate_scopes_against_key/2.&lt;/p&gt;
&lt;p&gt;This issue affects hexpm: from 71829cb6f6559bcceb1ef4e43a2fb8cdd3af654b before 71c127afebb7ed7cc637eb231b98feb802d62999.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2026-21621</guid>
    </item>
  </channel>
</rss>
