{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "ec3b658d1f0b968589148d5db994201546dc0869"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v2.7.0",
                "range": [
                  {
                    "fixed": "462e1e38a716da547170cc7fc102c175eafcdbdf"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "ec3b658d1f0b968589148d5db994201546dc0869"
            },
            {
              "fixed": "462e1e38a716da547170cc7fc102c175eafcdbdf"
            }
          ],
          "repo": "https://github.com/simukappu/activity_notification",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-h5xx-m7vj-5vg2"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77432.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "fixed": "2.7.0"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
          }
        ]
      },
      {
        "extracted_events": [
          {
            "range": [
              {
                "fixed": "2.7.0"
              },
              {
                "fixed": "2.7.0"
              }
            ],
            "source": "DESCRIPTION"
          }
        ]
      }
    ]
  },
  "details": "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.",
  "id": "CVE-2026-77432",
  "modified": "2026-12-04T21:45:56.461120643Z",
  "published": "2026-12-04T16:41:25.183Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77432.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/simukappu/activity_notification/commit/ec3b658d1f0b968589148d5db994201546dc0869"
    },
    {
      "type": "WEB",
      "url": "https://github.com/simukappu/activity_notification/releases/tag/v2.7.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/simukappu/activity_notification/security/advisories/GHSA-h5xx-m7vj-5vg2"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-77432"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "activity_notification: SQL Injection via custom_filter in Bulk Notification Endpoints"
}