{"id":"GHSA-q4c5-2j6f-r476","summary":"Nautobot: Authorization bypass in approval workflow REST API allows self-approval and unauthorized activation of scheduled jobs","details":"### Impact\nThis is an authorization bypass that escalates into unauthorized server-side job execution.\n\n1. Primary impact - self-approval: The approver checks (approver-group membership, `change` permission on the object under review, one-response-per-user) are enforced only in the `approve`/`deny` actions on `ApprovalWorkflowStage`. The generic `ApprovalWorkflowStageResponse` create endpoint enforces none of them, so a user holding only `extras.add_approvalworkflowstageresponse` can `POST` approved responses directly and drive a stage past its `min_approvers` threshold with no legitimate approver involved. The serializer also exposes `user` and `state` as writable, letting the attacker attribute responses to arbitrary users.\n\n2. Escalated impact  job activation: Because the approval workflow gates a `ScheduledJob`, self-approval does not stop at the approval record. Stage approval cascades through `ApprovalWorkflow.save()` to `on_workflow_approved()`, which sets the target job to enabled/active.\n\n### Patches\n\nFixed in Nautobot v3.1.8\n\n### Workarounds\nRestrict the `extras.add_approvalworkflowstageresponse` permission so that no untrusted user holds it; approval responses should only ever be created via the stage `approve`/`deny` actions. There is no configuration flag that disables the generic create endpoint prior to the patch.","aliases":["CVE-2026-83805"],"modified":"2026-09-22T21:00:12.924562280Z","published":"2026-09-22T20:37:33Z","database_specific":{"github_reviewed_at":"2026-09-22T20:37:33Z","nvd_published_at":null,"cwe_ids":["CWE-285","CWE-639"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/nautobot/nautobot/security/advisories/GHSA-q4c5-2j6f-r476"},{"type":"WEB","url":"https://github.com/nautobot/nautobot/commit/8682707d0391cbfd7694e3276127b78dc9cf29d8"},{"type":"PACKAGE","url":"https://github.com/nautobot/nautobot"},{"type":"WEB","url":"https://github.com/nautobot/nautobot/releases/tag/v3.1.8"}],"affected":[{"package":{"name":"nautobot","ecosystem":"PyPI","purl":"pkg:pypi/nautobot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.1.8"}]}],"versions":["3.0.0","3.0.1","3.0.10","3.0.11","3.0.2","3.0.3","3.0.4","3.0.5","3.0.6","3.0.7","3.0.8","3.0.9","3.1.0","3.1.0a1","3.1.0a2","3.1.0a3","3.1.0a4","3.1.0a5","3.1.1","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.1.7"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-q4c5-2j6f-r476/GHSA-q4c5-2j6f-r476.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"}]}