CVE-2026-46341

Source
https://cve.org/CVERecord?id=CVE-2026-46341
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46341.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-46341
Aliases
Published
2026-07-16T16:54:01.843Z
Modified
2026-07-19T03:30:52.488025562Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Apify MCP server: Domain Allowlist Bypass in fetch-apify-docs via String Prefix Matching
Details

The Apify MCP server enables AI agents to extract data from websites using ready-made scrapers, crawlers, and automation tools available on the Apify Store. Prior to 0.9.21, the fetch-apify-docs tool in src/tools/common/fetchapifydocs.ts validates allowlisted documentation domains with String.startsWith() rather than URL hostname comparison, allowing attacker-controlled URLs such as https://docs.apify.com.evil.com/ and https://docs.apify.com@evil.com/ to pass the ALLOWEDDOCDOMAINS check and return arbitrary fetched content to the LLM. This issue is fixed in version 0.9.21.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46341.json",
    "cwe_ids": [
        "CWE-183",
        "CWE-20"
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/apify/apify-mcp-server

Affected ranges

Type
GIT
Repo
https://github.com/apify/apify-mcp-server
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.9.21"
        }
    ]
}

Affected versions

v0.*
v0.1.1
v0.1.10
v0.1.11
v0.1.12
v0.1.13
v0.1.14
v0.1.15
v0.1.16
v0.1.17
v0.1.18
v0.1.19
v0.1.2
v0.1.20
v0.1.21
v0.1.22
v0.1.23
v0.1.24
v0.1.25
v0.1.26
v0.1.27
v0.1.28
v0.1.29
v0.1.3
v0.1.30
v0.1.4
v0.1.5
v0.1.6
v0.1.7
v0.1.8
v0.1.9
v0.2.0
v0.2.1
v0.2.10
v0.2.11
v0.2.12
v0.2.13
v0.2.14
v0.2.15
v0.2.16
v0.2.2
v0.2.3
v0.2.4
v0.2.5
v0.2.6
v0.2.7
v0.2.8
v0.2.9
v0.3.1
v0.3.2
v0.3.3
v0.3.4
v0.3.5
v0.3.6
v0.3.7
v0.3.8
v0.3.9
v0.4.0
v0.4.1
v0.4.10
v0.4.12
v0.4.13
v0.4.14
v0.4.16
v0.4.17
v0.4.18
v0.4.19
v0.4.20
v0.4.21
v0.4.23
v0.4.24
v0.4.25
v0.4.26
v0.4.27
v0.4.28
v0.4.3
v0.4.4
v0.4.5
v0.4.7
v0.4.9
v0.5.0
v0.5.1
v0.5.2
v0.5.5
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.2
v0.6.3
v0.6.4
v0.6.5
v0.6.6
v0.6.7
v0.6.8
v0.7.0
v0.7.1
v0.7.4
v0.8.1
v0.8.2
v0.8.3
v0.8.4
v0.8.6
v0.9.0
v0.9.1
v0.9.10
v0.9.11
v0.9.12
v0.9.13
v0.9.14
v0.9.15
v0.9.16
v0.9.17
v0.9.18
v0.9.19
v0.9.2
v0.9.20
v0.9.3
v0.9.4
v0.9.5
v0.9.6
v0.9.7
v0.9.8
v0.9.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46341.json"