
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-42202 is an improper authorization vulnerability in the nova-toggle-5 Laravel Nova package (by almirhodzic) that allows any authenticated user on the configured guard to flip boolean attributes on any Nova resource model — even without Nova admin access. It affects all versions prior to 1.3.0. The vulnerability was disclosed on April 20, 2026, via a GitHub Security Advisory, and published to NVD on May 8, 2026. It carries a CVSS v3.1 base score of 6.5 (Medium) (GitHub Advisory, Feedly).
The root cause is CWE-285 (Improper Authorization): the toggle endpoint (POST /nova-vendor/nova-toggle/toggle/{resource}/{resourceId}) was protected only by web + auth:<guard> middleware, with no enforcement of Nova's own access controls such as the viewNova gate or resource-level authorizedToUpdate policies. Additionally, the endpoint accepted an arbitrary attribute parameter, meaning any authenticated caller could toggle any boolean column on the underlying Eloquent model — not just fields explicitly declared as Toggle fields on the Nova resource. This creates a horizontal privilege escalation scenario where, for example, frontend customers sharing the same authentication guard as the Nova admin area could manipulate admin-facing boolean flags (GitHub Advisory).
Successful exploitation allows any authenticated user — including non-admin frontend users — to arbitrarily toggle boolean columns on any Nova resource model in the database, with no confidentiality impact but a high integrity impact. This could be used to escalate privileges (e.g., toggling an is_admin flag), disable security controls, activate or deactivate user accounts, or corrupt application state. There is no availability impact and no data exposure, but the integrity risk to application data and access control logic is significant (GitHub Advisory, Feedly).
No public exploit code or in-the-wild exploitation has been reported for CVE-2026-42202. The EPSS score is approximately 0.026% (very low probability of exploitation in the near term). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires only low-privilege authentication (any valid session on the configured guard), making it accessible to a broad set of potential attackers in multi-tenant or mixed-audience deployments (GitHub Advisory, Feedly).
almirhodzic/nova-toggle-5 package (version < 1.3.0) with a Nova admin panel. Look for the /nova-vendor/nova-toggle/ route prefix in HTTP responses or JavaScript assets.users, posts) by observing the Nova admin panel's API calls or application behavior./nova-vendor/nova-toggle/toggle/{resource}/{resourceId} with an attribute parameter set to any boolean column name on the target model (e.g., is_admin, is_active, email_verified)./nova-vendor/nova-toggle/toggle/* originating from non-admin user sessions or unusual IP addresses.attribute values that do not correspond to declared Toggle fields on the resource.is_admin, is_active, is_verified) on user or resource records, particularly outside of normal admin activity windows.The vulnerability is fixed in nova-toggle-5 version 1.3.0, which enforces Nova's nova:api middleware (including the viewNova gate), checks the resource's authorizedToUpdate policy, and restricts toggling to attributes explicitly declared as Toggle fields that are not readonly. Upgrade by running composer update almirhodzic/nova-toggle-5. For those unable to upgrade immediately, the advisory recommends either removing the package entirely or adding custom middleware to the /nova-vendor/nova-toggle/toggle/* routes that enforces the viewNova gate. Note that the config/nova-toggle-5.php config file and its guards option have been removed in v1.3.0 and can be safely deleted after upgrading (GitHub Advisory, GitHub Release).
The vulnerability was responsibly disclosed by security researcher Roberto Negro and credited in both the GitHub Security Advisory and the v1.3.0 release notes. No significant broader media coverage or notable community commentary beyond the advisory itself has been identified (GitHub Advisory, GitHub Release).
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."