CVE-2026-7158
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedA vulnerability has been found in dmitryglhf mcp-url-downloader up to 4b8cf2de55f6e8864a77d108e8a94a5b8e4394c6. Affected by this issue is the function _validate_url_safe of the file src/mcp_url_downloader/server.py. Such manipulation of the argument url leads to server-side request forgery. The attack can be executed remotely. The exploit has been disclosed to the public and may be used. This product implements a rolling release for ongoing delivery, which means version information for affected or updated releases is unavailable. The project was informed of the problem early through an issue report but has not responded yet.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceServer-Side Request Forgery (SSRF) vulnerability in the _validate_url_safe function of src/mcp_url_downloader/server.py. The function fails to properly validate or restrict URL inputs, allowing remote attackers to manipulate the url parameter to cause the server to make requests to arbitrary internal or external resources.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify if mcp_url_downloader is installedRun 'pip show mcp_url_downloader' or check your project's dependencies (requirements.txt, pyproject.toml, Pipfile) for the mcp_url_downloader package and note its installed versionAffected if The package is installed and its version falls within any affected range or is a version where the vulnerability is present
-
Locate the vulnerable server.py fileFind the file at src/mcp_url_downloader/server.py in your environment (check your site-packages, venv, or project source directory)Affected if The file exists in your environment, indicating the vulnerable code is present
-
Inspect the _validate_url_safe function implementationOpen src/mcp_url_downloader/server.py and locate the _validate_url_safe function; examine its URL validation logic for any allowed schemes (http/https), hostname allowlists, or IP range restrictionsAffected if The function exists but lacks proper validation (no scheme restrictions, no hostname allowlist, no blocking of localhost/private IPs)
-
Determine if URL download functionality is enabledCheck your application configuration, startup logs, or active endpoints to see if the URL downloader server feature is running or exposedAffected if The URL downloader server is actively running and accessible (even locally)
-
Test for SSRF exposureIf the service is running, attempt to send a request with a url parameter pointing to an internal resource (e.g., http://localhost:port/path or http://169.254.169.254/) and observe if the server attempts the connectionAffected if The server accepts and attempts to follow arbitrary URLs, including internal addresses
Your environment is affected if mcp_url_downloader is installed, the vulnerable server.py with _validate_url_safe is present, and the URL downloader functionality is enabled without proper URL validation safeguards in place.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
From vendor dataImplement strict URL validation in _validate_url_safe: restrict allowed URL schemes to http/https only, implement an explicit allowlist of permitted hostnames/IPs, and add network-level restrictions to prevent access to internal services (localhost, private IPs, cloud metadata endpoints).
- Consultation2.0 h
- Implementation2.0 h
- Testing2.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,984.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-7158 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-7158 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data