NetSight
medium4.3

CVE-2026-86323

A flaw was found in Foreman’s Api::V2::MailNotificationsController, where authorization checks on user-specific mail-notification resources are insufficient.

Impact

A flaw was found in Foreman’s 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 user’s 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 user’s mail-notification configuration, including mail_query values, and, where write permissions apply, modify or create notification settings for another user.

An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: low risk of data being read.

Affected products · Red Hat

ProductAffected versions
Red Hat Satellite 6
All versions
Red Hat Satellite 6.16 for RHEL 8
Version patch: 0:3.12.0.26-1.el8sat
Red Hat Satellite 6.16 for RHEL 9
Version patch: 0:3.12.0.26-1.el9sat
Red Hat Satellite 6.17 for RHEL 9
Version patch: 0:3.14.0.26-1.el9sat
Red Hat Satellite 6.18 for RHEL 9
Version patch: 0:3.16.0.29-1.el9sat
Red Hat Satellite 6.19 for RHEL 9
Version patch: 0:3.18.0.19-1.el9sat

Weakness classification

References