Advisory

PYSEC-2026-4111

Also known as: CVE-2026-83805, GHSA-q4c5-2j6f-r476

Summary

Nautobot: Authorization bypass in approval workflow REST API allows self-approval and unauthorized activation of scheduled jobs

Details

Impact
This is an authorization bypass that escalates into unauthorized server-side job execution.

  1. 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.
  1. 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.

Patches

Fixed in Nautobot v3.1.8

Workarounds
Restrict 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.

Severity

Medium Basis: CVSS v3 score 6.4, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Dates

Published
2026-10-01 16:38 UTC
Modified
2026-10-01 17:45 UTC

Affected packages and fixes

nautobot

PyPI · All systems

Affected

  • introduced 3.0.0, fixed 3.1.8 (ecosystem)

Fixed versions

3.1.8

Fix

  • Fixed version 3.1.8
    pip install --upgrade nautobot==3.1.8

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences