Ad
 
Learn More

Permission-blind lookups are the Important line in Nautobot

Nautobot v3.2.8 and v2.4.45 fix seven advisories: three stored XSS bugs and a set of places where users could reference, or probe, objects they were not allowed to view, including other users' API tokens. The fixes tighten permissions, so check service accounts and App tests before you roll.

Written by Watch Changelog Team

•2 min read

Permission-blind lookups are the Important line in Nautobot

Nautobot shipped v3.2.8 and v2.4.45 on October 27, and we flagged both as Important on Nautobot Updates. The notes read like a single audit landed at once: seven GitHub advisories, three of them stored XSS and the rest about one theme. Nautobot was letting users point at objects they were not allowed to see.

The XSS fixes are the easy part to explain:

  • GHSA-gpjq-54xp-rrj5: custom field labels and choice values rendered unsafely on the Import Objects page.
  • GHSA-5qqh-654x-4g4q: device type and software version names rendered unsafely in the software image summary on the Device, Virtual Machine and Inventory Item forms.
  • GHSA-mqq2-g399-v4mp: a Required Validation Rule's custom error message rendered unsafely into create and edit forms. This one is only listed for v3.2.8.

The permission fixes are the ones worth reading twice:

  • GHSA-hjmc-4p4r-6fhx: the Import Objects job let imported objects reference related objects the importing user could not view, which also told them those objects existed.
  • GHSA-mw4m-fgfr-qc98: Job object variables and job button receivers accepted objects the submitting user could not view, and the REST API's dry run of a scheduled job skipped the user's view constraints.
  • GHSA-rg7h-q6c5-hr4h: the REST API, the Import Objects job, web UI forms and App serializers accepted users and groups the requester could not view.
  • GHSA-37vj-5gff-ww9c: related objects could be looked up by attributes in a way that revealed data the requester could not view, including other users' API tokens.

That last one is the line I would lead with in a change ticket. If a low-privilege account can probe attributes of objects it can't see, a shared read-only automation user is a bigger risk than it looks.

The catch is that the fixes change behavior, so this is not a blind patch. Referencing a user other than yourself now needs users.view_user, and referencing a group needs auth.view_group, in the REST API, imports and UI forms. The notes say EXEMPT_VIEW_PERMISSIONS = ["*"] does not cover these. Lookups by attributes now accept only exact matches on the object's fields and forward relations. Job button receivers only act on object types that one of their enabled job buttons applies to. The IP address merge tool now needs ipam.add_ipaddress and ipam.delete_ipaddress on top of ipam.change_ipaddress. If you maintain an App, expect some APIViewTestCases and ViewTestCases to need extra permission grants.

Two dependency notes are easy to miss. certifi moves to 2026.10.23, but it is not a direct dependency, so it will not update on its own when you upgrade Nautobot. And the pillow fix needs pillow 13, which does not support Python 3.10, so installs still on Python 3.10 can't get that mitigation at all.

What I would do: upgrade to v3.2.8 or v2.4.45, check which service accounts and integrations write to Nautobot and give them the view permissions they now need, run your App test suites before rollout, and plan the move off Python 3.10 if you are still there. The rest of the day's flagged changes are on /sources/important.

Official notes: Nautobot v3.2.8 and Nautobot v2.4.45.