7.5high
fastschema - Unauthenticated NULL Pointer Dereference DoS in Account Recovery Endpoint
- Severity
- 7.5high CVSS:3.1 by TuranSec
- Exploit likelihood
- 0.35% (higher than 30% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- TuranSec
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| fastschema fastschema | up to 0.15.1 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Una vulnerabilidad de desreferencia de puntero NULL en fastschema hasta la v0.15.1 permite a un atacante remoto no autenticado bloquear el proceso del servidor con una única solicitud HTTP. La función sendOTPEmail en pkg/auth/local.go desreferencia un puntero obtenido de una ruta de error no verificada sin validar que no sea nulo, causando un pánico fatal que termina todo el servidor cuando se envía una solicitud de recuperación al endpoint /api/auth/local/recover.
References
| https://github.com/fastschema/fastschema | third-party-advisory | |
| https://github.com/fastschema/fastschema/blob/main/pkg/auth/local.go | technical-description | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-72582 changed 2026-08-10 | CVE Terms of Use |
| NVD | CVE-2026-72582 changed 2026-10-24 | Public domain |