CVE-2026-77432: activity_notification: SQL Injection via custom_filter in Bulk Notification Endpoints

Published Dec 4, 2026
·
Updated

activitynotification provides integrated user activity notifications for Ruby on Rails. Prior to version 2.7.0, the notificationsapicontroller.rb bulk endpoints (openall and destroyall) pass unfiltered request parameters to filteredbyoptions, which passes a customfilter value directly to ActiveRecord's where() as a raw SQL string. An unauthenticated attacker can inject arbitrary SQL conditions, enabling mass data modification, mass data deletion, and information disclosure via boolean-based exfiltration. This issue has been patched in version 2.7.0.

Affected Software

1 affected component
rubygems/activity_notification<2.7.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade activity_notification to a version that resolves this vulnerability.

    Fixed in 2.7.0

Event History

Dec 4, 2026
CVE Published
via MITRE·04:41 PM
Data Sourced
via MITRE·04:41 PM
DescriptionWeakness
Data Sourced
via OSV·04:41 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:19 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Applications using activity_notification versions earlier than 2.7.0 are affected if their bulk notification endpoints are reachable. The described attack does not require authentication.

2

What does an attacker need to exploit the issue?

An attacker needs to send a request to the open_all or destroy_all bulk endpoint with a crafted custom_filter parameter. That value reaches ActiveRecord where() as raw SQL.

3

What could exploitation allow?

The flaw can enable arbitrary SQL condition injection, leading to mass notification data modification or deletion. It can also support information disclosure through boolean-based exfiltration.

4

How can the issue be remediated?

Upgrade activity_notification to version 2.7.0, which includes the patch.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203