Foreman API V2 MailNotifications Auth Bypass & Access Control Flaw
CVE-2026-86323 Published on November 12, 2026
Foreman: authorization flaw in the mail-notification endpoints implemented by api::v2::mailnotificationscontroller
A flaw was found in Foremans Api::V2::MailNotificationsController, where authorization checks on user-specific mail-notification resources are insufficient. The GET /api/v2/users/:id/mail_notifications endpoint resolves the target account using User.find(params[:id]) without verifying that the authenticated user is authorized to access that users notification configuration. Additionally, the POST and PUT /api/v2/users/:user_id/mail_notifications paths call deny_access when the requester is unauthorized but fail to halt execution, allowing the request to continue and persist the unauthorized change despite a 403 response or subsequent DoubleRenderError. This can allow a user to disclose another users mail-notification configuration, including mail_query values, and, where write permissions apply, modify or create notification settings for another user.
Vulnerability Analysis
CVE-2026-86323 can be exploited with network access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality, a small impact on integrity and availability.
Timeline
Reported to Red Hat.
Made public. 66 days later.
Weakness Type
What is an Insecure Direct Object Reference / IDOR Vulnerability?
The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.
CVE-2026-86323 has been classified to as an Insecure Direct Object Reference / IDOR vulnerability or weakness.
Products Associated with CVE-2026-86323
Want to know whenever a new CVE is published for Red Hat products? stack.watch will email you.