Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-113598 Overview
CVE-2026-113598 is an Insecure Direct Object Reference (IDOR) vulnerability [CWE-639] in Modoboa, an open-source mail hosting and management platform. Versions prior to 2.8.0 fail to scope alarm deletions to the requesting user's authorized domains. Any authenticated user can issue a POST /api/v2/alarms/bulk_delete/ request with sequential alarm IDs to delete alarms belonging to other domains. The affected alarms include DNS, MX, and blocklist monitoring records, meaning attackers can silently suppress operational warnings that other domain administrators rely on.
Critical Impact
Authenticated low-privilege users can enumerate alarm IDs server-wide and delete monitoring alarms across tenants, hiding mail delivery and reputation problems from the responsible administrators.
Affected Products
- Modoboa versions prior to 2.8.0
- Modoboa Admin API v2 (/api/v2/alarms/bulk_delete/ endpoint)
- Multi-tenant Modoboa deployments hosting multiple mail domains
Discovery Timeline
- 2026-10-20 - CVE-2026-113598 published to the National Vulnerability Database
- 2026-10-21 - Last updated in NVD database
Technical Details for CVE-2026-113598
Vulnerability Analysis
The vulnerability resides in Modoboa's admin API v2 viewset handling the alarm bulk-delete action. The implementation queries the global Alarm model directly by primary key, bypassing the queryset filter that normally restricts a user to their own domains. Because alarm IDs are sequential integers, any authenticated user can iterate through the ID space and target arbitrary alarms. Deleting DNS, MX, and blocklist alarms removes early-warning indicators that administrators depend on to detect mail outages and blocklist events.
Root Cause
The root cause is a missing authorization check in the bulk_delete action of the admin viewset in modoboa/admin/api/v2/viewsets.py. The handler calls models.Alarm.objects.filter(pk__in=...) instead of self.get_queryset().filter(pk__in=...). The former returns the unscoped manager that ignores per-user domain restrictions. A related issue in modoboa/autoreply/api/v2/serializers.py similarly lacked ownership validation on the mbox field.
Attack Vector
Exploitation requires only a valid authenticated session with any domain scope on the Modoboa instance. The attacker crafts a JSON body containing a list of sequential alarm identifiers and submits it to the bulk-delete endpoint over HTTPS. No user interaction and no elevated privileges are required.
# Patch applied in modoboa/admin/api/v2/viewsets.py (commit e0a4e3b)
"""Delete multiple alarms at the same time."""
serializer = self.get_serializer(data=request.data)
serializer.is_valid(raise_exception=True)
- models.Alarm.objects.filter(pk__in=serializer.validated_data["ids"]).delete()
+ self.get_queryset().filter(pk__in=serializer.validated_data["ids"]).delete()
return response.Response(status=204)
Source: GitHub Modoboa Commit e0a4e3b. The fix replaces the unscoped manager with self.get_queryset(), which enforces the viewset's per-user domain filter.
# Related ownership check added in modoboa/autoreply/api/v2/serializers.py
+ def validate_mbox(self, value):
+ user = self.context["request"].user
+ if user.mailbox != value:
+ raise serializers.ValidationError(
+ _("You don't have ownership on this mailbox")
+ )
+ return value
Source: GitHub Modoboa Commit e0a4e3b.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-113598
Indicators of Compromise
- HTTP POST requests to /api/v2/alarms/bulk_delete/ originating from accounts that do not own the alarms being deleted.
- Request bodies containing long or sequential ids arrays indicative of enumeration.
- Unexpected disappearance of DNS, MX, or blocklist alarms from the Modoboa dashboard without administrator action.
- Audit log gaps or missing alarm history for domains unrelated to the authenticated user.
Detection Strategies
- Correlate the authenticated user's domain scope against the domain_id of each deleted alarm in web server access logs.
- Alert on bulk-delete requests whose ids payload exceeds a baseline threshold or spans non-contiguous domain IDs.
- Hunt for repeated 204 responses from /api/v2/alarms/bulk_delete/ tied to a single session identifier.
Monitoring Recommendations
- Forward Modoboa application and NGINX or Apache access logs to a centralized SIEM for correlation and retention.
- Enable Django audit logging to capture the authenticated principal for each API call.
- Monitor alarm-table row counts and generate alerts when records are deleted outside maintenance windows.
How to Mitigate CVE-2026-113598
Immediate Actions Required
- Upgrade Modoboa to version 2.8.0 or later across all nodes.
- Review Modoboa audit and HTTP logs for prior calls to /api/v2/alarms/bulk_delete/ and validate the caller's domain ownership for each deletion.
- Rotate API tokens and session cookies for any accounts suspected of abusing the endpoint.
- Re-run DNS, MX, and blocklist checks to regenerate alarms that may have been silently removed.
Patch Information
The fix is included in Modoboa 2.8.0, released by the upstream project. See the GitHub Modoboa Release 2.8.0 notes and the VulnCheck Advisory Modoboa IDOR for full details. Tracking details are available in GitHub Modoboa Issue #3945.
Workarounds
- Restrict access to the /api/v2/alarms/ endpoints at the reverse proxy to trusted administrator IP ranges until the upgrade is applied.
- Temporarily disable the bulk-delete route by removing the action from the viewset in modoboa/admin/api/v2/viewsets.py for self-managed deployments.
- Reduce the blast radius by limiting user accounts to a single domain scope where feasible.
# Example NGINX restriction for the vulnerable endpoint until patched
location = /api/v2/alarms/bulk_delete/ {
allow 10.0.0.0/24; # admin management subnet
deny all;
proxy_pass http://modoboa_backend;
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

