CVE-2026-56780: Modoboa Password Reset IDOR Vulnerability (CWE-639)
Modoboa, an open-source groupware and mail server platform, contains a flaw in its account management API that allows domain administrators to reset passwords for any user—including superadministrators—despite lacking the proper authorization. This insecure direct object reference (IDOR) vulnerability means a domain admin can gain full control of accounts they shouldn't be able to access, including taking over the entire system by compromising a superadmin account. The vulnerability affects Modoboa versions prior to 2.9.0.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 7.5 HIGH · CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses (CWE)
- CWE-639
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-06-29 / 2026-07-01
NVD description (verbatim)
Modoboa before 2.9.0 contains an insecure direct object reference vulnerability in the PUT /api/v1/accounts/{pk}/password/ endpoint that allows domain administrators to change any user's password. Attackers with domain admin privileges can bypass object-level access controls to reset superadmin passwords and achieve full account takeover.
3 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
The vulnerability exists in the PUT /api/v1/accounts/{pk}/password/ endpoint, where the application fails to properly validate that the authenticated user has permission to modify the target account's password. An attacker with domain administrator credentials can construct requests to arbitrary account identifiers (pk values) and successfully change passwords without hitting access control checks. The issue is classified as CWE-639 (Authorization Bypass Through User-Controlled Key), a variant of insecure direct object reference. The API does not sufficiently scope password reset operations to accounts the domain admin actually manages, allowing lateral privilege escalation to superadmin accounts.
Business impact
A compromised domain administrator account becomes a pivot point for complete system compromise. Attackers can reset superadmin passwords and gain unrestricted access to all mail, groupware data, and administrative functions. This threatens confidentiality (reading private mail and organizational data), integrity (modifying messages, user accounts, and system settings), and availability (disabling accounts, deleting data). For organizations relying on Modoboa for email and collaboration, this represents a critical risk to business continuity and regulatory compliance (GDPR, HIPAA, etc.) if customer or sensitive data is exposed.
Affected systems
Modoboa versions before 2.9.0 are vulnerable. The vulnerability requires network access to the API endpoint and valid domain administrator credentials, so it is relevant to any Modoboa deployment with multiple administrators or multi-tenant environments. Self-hosted instances and commercial deployments using vulnerable versions are at risk.
Exploitability
Exploitation requires valid domain administrator credentials and network access to the API. The attack is straightforward once authenticated: an attacker simply needs to identify target account IDs and issue PUT requests with new passwords. No user interaction or special techniques are required beyond standard API calls. The barrier to exploitation is low for internal threats or attackers who have already compromised a domain admin account. The vulnerability is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog, but the simplicity and high impact of exploitation mean defenders should assume it will be actively weaponized once disclosed.
Remediation
Upgrade Modoboa to version 2.9.0 or later, which contains fixes to enforce proper authorization checks on the password reset endpoint. Verify the fix with the vendor advisory before deployment. As an interim measure, restrict API access through network-level controls (firewall rules, VPN) and monitor API logs for suspicious password reset requests from domain admin accounts, particularly those targeting superadmin accounts.
Patch guidance
Apply Modoboa version 2.9.0 or later as soon as testing permits. Consult the Modoboa project's official release notes and security advisories to confirm the patch version and any additional configuration changes required. If you operate a self-hosted instance, prioritize this update in your patch cycle; if using a managed service, verify with your provider that they have deployed the fix. Test in a non-production environment first to ensure compatibility with your customizations or extensions.
Detection guidance
Monitor API access logs for PUT requests to /api/v1/accounts/{pk}/password/ from domain administrator accounts, especially targeting account IDs that differ from the authenticated user's own account ID. Flag any successful password resets for superadmin accounts (typically low ID numbers or known admin account names). Implement rate-limiting on the endpoint to reduce attack velocity. Use SIEM tools to correlate multiple password reset attempts from the same admin account over a short window. If you have deployed Modoboa, review recent password reset logs for any unauthorized changes.
Why prioritize this
This vulnerability scores HIGH (CVSS 7.5) and enables full account takeover with only domain admin-level access. The combination of high impact (confidentiality, integrity, availability), low attack complexity once authenticated, and the simplicity of exploitation make it a priority for any organization running Modoboa. The lack of KEV listing does not diminish urgency; internal threats or attackers with compromised domain admin credentials can immediately escalate to superadmin. Patch as soon as safely feasible.
Risk score, explained
The CVSS 7.5 score reflects a networked attack requiring low-level authentication (domain admin), but resulting in high impact across all three security dimensions. The attack is not complex (AC:H reflects the authentication barrier, not technical complexity). No user interaction is needed, and the scope is unchanged (the compromised account is within the same authorization boundary as the attacker). The score appropriately captures the severity: a domain admin should not be able to reset a superadmin password, and the design flaw creates an immediate path to full system compromise.
Frequently asked questions
Does this vulnerability require an external attacker, or is it only an internal risk?
It can be both. The vulnerability requires valid domain administrator credentials, which could belong to a legitimate admin or an attacker who has already compromised a domain admin account through phishing, malware, or credential reuse. An insider with domain admin privileges can also exploit it to escalate to superadmin. Organizations should assume both scenarios are possible.
What versions of Modoboa are affected?
All versions prior to 2.9.0 are vulnerable. Verify the exact patch version in the vendor's official advisory, as point releases may contain additional fixes. If you are running Modoboa, check your version number (typically available in the admin interface or via the CLI) and upgrade if it is below 2.9.0.
Can I work around this vulnerability without upgrading?
A workaround is not a substitute for patching, but you can reduce risk by restricting network access to the API (firewall rules, VPN), disabling the API if not needed, and monitoring logs for suspicious activity. These are temporary measures only; upgrade to 2.9.0 or later as soon as feasible.
If an attacker resets my superadmin password, what else should I do after patching?
Upgrade immediately, reset all passwords (especially superadmin and domain admin accounts), audit the account for unauthorized changes or data access, review email forwarding rules and API tokens, and check logs for lateral movement or data exfiltration. Consider engaging forensics or your security team if a breach is suspected.
This analysis is based on the published vulnerability data as of the date of this advisory. Readers should verify patch version numbers, affected product lists, and remediation guidance against the official Modoboa security advisory and release notes. SEC.co does not provide security warranties or guarantees of patch effectiveness. Organizations should test patches in non-production environments before deployment and consult with their security and compliance teams regarding timeline and risk tolerance. No exploit code or weaponized proof-of-concept is provided or intended by this advisory. Source: NVD (public-domain), retrieved 2026-08-08. Analysis generated by SEC.co (claude-haiku-4-5).
Weaknesses (CWE)
Related vulnerabilities
- CVE-2025-14772HIGHABB T-MAC Plus Authorization Bypass (CVSS 8.8)
- CVE-2025-59133HIGHProjectopia Custom Role IDOR Vulnerability (7.5 CVSS)
- CVE-2026-12204HIGHShopXO Authorization Bypass in Order & Payment Processing
- CVE-2026-12411HIGHLXD Container Escape via Broken Access Control in Device Handler
- CVE-2026-14753HIGHAuthorization Bypass in mjperpinosa stumasy Note Handler
- CVE-2026-1989HIGHPAVO Pay Authorization Bypass Vulnerability (CVSS 7.5)
- CVE-2026-2398HIGHMobilMen 20T Authorization Bypass & Privilege Escalation
- CVE-2026-27657HIGHGitea Email Change Vulnerability – Exploit, Patch & Detection