CVE-2026-121728

SourceHut meta.sr.ht 0.56.11 before 0.89.0 Registration Authorization Bypass via /register/step2

Published Nov 3, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
SourceHut meta.sr.ht 0.56.11 before 0.89.0 contains an authorization bypass vulnerability that allows unauthenticated attackers to register accounts when public registration is disabled. Attackers can obtain a CSRF token from /login and POST credentials to /register/step2, which invokes the unchecked GraphQL RegisterAccount mutation to create accounts.

Analysis

AI-generated

Technical impact

SourceHut meta.sr.ht 0.56.11 through 0.88.9 contains an authorization bypass flaw that allows an attacker to create new user accounts even when public registration is disabled. The flaw lies in the /register/step2 endpoint, which calls an unchecked GraphQL RegisterAccount mutation without verifying the caller’s permissions. An attacker only needs to obtain a CSRF token from /login and POST credentials to /register/step2; the server will accept the request and create the account regardless of the registration setting.

Affected Systems

The affected product is SourceHut:meta.sr.ht. Vulnerable releases include any build from 0.56.11 up to and including 0.88.9. The vulnerability is fixed in version 0.89.0 and later. No additional version ranges are specified in the CNA data.

Risk and Exploitability

The CVSS score of 6.9 indicates moderate severity. EPSS data are not available, so the industry penetration probability remains unclear. The vulnerability is not listed in CISA KEV. Because the exploit requires only access to the public web interface to obtain a CSRF token and post to the registration endpoint, it can be carried out remotely without privileged access.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SourceHut meta.sr.ht to version 0.89.0 or later. The patch adds proper authorization checks for the /register/step2 endpoint, fixing the CWE‑862 vulnerability.
  • If an immediate upgrade is not possible, restrict access to /register/step2 by configuring your reverse proxy or firewall to allow connections only from authenticated or trusted sources, thereby preventing unauthorized users from reaching the endpoint (mitigating the missing authorization guard exposed in CWE‑862).
  • As a stop‑gap, disable public registration in the application settings or via environment configuration to block new account creation regardless of the endpoint being exposed; this works around the exposed registration path caused by CWE‑862.
  • Continuously review authentication and account‑creation logs to detect any unexpected registrations, and generate alerts for anomalous activity.

Generated by OpenCVE AI on November 4, 2026 at 09:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Sourcehut
Sourcehut meta.sr.ht
Vendors & Products Sourcehut
Sourcehut meta.sr.ht
Type Values Removed Values Added
Description SourceHut meta.sr.ht 0.56.11 before 0.89.0 contains an authorization bypass vulnerability that allows unauthenticated attackers to register accounts when public registration is disabled. Attackers can obtain a CSRF token from /login and POST credentials to /register/step2, which invokes the unchecked GraphQL RegisterAccount mutation to create accounts.
Title SourceHut meta.sr.ht 0.56.11 before 0.89.0 Registration Authorization Bypass via /register/step2
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 9, 2026, 5:00 PM
Reserved
Nov 3, 2026, 10:17 PM
Status
Deferred
Published
Nov 3, 2026, 11:17 PM
Modified
Nov 12, 2026, 9:36 PM