CVE-2025-49143: Nautobot Nautobot May Allows Uploaded Media Vulnerability
MODERATECVE-2025-49143 is a MODERATE nautobot may allows uploaded media vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Nautobot libraries in the PyPI ecosystem. The issue involves nautobot may allows uploaded media files to be accessible without authentication. Remediation is available by upgrading affected packages to version 1.6.32, 2.4.10.
CVE-2025-49143 at a Glance
How to Fix CVE-2025-49143
To remediate this vulnerability, upgrade all affected Nautobot dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install nautobot>=1.6.32
pip install nautobot>=2.4.10
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show nautobot
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2025-49143, inspect your installed packages using pip:
pip show nautobot
Analyze the terminal output to locate any version of Nautobot in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.6.32), your application is affected.
Note: The pip show nautobot command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Nautobot, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-49143 Affected Nautobot Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
nautobot
|
PyPI |
< 1.6.32
|
1.6.32
|
|
nautobot
|
PyPI |
≥ 2.0.0
< 2.4.10
|
2.4.10
|
References
Frequently Asked Questions
What is CVE-2025-49143?
Which Nautobot versions are affected?
What version fixes CVE-2025-49143?
Is nautobot affected?
What CWE is associated with CVE-2025-49143?
How can I check PyPI dependencies for CVE-2025-49143?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rh67-4c8j-hjjh",
"modified" : "2025-06-10T20:36:11Z",
"published" : "2025-06-10T20:36:11Z",
"aliases" : [ "CVE-2025-49143" ],
"summary" : "Nautobot may allows uploaded media files to be accessible without authentication",
"details" : "### Impact\n\nFiles 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.\n\nFor 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.\n\nSimilarly, 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.\n\n### Patches\n\nNautobot v2.4.10 and v1.6.32 will address this issue by adding enforcement of Nautobot user authentication to this endpoint.\n\n### Workarounds\n\nNo 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)\n\n### References\n_Are there any links users can visit to find out more?_\n\n- https://github.com/nautobot/nautobot/commit/9c892dc300429948a4714f743c9c2879d8987340\n- https://github.com/nautobot/nautobot/commit/d99a53b065129cff3a0fa9abe7355a9ef1ad4c95",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "nautobot"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.6.32"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "nautobot"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.4.10"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/nautobot/nautobot/security/advisories/GHSA-rh67-4c8j-hjjh"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-49143"
}, {
"type" : "WEB",
"url" : "https://github.com/nautobot/nautobot/pull/6672"
}, {
"type" : "WEB",
"url" : "https://github.com/nautobot/nautobot/pull/6703"
}, {
"type" : "WEB",
"url" : "https://github.com/nautobot/nautobot/commit/9c892dc300429948a4714f743c9c2879d8987340"
}, {
"type" : "WEB",
"url" : "https://github.com/nautobot/nautobot/commit/d99a53b065129cff3a0fa9abe7355a9ef1ad4c95"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/nautobot/nautobot"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-06-10T20:36:11Z",
"nvd_published_at" : "2025-06-10T16:15:42Z"
}
}