CVE-2025-49143: Nautobot may allows uploaded media files to be accessible without authentication
Impact
Files uploaded by users to Nautobot's MEDIAROOT 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?
- https://github.com/nautobot/nautobot/commit/9c892dc300429948a4714f743c9c2879d8987340 - https://github.com/nautobot/nautobot/commit/d99a53b065129cff3a0fa9abe7355a9ef1ad4c95
Other sources
Nautobot is a Network Source of Truth and Network Automation Platform. Prior to v2.4.10 and v1.6.32 , files uploaded by users to Nautobot's MEDIAROOT 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. Nautobot v2.4.10 and v1.6.32 address this issue by adding enforcement of Nautobot user authentication to this endpoint.
— MITRE
Affected Software
Remediation
Patch Available
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2025-49143?
CVE-2025-49143 has a medium severity level due to improper authentication controls for user-uploaded files.
How do I fix CVE-2025-49143?
To fix CVE-2025-49143, upgrade Nautobot to version 2.4.10 or later, or to version 1.6.32 if using an earlier version.
What types of files are affected by CVE-2025-49143?
CVE-2025-49143 affects files uploaded to Nautobot's MEDIA_ROOT, including DeviceType images and images attached to Locations, Devices, and Racks.
Who is affected by CVE-2025-49143?
Users of Nautobot versions prior to 2.4.10 and 1.6.32 are vulnerable to CVE-2025-49143.
What is the impact of CVE-2025-49143?
The impact of CVE-2025-49143 is that user-uploaded files can be accessed without proper authentication, potentially exposing sensitive information.