- In-house audit
- Logic flaw
- LVE-2026-0026
SevereSuperuser-only endpoint in the Full Stack FastAPI Template reveals whether an email is registered(LVE-2026-0026)
An admin "discovered" a user list he can read in another endpoint any time.
- LVE ID
- LVE-2026-0026
- Verdict
- Not exploitable in practice
- Affected product / version
- Full Stack FastAPI Template · Template backend API (superuser-only endpoint) · f8c6c14
- Published
- 2026-11-28
Description
The template's public password-recovery endpoint deliberately returns the same message for every email to prevent user enumeration, but /password-recovery-html-content/{email} returns 404 "user does not exist" for unknown emails. It looks like half-finished anti-enumeration.
Why it is harmless
That endpoint depends on get_current_active_superuser; only a superuser can call it.
A superuser can already list every user via GET /users/ in the same API, so anything "enumerated" is information they already have.
The anonymous /password-recovery/{email} endpoint does return the same response for existing and unknown emails.
Location
Compare recover_password and recover_password_html_content in backend/app/api/routes/login.py, then the permission dependency of read_users in users.py.
References
Show per-metric scoring rationale
DS score and vector · Per-metric breakdownScoring rubric →
PRPrecondition / Required privilege
AAlready admin / highest privilege
You are already an admin and still want to “escalate” to admin — like unlocking your own front door.
+3 / 5
IMReal impact
NNo security impact at all
No change to confidentiality, integrity or availability — filing it as a “vulnerability” is the biggest impact.
+5 / 5
EXReachability in default production config
DTriggers in default production config
Works in the out-of-the-box production setup — no penalty.
+0 / 5
PBPublicity / by design
POpenly public all along
The repo is public, the version is on the homepage, the password is in the README — it was never a secret.
+4 / 4
VBVendor / maintainer behavior
NNormal / no reply / n.a.
No extra baffling behavior — no penalty.
+0 / 4
FPFalse-positive factor
PReal but wildly exaggerated
It happened, but the description or rating is blown wildly out of proportion.
+1 / 4
Total S =13/ 41 →DS 7= min(10, 1 + ⌊S / 2⌋)
Seen something just as lame?
Fill in the form in two minutes. Once a maintainer approves it, your GitHub handle is credited on the entry — permanently.
No account on this site needed — just GitHub.