Sceawere

Vulnerability Detail

CVE-2026-72582UPDATED Verified Sceawere Triage Sources: NVD / CISA KEV

Fastschema OTP Null Pointer Dereference

Vulnerability Metadata

Severity
High
Score / CVSS
7.5
Creation Date
3h ago
Vendor
fastschema
Product
fastschema
Attack Type
CWE-476: NULL Pointer Dereference
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Complexity
LOW

Narrative and Response

Description

A NULL pointer dereference vulnerability in fastschema through v0.15.1 allows an unauthenticated remote attacker to crash the server process with a single HTTP request. The sendOTPEmail function in pkg/auth/local.go dereferences a pointer obtained from an unchecked error path without validating it is non-nil, causing a fatal panic that terminates the entire server when a recovery request is sent to the /api/auth/local/recover endpoint.

Executive Summary

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Executive Summary Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Technical Details

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Detailed Technical Analysis Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Mitigations

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Remediation & Mitigations Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

References

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Intelligence References Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Additional Metadata

{
  "score": "7.5",
  "pubDate": "2026-08-10T11:17:31.137Z",
  "pubdate": "2026-08-10T11:17:31.137Z",
  "executiveSummary": "A NULL pointer dereference vulnerability exists in fastschema through v0.15.1, specifically within the local authentication subsystem.\nThe vulnerability allows an unauthenticated remote attacker to cause a fatal panic and terminate the entire server process by sending a single malicious HTTP request.\nThe flaw resides in the sendOTPEmail function located within pkg/auth/local.go, where an error path remains unchecked and a resulting pointer is dereferenced without prior validation.\nThis introduces a severe availability risk, enabling remote denial-of-service (DoS) conditions against vulnerable deployments without requiring any user interaction, authentication, or elevated privileges.\nBecause the panic terminates the server process directly, continuous automated exploitation can maintain a persistent service outage.",
  "technicalDetails": "The root cause of the vulnerability is the absence of error checking and subsequent validation of a pointer returned from an operation inside the sendOTPEmail function.\nThe vulnerable component is identified as the sendOTPEmail function within the pkg/auth/local.go file of the fastschema codebase, specifically affecting versions up to v0.15.1.\nWhen a user initiates a recovery request via the unauthenticated HTTP endpoint at /api/auth/local/recover, the application executes the vulnerable code path.\nInstead of verifying whether the pointer obtained from the operation is non-nil, the function attempts to dereference it directly.\nThis unchecked dereference triggers a runtime panic in the Go runtime environment.\nBecause Go panics originating from unhandled runtime errors generally terminate the application process when not recovered, the entire server instance crashes immediately upon receiving the malicious request.\nThe attack vector is network-based, utilizing standard HTTP/HTTPS protocols over the web interface exposed by fastschema.\nThe exploitation requirements are minimal: the attacker requires network connectivity to the target server's /api/auth/local/recover endpoint and does not need to authenticate, possess valid credentials, or hold any administrative privileges.\nThe post-exploitation impact is strictly limited to denial of service through process termination, as remote code execution or unauthorized data access is not facilitated by this specific memory dereference vector."
}
CVE-2026-72582: Fastschema OTP Null Pointer Dereference (HIGH Severity, CVSS: 7.5) - Sceawere