<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-09T19:50:52.167979+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/cve-2026-55987</id>
    <title>CVE-2026-55987 — OAuth2 sign-in reactivates an administrator-deactivated account on auth sources without refresh tokens (incomplete fix…</title>
    <updated>2026-10-09T19:50:52.185793+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Gitea Open Source Git Server</p>
<p>OAuth2 sign-in reactivates an administrator-deactivated account on auth sources without refresh tokens (incomplete fix of #38009)</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/cve-2026-55987"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-vrhc-jjfc-m3m3</id>
    <title>GHSA-vrhc-jjfc-m3m3 — Gitea: OAuth2 sign-in reactivates an administrator-deactivated account on auth sources without refresh tokens (incomple…</title>
    <updated>2026-10-09T19:50:52.185868+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Go: code.gitea.io/gitea</p>
<p>## Description</p>
<p>Gitea's OAuth2 sign-in callback reactivates a deactivated user account (`IsActive=false`) when the user signs in through an authentication source that does not issue refresh tokens (notably GitHub, and any OIDC/OAuth2 source configured without `offline_access`). PR #38009 added a gate intended to reactivate users only when the OAuth2 auto-sync cron had disabled them, using "the stored refresh token is empty" as the signal. That signal is wrong: for sources that never issue refresh tokens, an empty refresh token is the normal state of every user, so the gate cannot distinguish a cron-disabled account from one an administrator deliberately deactivated. The next time the administrator-deactivated user signs in through the provider, Gitea sets `IsActive=true` and grants a full session, silently undoing the administrator's action. This is the exact behavior #38009 was written to prevent. (`ProhibitLogin`, the hard ban, is enforced separately and is not affected.)</p>
<p>No special privileges are required beyond being the deactivated user and being able to sign in through the source.</p>
<p>### Root Cause</p>
<p>`routers/web/auth/oauth.go` (the `handleOAuth2SignIn` reactivation gate):</p>
<p>```go
if !u.IsActive {
    extLogin, hasExt, err := user_model.GetExternalLogin(ctx, authSource.ID, gothUser.UserID)
    if err != nil { ctx.ServerError("GetExternalLogin", err); return }
    isDisabledByAutoSync := hasExt &amp;&amp; extLogin.RefreshToken == ""   // wrong signal
    if isDisabledByAutoSync {…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-vrhc-jjfc-m3m3"/>
  </entry>
</feed>
