PYSEC-2026-4111
Vulnerability from pysec - Published: 2026-10-01 16:38 - Updated: 2026-10-01 17:10Impact
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.
| Name | purl | nautobot | pkg:pypi/nautobot |
|---|
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "nautobot",
"purl": "pkg:pypi/nautobot"
},
"ranges": [
{
"events": [
{
"introduced": "3.0.0"
},
{
"fixed": "3.1.8"
}
],
"type": "ECOSYSTEM"
}
],
"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"
]
}
],
"aliases": [
"CVE-2026-83805",
"GHSA-q4c5-2j6f-r476"
],
"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.",
"id": "PYSEC-2026-4111",
"modified": "2026-10-01T17:10:32.792203Z",
"published": "2026-10-01T16:38:37.079884Z",
"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"
},
{
"type": "PACKAGE",
"url": "https://pypi.org/project/nautobot"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-q4c5-2j6f-r476"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-83805"
}
],
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
}
],
"summary": "Nautobot: Authorization bypass in approval workflow REST API allows self-approval and unauthorized activation of scheduled jobs"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.