Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 74%

CVE-2026-46341: CWE-20: Improper Input Validation in apify apify-mcp-server

0
Medium
VulnerabilityCVE-2026-46341cvecve-2026-46341cwe-20cwe-183
Published: 07/16/2026 (07/16/2026, 16:54:01 UTC)
Source: CVE Database V5
Vendor/Project: apify
Product: apify-mcp-server

Description

CVE-2026-46341 is an improper input validation vulnerability in the apify-mcp-server prior to version 0.9.21. The issue arises from the fetch-apify-docs tool validating allowed documentation domains using String.startsWith() instead of proper URL hostname comparison. This allows attacker-controlled URLs crafted to bypass the domain whitelist check and fetch arbitrary content. The vulnerability is fixed in version 0.9.21.

CVSS v3.1

Score 6.1medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected software

apify/apify-mcp-server
pkg:npm/apify/apify-mcp-server
Affected versions
<0.9.21

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/23/2026, 22:45:13 UTC

Technical Analysis

The apify-mcp-server's fetch-apify-docs tool prior to version 0.9.21 performs allowlist validation of documentation domains using String.startsWith(), which is insufficient for hostname validation. This allows URLs such as 'https://docs.apify.com.evil.com/' or 'https://[email protected]/' to bypass the ALLOWED_DOC_DOMAINS check and return arbitrary fetched content to the language model. This improper input validation (CWE-20) and improper neutralization of pathname elements (CWE-183) can lead to unintended data exposure. The issue is resolved in version 0.9.21.

Potential Impact

An attacker can craft malicious URLs that bypass domain allowlist checks, causing the server to fetch and return arbitrary content to the language model. This can lead to information disclosure and potential manipulation of data processed by the AI agents. The CVSS 3.1 score is 6.1 (medium severity), reflecting network attack vector, low attack complexity, no privileges required, user interaction required, and partial confidentiality and integrity impact.

Mitigation Recommendations

Upgrade apify-mcp-server to version 0.9.21 or later, where the domain validation logic is corrected to properly compare URL hostnames instead of using String.startsWith(). No other mitigation is specified. Patch status is not explicitly stated but the fix is included in version 0.9.21.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-13T18:37:30.990Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a5915cf68715ace436c3e55

Added to database: 07/16/2026, 17:33:03 UTC

Last enriched: 07/23/2026, 22:45:13 UTC

Last updated: 08/30/2026, 10:52:09 UTC

Views: 98

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses