Vulnerability PYSEC-2026-1689

Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
2 months ago
July 07, 2026 at 04:02 PM UTC
Nautobot may allows uploaded media files to be accessible without authentication
1.0.0a1 - 1.6.31 and 2.0.0 - 2.4.9
1.0.0a1 - 1.6.31 and 2.0.0 - 2.4.9

Summary

Nautobot may allows uploaded media files to be accessible without authentication

Details

Impact

Files uploaded by users to Nautobot's MEDIA_ROOT directory, including DeviceType image attachments as well as images attached to a Location, Device, or Rack, are served to users via a URL endpoint that was not enforcing user authentication. As a consequence, such files can be retrieved by anonymous users who know or can guess the correct URL for a given file.

For DeviceType image attachments, a mitigating factor is that no URL endpoint exists for listing the contents of the devicetype-images/ subdirectory, and the file names are as specified by the uploading user, so any given DeviceType image attachment can only be retrieved by correctly guessing its file name.

Similarly, for all other image attachments, while the images can be listed by accessing the /api/extras/image-attachments/ endpoint as an authenticated user only, absent that authenticated access, accessing the files would again require guessing file names correctly.

Patches

Nautobot v2.4.10 and v1.6.32 will address this issue by adding enforcement of Nautobot user authentication to this endpoint.

Workarounds

No workaround other than applying the patch given in https://github.com/nautobot/nautobot/pull/6672 (2.x) or https://github.com/nautobot/nautobot/pull/6703 (1.6)

References

Are there any links users can visit to find out more?

Impacted packages

Timeline

Published
2 months ago
July 07, 2026 at 04:02 PM UTC
Fixed (2.4.10)
1 year ago
June 10, 2025 at 02:07 PM UTC
Fixed (1.6.32)
1 year ago
June 10, 2025 at 02:13 PM UTC
Last Modified
2 months ago
July 07, 2026 at 05:47 PM UTC