CVE-2026-40081cacti/cacti Authorization Bypass Through User-Controlled Key
NVD
Vulnerability Summary
Reports IDOR - Any Authenticated User Can Modify Other Users' Reports Integration Test Confirmation Manual code review confirms the DELETE path at lib/html_reports.php:420 uses: ``` php db_execute_prepared('DELETE FROM reports WHERE id = ?', [$report_id]); ``` No `AND user_id = ?` or `$_SESSION[SESS_USER_ID]` check in the delete path. The `user_id` reference found by automated scan is in a different code path (list view filtering), not in the mutation endpoints. Affected Mutation Endpoints (No Ownership Check) 1. `reports_form_actions()` line 420: DELETE - `WHERE id = ?` only 2. `reports_form_save()` line 271-274: UPDATE - no owner match 3. `reports_edit()` line 1514-1515: SELECT - no ownership filter 4. `reports_item_remove()` line 661: DELETE items - no owner check 5. `reports_item_moveup/movedown()` lines 629, 646: reorder - no owner check Protected Endpoint (For Contrast) `reports_send()` line 593: correctly checks `$report['user_id'] == $_SESSION[SESS_USER_ID]` Authentication Post-auth (any authenticated user, not just admins). PoC ``` POST /cacti/reports.php?action=actions selected_items=["5"]&drp_action=1 ``` User B deletes User A's report ID=5 without any permission check. Fix Add `AND user_id = ? OR is_reports_admin()` to all mutation queries. --- Fix: https://github.com/Cacti/cacti/commit/2c8c99adb --- Maintainer Remediation & Release Information This vulnerability is fixed in Cacti 1.2.31 (`release/1.2.31`) via PR #7054, which enforces report ownership and administrative authorization checks across report mutation actions. Users should upgrade to Cacti 1.2.31 or later.
CVSS v3.1 Base Metrics — Score 7.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:NAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityLow
IntegrityHigh
AvailabilityNone
Affected & Patched Versions
- cacti/cacti <= 1.2.30
- cacti/cacti 1.2.31
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run cacti/cacti and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 29, 2026Published
- Nov 29, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new cacti/cacti CVEsYou are reading CVE-2026-40081. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Nov 29, 2026 05:01 UTC