
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-42205 is a Broken Access Control vulnerability in the Avo framework, a Ruby on Rails admin panel builder, affecting all versions up to and including 3.31.0. Due to insecure action lookup logic in the ActionsController, an authenticated user can execute any Avo::BaseAction descendant on any resource, regardless of whether that action is registered for that resource. The vulnerability was discovered by researcher Illunight, published on April 20, 2026, and patched in version 3.31.2. It carries a CVSS v3.1 base score of 8.8 (High) (GitHub Advisory, Red Hat CVE).
The root cause is classified as CWE-284 (Improper Access Control) and CWE-639 (Authorization Bypass Through User-Controlled Key). The vulnerable code resides in the action_class method within app/controllers/avo/actions_controller.rb, which resolves the action to execute by searching all Avo::BaseAction descendants using the attacker-controlled params[:action_id] parameter — without verifying whether the action is registered for the resource specified in the request URL. An authenticated attacker can craft a POST request to any resource endpoint (e.g., /admin/resources/posts/actions) with an arbitrary action_id (e.g., Avo::Actions::ToggleAdmin) and a target record ID, causing the server to execute the sensitive action in the wrong resource context. No elevated privileges are required beyond a valid authenticated session (GitHub Advisory).
Successful exploitation allows an authenticated low-privileged user to escalate privileges (e.g., granting themselves admin roles), perform unauthorized destructive operations (delete, archive, or update records), and manipulate data across the entire application — not just the resources they are authorized to access. The high confidentiality, integrity, and availability impact scores reflect the potential for full application data compromise, including access to sensitive records and disruption of data integrity across all managed resources (GitHub Advisory).
A proof-of-concept (PoC) exploit was included in the official GitHub Security Advisory, demonstrating exploitation via a simple HTTP POST request with a crafted payload. The EPSS score is approximately 0.039%, indicating low but non-zero probability of active exploitation in the near term. No in-the-wild exploitation, threat actor attribution, or CISA KEV catalog listing has been reported as of the time of this report (GitHub Advisory, Feedly).
Avo::BaseAction subclasses available in the application (e.g., Avo::Actions::ToggleAdmin, Avo::Actions::DeleteRecord) by reviewing the application's source code or admin UI.POST /admin/resources/posts/actions
Content-Type: application/x-www-form-urlencoded
action_id=Avo%3A%3AActions%3A%3AToggleAdmin&fields[avo_resource_ids]=1&authenticity_token=<CSRF_TOKEN>ToggleAdmin on User ID 1 without validating that this action is permitted in the posts resource context, granting the attacker elevated privileges (GitHub Advisory)./admin/resources/<resource>/actions endpoints with action_id values referencing action classes not normally associated with that resource (e.g., Avo::Actions::ToggleAdmin sent to /admin/resources/posts/actions).The Avo maintainers released version 3.31.2 on April 23, 2026, which patches this vulnerability by restricting action lookup to only those actions explicitly registered for the current resource context (using @resource.get_actions instead of Avo::BaseAction.descendants). All users running Avo versions 3.31.0 and earlier should upgrade to 3.31.2 or later immediately. No configuration-based workaround is available; upgrading is the only effective remediation (GitHub Release, GitHub Advisory).
The vulnerability received coverage from The Hacker Wire, which published an article on the broken access control issue shortly after disclosure. Social media activity was observed on Bluesky and Mastodon, primarily from automated CVE tracking accounts. No notable independent researcher commentary or major vendor statements beyond the official GitHub advisory have been identified (The Hacker Wire).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."