Know every vulnerabilitybefore it knows you.
DevGuard continuously monitors your dependencies and alerts you when CVEs like this one affect your stack — with real-time threat intelligence built for developers.
GHSA-q4c5-2j6f-r476
Impact
This is an authorization bypass that escalates into unauthorized server-side job execution.
-
Primary impact - self-approval: The approver checks (approver-group membership,
changepermission on the object under review, one-response-per-user) are enforced only in theapprove/denyactions onApprovalWorkflowStage. The genericApprovalWorkflowStageResponsecreate endpoint enforces none of them, so a user holding onlyextras.add_approvalworkflowstageresponsecanPOSTapproved responses directly and drive a stage past itsmin_approversthreshold with no legitimate approver involved. The serializer also exposesuserandstateas writable, letting the attacker attribute responses to arbitrary users. -
Escalated impact job activation: Because the approval workflow gates a
ScheduledJob, self-approval does not stop at the approval record. Stage approval cascades throughApprovalWorkflow.save()toon_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.
Upload your own SBOM in CycloneDX 1.6 or higher (JSON) directly here to check your vulnerabilities.
Drag and drop some file here, or click to select
The vulnerability can be exploited over the network without needing physical access. It is easy for an attacker to exploit this vulnerability. An attacker needs basic access or low-level privileges. No user interaction is needed for the attacker to exploit this vulnerability. The vulnerability can affect other systems as well, not just the initial system. There is a low impact on the confidentiality of the information. There is a low impact on the integrity of the data.
Exploitation attempts have been detected. Elevated vigilance and prompt remediation are advised.
The exploit probability is very low. The vulnerability is unlikely to be exploited in the next 30 days.
We did not find any exploit available. Neither in GitHub repositories nor in the Exploit-Database.
Browse More
Continuously monitor your dependencies and get alerted when vulnerabilities like this one affect your stack.
Checkout DevGuard