<?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://vulnerability.circl.lu</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>Wed, 07 Oct 2026 07:18:46 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-56750 — Gitea Remember-Me Token Theft Not Invalidating Attacker Session</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-56750</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Gitea Open Source Git Server&lt;/p&gt;
&lt;p&gt;Gitea Remember-Me Token Theft Not Invalidating Attacker Session&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Gitea Open Source Git Server&lt;/p&gt;
&lt;p&gt;Gitea Remember-Me Token Theft Not Invalidating Attacker Session&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-56750</guid>
    </item>
    <item>
      <title>GHSA-rgv6-xp99-6mgj — Gitea Remember-Me Token Theft Not Invalidating Attacker Session</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-rgv6-xp99-6mgj</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Go: code.gitea.io/gitea&lt;/p&gt;
&lt;p&gt;The vulnerability is in the Remember-Me (gitea_incredible) token validation logic, specifically when handling a compromised token (hash mismatch).&lt;/p&gt;
&lt;p&gt;The vulnerable function is this one:&lt;/p&gt;
&lt;p&gt;https://github.com/go-gitea/gitea/blob/689ace1ce28fd74244b8aa335d9928cdbf6b22f9/services/auth/auth_token.go#L33-L64&lt;/p&gt;
&lt;p&gt;### Affected Endpoint
POST `/user/login` (and any endpoint triggering `autoSignIn` via the Remember-Me cookie).&lt;/p&gt;
&lt;p&gt;### Description
Gitea implements Remember-Me cookies using a split token design (ID:Hash), [citing the Paragonie secure remember-me guide](https://github.com/go-gitea/gitea/blob/689ace1ce28fd74244b8aa335d9928cdbf6b22f9/services/auth/auth_token.go#L21). When a token is used, its Hash is rotated, but the ID remains the same.&lt;/p&gt;
&lt;p&gt;If an attacker steals a user&amp;#39;s Remember-Me token and uses it to authenticate, the attacker is issued a new rotated token (same ID, new Hash). When the legitimate user later attempts to use their original token, Gitea correctly detects a hash mismatch for the given ID.&lt;/p&gt;
&lt;p&gt;According to the referenced Paragonie specification, this indicates a compromised token, and ALL active remember-me sessions for that user MUST be invalidated. However, Gitea&amp;#39;s `CheckAuthToken` function simply returns `ErrAuthTokenInvalidHash`. The calling code (`autoSignIn`) catches this error and deletes the victim&amp;#39;s local cookie via `ctx.DeleteSiteCookie`, but fails to delete the compromised token from the database.&lt;/p&gt;
&lt;p&gt;As a result, the attacker&amp;#39;s active session is never invalidated…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Go: code.gitea.io/gitea&lt;/p&gt;
&lt;p&gt;The vulnerability is in the Remember-Me (gitea_incredible) token validation logic, specifically when handling a compromised token (hash mismatch).&lt;/p&gt;
&lt;p&gt;The vulnerable function is this one:&lt;/p&gt;
&lt;p&gt;https://github.com/go-gitea/gitea/blob/689ace1ce28fd74244b8aa335d9928cdbf6b22f9/services/auth/auth_token.go#L33-L64&lt;/p&gt;
&lt;p&gt;### Affected Endpoint
POST `/user/login` (and any endpoint triggering `autoSignIn` via the Remember-Me cookie).&lt;/p&gt;
&lt;p&gt;### Description
Gitea implements Remember-Me cookies using a split token design (ID:Hash), [citing the Paragonie secure remember-me guide](https://github.com/go-gitea/gitea/blob/689ace1ce28fd74244b8aa335d9928cdbf6b22f9/services/auth/auth_token.go#L21). When a token is used, its Hash is rotated, but the ID remains the same.&lt;/p&gt;
&lt;p&gt;If an attacker steals a user&amp;#39;s Remember-Me token and uses it to authenticate, the attacker is issued a new rotated token (same ID, new Hash). When the legitimate user later attempts to use their original token, Gitea correctly detects a hash mismatch for the given ID.&lt;/p&gt;
&lt;p&gt;According to the referenced Paragonie specification, this indicates a compromised token, and ALL active remember-me sessions for that user MUST be invalidated. However, Gitea&amp;#39;s `CheckAuthToken` function simply returns `ErrAuthTokenInvalidHash`. The calling code (`autoSignIn`) catches this error and deletes the victim&amp;#39;s local cookie via `ctx.DeleteSiteCookie`, but fails to delete the compromised token from the database.&lt;/p&gt;
&lt;p&gt;As a result, the attacker&amp;#39;s active session is never invalidated…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-rgv6-xp99-6mgj</guid>
    </item>
  </channel>
</rss>
