# GHSA-H4FQ-8PFF-CQ4V: User API authorization bypass allows cross-user access and administrator scope violations

- Database: GitHub
- Severity: CVSS 8.1 (High)
- Published: 2026-11-04
- Modified: 2026-11-04

## Affected versions

- eduMFA (PyPI): through 2.9.5

## Description

### Summary

Inconsistent ownership and target validation in the eduMFA user API can allow authenticated self-service users to access another account and restricted administrators to operate outside their permitted users, resolvers, or realms.

### Impact and prerequisites

- **Self-service users:** Unauthorized profile/password changes require `updateuser` and backend write access. Custom-attribute setting and deletion require the corresponding `set_custom_user_attributes` or `delete_custom_user_attributes` grant. Attribute reads and user listing can disclose another account's data; listing is governed by `userlist`. Several resolver-selection cases require identical usernames in different resolvers. Other cases target records through a user ID or URL.
- **Restricted administrators:** Existing user-management permissions can be applied to unchecked account names, record IDs, or realm/resolver combinations, allowing unauthorized account creation, modification, deletion, or access to custom attributes. Password changes can enable account takeover.
- **Identity lookup failures:** If resolving the signed-in user fails, a supplied token serial can substitute the token owner's identity instead of rejecting the request.

Custom attributes are stored in eduMFA, so their exposure or modification also affects read-only resolvers. The configured Editable flag alone does not protect user-store writes.

### Workaround

Until the fix is deployed, restrict affected `/user` routes. Disabling individual self-service write permissions mitigates only the corresponding write paths; it does not cover the read or administrator-scope bypasses. Keep restrictive user-scope policies active: removing all such policies restores default allowances, including `updateuser`.

### Remediation

Update to eduMFA v2.9.6 which contains [the fixes](https://github.com/eduMFA/eduMFA/pull/1344).

## References

- https://github.com/eduMFA/eduMFA/security/advisories/GHSA-h4fq-8pff-cq4v

Page: https://cve.now/GHSA-H4FQ-8PFF-CQ4V

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
