Vulnerability · Published May 8, 2026 · Assigned by GitHub_M
CVE-2026-42202nova-toggle-5: Improper authorization on toggle endpoint allowed non-Nova users to modify boolean fields
Medium 6.5
In plain English
A medium-severity security flaw in nova-toggle-5 from almirhodzic. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 10% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
nova-toggle-5 enables fliping booleans in the index. Prior to version 1.3.0, the toggle endpoint (POST/nova-vendor/nova-toggle/toggle/{resource}/{resourceId}) was protected only by web + auth:<guard> middleware. Any user authenticated on the configured guard could call the endpoint and flip boolean attributes on any Nova resource — including users who do not have access to Nova itself (for example, frontend customers sharing the web guard with the Nova admin area). The endpoint also accepted an arbitrary attribute parameter, which meant a valid caller could toggle any boolean column on the underlying model — not just columns exposed as Toggle fields on the resource. This issue has been patched in version 1.3.0.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | almirhodzic/nova-toggle-5 | 1.3.0 | GHSA-f5c8-m5vw-rmgq |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| almirhodzic | nova-toggle-5 | < 1.3.0 |
Weakness: CWE-285 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
References
- https://github.com/almirhodzic/nova-toggle-5/security/advisories/GHSA-f5c8-m5vw-rmgq x_refsource_CONFIRM
- https://github.com/almirhodzic/nova-toggle-5/releases/tag/v1.3.0 x_refsource_MISC