Oriel — AI & technology worth noticing, every day.

SourceHut disabled registration bypass | CVE-2026-121728

Web page · https://blog.arusekk.pl/posts/srht-disabled-registration-bypass

First seen by Oriel on .

AI summary

A logic bug in SourceHut allowed account creation through a registration endpoint even when registration was disabled, affecting versions 0.56.11 through 0.88.9.

  • The GraphQL backend’s `/register/step2` handler failed to check whether registration was closed on its successful path, although the frontend hid the registration form.
  • An attacker could retrieve a CSRF token from `/login` and use it to submit a username, email, and password to the endpoint.
  • Successful exploitation required the instance’s SMTP to be configured, because new accounts still needed email confirmation.
  • The author reports at least 10 affected instances, says indicators of compromise are unknown user accounts, and notes that SourceHut fixed the issue after disclosure.
  • The post recommends checking authorization flows after refactors and limiting CSRF tokens to the endpoint they are intended for.

#sourcehut #web security #csrf #account registration

Generated by gpt-5.6-sol. Check the original for details.

Metric trends

Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained

Points

Score reported by the source.

  • Lobsters: 62, latest observation ; +61 over observed period since

Comments

Comment count reported by the source.

  • Lobsters: 1, latest observation ; +1 over observed period since

Aliases

SourceExternal IDURL
Lobstersx2hcsshttps://blog.arusekk.pl/posts/srht-disabled-registration-bypass/ Read discussion