Skip to main content
Vulnerability Database/CVE-2026-113600

CVE-2026-113600: Fat Free CRM Auth Bypass Vulnerability

CVE-2026-113600 is an authentication bypass flaw in Fat Free CRM allowing authenticated users to modify or delete other users' comments without proper authorization. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-113600 Overview

CVE-2026-113600 is an Insecure Direct Object Reference (IDOR) vulnerability in Fat Free CRM versions before 0.26.0. The flaw resides in CommentsController#update and CommentsController#destroy, which call an unscoped Comment.find without verifying authorization. Any authenticated user can issue PUT or DELETE requests to /comments/:id and tamper with comments attached to contacts, accounts, leads, and opportunities owned by other users. Because comment IDs are sequential integers, enumeration is trivial. The weakness is tracked under [CWE-639: Authorization Bypass Through User-Controlled Key].

Critical Impact

Authenticated attackers can edit or delete arbitrary users' comments across all CRM record types, enabling data tampering and loss of audit trail integrity.

Affected Products

  • Fat Free CRM versions prior to 0.26.0
  • CommentsController#update action in app/controllers/comments_controller.rb
  • CommentsController#destroy action in app/controllers/comments_controller.rb

Discovery Timeline

  • 2026-10-20 - CVE-2026-113600 published to NVD
  • 2026-10-20 - Last updated in NVD database

Technical Details for CVE-2026-113600

Vulnerability Analysis

Fat Free CRM is a Ruby on Rails customer relationship management application. The CommentsController exposes update and destroy actions bound to /comments/:id routes. In version 0.25.0 and earlier, both actions retrieve the target record using Comment.find(params[:id]) without scoping the query to the current user's permitted records. The CanCan authorization framework was present in the application but was not invoked for comment modification requests.

An authenticated user with the lowest permission level can therefore manipulate any comment stored in the database. The impact extends to comments on contacts, accounts, leads, and opportunities—core CRM entities often containing sensitive negotiation history and customer context. Successful exploitation damages data integrity and removes forensic evidence from the record timeline.

Root Cause

The controller actions bypassed authorization because the codebase relied on direct object lookups without a load_and_authorize_resource directive. Rails controllers that use raw find calls on user-supplied IDs must enforce ownership checks separately. This pattern aligns with [CWE-639], where access control decisions depend on predictable identifiers supplied by the client.

Attack Vector

Exploitation requires only a valid session on the target Fat Free CRM instance. An attacker enumerates sequential integer IDs and submits PUT /comments/:id to overwrite comment content, or DELETE /comments/:id to remove the record. No elevated role, CSRF bypass, or user interaction is needed beyond standard application authentication.

ruby
# Vulnerable pattern (pre-0.26.0) — reconstructed from advisory description
class CommentsController < ApplicationController
  # No load_and_authorize_resource directive

  def update
    @comment = Comment.find(params[:id])  # unscoped lookup
    @comment.update(comment_params)
  end

  def destroy
    @comment = Comment.find(params[:id])  # unscoped lookup
    @comment.destroy
  end
end

Source: GitHub Comments Controller Code (v0.25.0)

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-113600

Indicators of Compromise

  • Rails production logs showing PUT or DELETE requests to /comments/:id where the authenticated user_id does not match the owning user of the targeted comment.
  • Sequential or rapid enumeration of comment IDs from a single session within a short time window.
  • Unexpected gaps in comment history on contacts, accounts, leads, or opportunities with no corresponding user-attributed deletion event.

Detection Strategies

  • Correlate web server access logs with application-level ownership metadata to flag cross-tenant comment access.
  • Hunt for DELETE /comments/<n> requests where <n> increments linearly, indicating ID enumeration.
  • Review database audit tables for comments row changes authored by users who do not own the parent record.

Monitoring Recommendations

  • Enable verbose Rails request logging that captures the authenticated principal, HTTP verb, and target path.
  • Forward Fat Free CRM application and web server logs into a centralized analytics platform to retain history for retrospective hunts.
  • Alert on anomalous rates of PUT/DELETE operations against the comments endpoint from any single account.

How to Mitigate CVE-2026-113600

Immediate Actions Required

  • Upgrade Fat Free CRM to version 0.26.0 or later, which introduces load_and_authorize_resource on CommentsController.
  • Audit comment history on contacts, accounts, leads, and opportunities for unexpected edits or deletions since deployment of the affected version.
  • Rotate session cookies and review user access to reduce exposure from any compromised accounts that may have abused the flaw.

Patch Information

The fix was delivered in commit 3c3199328dd10414b1f039ab8e4a82fe0f3baf87 and shipped in Fat Free CRM release v0.26.0. The patch adds load_and_authorize_resource to the controller so CanCan enforces ownership on every action.

ruby
# Patched CommentsController (0.26.0)
class CommentsController < ApplicationController
  load_and_authorize_resource

  # GET /comments
  # GET /comments.json
  # GET /comments.xml
end

Source: GitHub Commit 3c319932. See also the VulnCheck Advisory on IDOR and the GitHub Issue #1650 Discussion.

Workarounds

  • Restrict network access to the Fat Free CRM instance to trusted users while patching is scheduled.
  • Apply a reverse proxy rule that blocks PUT and DELETE requests to /comments/:id from non-administrative roles until upgrade is complete.
  • Add a temporary before_action filter in CommentsController that verifies current_user.id == @comment.user_id before mutating the record.
bash
# Upgrade Fat Free CRM to the patched release
bundle update fat_free_crm --to 0.26.0
bundle exec rails db:migrate
bundle exec rails restart

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.