CVE-2026-77432

9.3Critical

Published Dec 4, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

9.3CVSS

Critical

0CVSS v4.010

Attack vector
Network
Complexity
Low
Privileges
None
User action
None
Impact
High impact on confidentiality, integrity
Weakness
CWE-89

What an attacker gets

Unauthenticated attackers can execute arbitrary SQL queries to modify, delete, or exfiltrate data from your database. No user interaction or authentication is required to exploit this.

Root cause

The notifications_api_controller passes unfiltered user input directly into an ActiveRecord where() clause as a raw SQL string.

Affected versions

activity_notification versions prior to 2.7.0

CVSS v4.0 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Fix & remediation

Upgrade to activity_notification version 2.7.0 or later. If you cannot upgrade immediately, disable the affected bulk notification endpoints in your routes.

remediation — bash
$ bundle update activity_notification

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

activity_notification provides integrated user activity notifications for Ruby on Rails. Prior to version 2.7.0, the notifications_api_controller.rb bulk endpoints (open_all and destroy_all) pass unfiltered request parameters to filtered_by_options, which passes a custom_filter 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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-77432

More fully triaged vulnerabilities you may want to check next.