dailydaniel/logseq-mcp
simple logseq mcp server
12995c0bb27dmcp-server-logseq0.12.0 in pyproject.tomlPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- Some paths pass through more than 8 functions one inside another; the scanner stops there
- In 23 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- 1 of 21 tools, prompts and resources could not be followed through the code
- 1 place in the code registers tools whose names are computed at run time; how many tools that makes cannot be read from the code
Top risks in plain words
- CRITICAL9 production dependencies have known vulnerabilities (worst: critical).
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Update its vulnerable packages
Use
anyio4.14.2 or later,certifi2026.10.18 or later,cryptography50.0.0 or later,h110.16.0 or later and 5 more. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 21 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
custom_query, datascript_query, find_tasks, read_block, read_page, searchcustom_query, datascript_query, find_tasks, get_worklog_setup_template, list_pages, list_work_projects and 3 moreNo tool was seen to: connect to the internet or other hosts; read passwords, tokens or keys; read environment variables; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files9 tools · custom_query, datascript_query, find_tasks +6
Not all three are present in the tools the scanner traced.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (21: 21 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
(name computed at run time)tool
No description.
add_journal_notetool Log a unit of work to today's journal, under its project (and task).
Log a unit of work to today's journal, under its project (and task).
The note lands as `HH:MM #<agent page> <text>`, nested under the project group
and, when a task is given, under a reference to that task — the same shape a
human keeps by hand. The server stamps the time, so never write one into
`text`, and sign with your OWN name: the server cannot verify who is calling.
This channel is append-only and confined to today's journal: it cannot edit
or delete anything, `work` must come from `list_work_projects`, `agent` from
`list_agents`, and `task` must be an existing task block.add_journal_taskstool Add new TODO tasks to the user's journal, under an existing block.
Add new TODO tasks to the user's journal, under an existing block.
Only for a list the user has approved in this conversation, word for word — the
server cannot check that, so it is on you. The tasks become the last children
of `parent`, which must be on a journal page and under a configured tag
(`[tasks].journal_tags`, e.g. #_study, #_work/…; never …/archive/…).
Append-only: nothing existing is edited. A task already open under the same tag
(same text, ignoring case, links and priority) is not added again; it comes back
in `duplicates` with its uuid. `added` lists the new tasks' uuids — use those
for set_task_status. For tasks in the agent namespace use create_task.create_tasktool Create a structured task. This is the ONLY way to make a task — write_note
Create a structured task. This is the ONLY way to make a task — write_note
rejects task-marker content. The block lives in the agent namespace, carries a
`#task` tag and a link to the executor agent, and optionally links a project,
a detail page, and a blocking block.custom_querytool Run a named custom query from the server config.ProcessesFilesoutside text
Run a named custom query from the server config.
datascript_querytool Run a raw Datalog query against the graph (advanced).ProcessesFilesoutside text
Run a raw Datalog query against the graph (advanced).
edit_blocktool Replace a block's content, confined to the agent namespace.
Replace a block's content, confined to the agent namespace.
Read the block first: you must pass its exact current content as `old_content`.
The edit is rejected if it doesn't match (you didn't read it, or it changed) —
this enforces read-before-write and guards a concurrent edit. The block must
live under the agent namespace. To change a task's status use set_task_status.edit_blockstool Apply many block edits in one call, each checked like edit_block.
Apply many block edits in one call, each checked like edit_block.
Per item: a block that changed since you read it (or lies outside the agent
namespace) lands in `rejected` with the reason, and the others still apply —
re-read and retry the rejected ones. One audit line for the whole batch.find_taskstool Find task blocks by marker, tag, priority, page or agent-ownership scope.ProcessesFilesoutside text
Find task blocks by marker, tag, priority, page or agent-ownership scope.
get_logseq_guidetool Return the authoritative guide for querying and writing this Logseq graph.
Return the authoritative guide for querying and writing this Logseq graph.
Read this once before using the other tools — it covers the verified Datalog
gotchas (lowercase names, prefix descendants, marker/journal-day types, tags vs
refs, read/write scoping) so you don't have to rediscover them.get_worklog_setup_templatetool Return the worklog section for an agent's instructions file (CLAUDE.md, AGENTS.md).Filesoutside text
Return the worklog section for an agent's instructions file (CLAUDE.md, AGENTS.md).
Call it ONLY when the user asks you to add worklog instructions to such a file —
never to log work (that is `add_journal_note`). The result says how to fill it in.list_agentstool List the agent names a worklog note can be signed with, as `<runtime>/<name>`.
List the agent names a worklog note can be signed with, as `<runtime>/<name>`.
This is the closed set `add_journal_note` accepts for `agent` — any runtime
(claude, codex, ...). Use your own name, the one this session runs as. The
server cannot tell who is calling, so signing honestly is on you.list_custom_queriestool List the named custom queries available from the server config.
List the named custom queries available from the server config.
list_pagestool List page names under a namespace prefix (structure, not block content).Filesoutside text
List page names under a namespace prefix (structure, not block content).
Namespace children are separate pages, so read_page on a parent shows none of
them; use this to discover them. Matches the full lowercased ``:block/name``.list_work_projectstool List the projects a worklog note can be filed under.Filesoutside text
List the projects a worklog note can be filed under.
This is the closed set `add_journal_note` accepts for `work` — read it first
instead of guessing a project name.read_blocktool Read a single block (and its children) with references resolved.ProcessesFilesoutside text
Read a single block (and its children) with references resolved.
read_pagetool Read a page as a normalized block tree with references resolved.ProcessesFilesoutside text
Read a page as a normalized block tree with references resolved.
A page that does not exist is an error, not an empty result.searchtool Full-text search across block content in the graph.ProcessesFilesoutside text
Full-text search across block content in the graph.
set_page_propertiestool Set or remove properties on an agent-namespace page.
Set or remove properties on an agent-namespace page.
set_task_statustool Change only a task block's status marker (text untouched).
Change only a task block's status marker (text untouched).
write_notetool Create or update a page in the agent's namespace.
Create or update a page in the agent's namespace.
`blocks` appends whole block trees (a block with its nested children) in one
call — e.g. a flashcard: the question with the answer as its children.Text the model reads (21)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
(name computed at run time) tool
search tool
Full-text search across block content in the graph.
find_tasks tool
Find task blocks by marker, tag, priority, page or agent-ownership scope.
list_pages tool
List page names under a namespace prefix (structure, not block content).
Namespace children are separate pages, so read_page on a parent shows none of
them; use this to discover them. Matches the full lowercased ``:block/name``.get_logseq_guide tool
Return the authoritative guide for querying and writing this Logseq graph.
Read this once before using the other tools — it covers the verified Datalog
gotchas (lowercase names, prefix descendants, marker/journal-day types, tags vs
refs, read/write scoping) so you don't have to rediscover them.list_custom_queries tool
List the named custom queries available from the server config.
custom_query tool
Run a named custom query from the server config.
datascript_query tool
Run a raw Datalog query against the graph (advanced).
read_page tool
Read a page as a normalized block tree with references resolved.
A page that does not exist is an error, not an empty result.read_block tool
Read a single block (and its children) with references resolved.
write_note tool
Create or update a page in the agent's namespace.
`blocks` appends whole block trees (a block with its nested children) in one
call — e.g. a flashcard: the question with the answer as its children.create_task tool
Create a structured task. This is the ONLY way to make a task — write_note
rejects task-marker content. The block lives in the agent namespace, carries a
`#task` tag and a link to the executor agent, and optionally links a project,
a detail page, and a blocking block.set_page_properties tool
Set or remove properties on an agent-namespace page.
edit_block tool
Replace a block's content, confined to the agent namespace.
Read the block first: you must pass its exact current content as `old_content`.
The edit is rejected if it doesn't match (you didn't read it, or it changed) —
this enforces read-before-write and guards a concurrent edit. The block must
live under the agent namespace. To change a task's status use set_task_status.edit_blocks tool
Apply many block edits in one call, each checked like edit_block.
Per item: a block that changed since you read it (or lies outside the agent
namespace) lands in `rejected` with the reason, and the others still apply —
re-read and retry the rejected ones. One audit line for the whole batch.set_task_status tool
Change only a task block's status marker (text untouched).
add_journal_tasks tool
Add new TODO tasks to the user's journal, under an existing block.
Only for a list the user has approved in this conversation, word for word — the
server cannot check that, so it is on you. The tasks become the last children
of `parent`, which must be on a journal page and under a configured tag
(`[tasks].journal_tags`, e.g. #_study, #_work/…; never …/archive/…).
Append-only: nothing existing is edited. A task already open under the same tag
(same text, ignoring case, links and priority) is not added again; it comes back
in `duplicates` with its uuid. `added` lists the new tasks' uuids — use those
for set_task_status. For tasks in the agent namespace use create_task.list_work_projects tool
List the projects a worklog note can be filed under.
This is the closed set `add_journal_note` accepts for `work` — read it first
instead of guessing a project name.list_agents tool
List the agent names a worklog note can be signed with, as `<runtime>/<name>`.
This is the closed set `add_journal_note` accepts for `agent` — any runtime
(claude, codex, ...). Use your own name, the one this session runs as. The
server cannot tell who is calling, so signing honestly is on you.add_journal_note tool
Log a unit of work to today's journal, under its project (and task).
The note lands as `HH:MM #<agent page> <text>`, nested under the project group
and, when a task is given, under a reference to that task — the same shape a
human keeps by hand. The server stamps the time, so never write one into
`text`, and sign with your OWN name: the server cannot verify who is calling.
This channel is append-only and confined to today's journal: it cannot edit
or delete anything, `work` must come from `list_work_projects`, `agent` from
`list_agents`, and `task` must be an existing task block.get_worklog_setup_template tool
Return the worklog section for an agent's instructions file (CLAUDE.md, AGENTS.md).
Call it ONLY when the user asks you to add worklog instructions to such a file —
never to log work (that is `add_journal_note`). The result says how to fill it in.What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 20 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 20 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 20 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 20 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 20 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processes6 of 21 capabilities start processes; 14 more call code the scanner could not follow, where it may happen
- Tools that touch files9 of 21 capabilities touch files; 11 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 21 capabilities; 20 more call code the scanner could not follow, where it may happen
Where the code is: 21 handlers in 1 file at commit 12995c0bb27d
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: pyproject.toml
- Lockfiles checked against OSV1 file resolved and checked against the OSV database; 1 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
- Known vulnerabilities in production dependencies CRITICAL9 production packages with known advisories
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionmcp >=1.27,<2
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 21 capabilities; 20 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (9 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
pyjwtPyPI 2.13.0 CRITICAL 29 advisories 2.14.02.15.0
- CRITICALGHSA-ffc3-869f-jxw9 CVE-2026-102268 PYSEC-2026-4145PyJWT: Asymmetric-PEM detection bypass: whitespace/line-ending-mutated public keys skip the HS/asymmetric confusion guard
- HIGHGHSA-w2cx-738m-mc7w CVE-2026-102273 PYSEC-2026-4151PyJWT accepts public JWK containers as HMAC secrets
- HIGHGHSA-9v7f-9g4p-ffgj CVE-2026-102267 PYSEC-2026-4144PyJWT: PyJWKClient follows redirects when fetching JWKS
- HIGHGHSA-p4g4-x82p-q773 CVE-2026-102271 PYSEC-2026-4149PyJWT: Public keys in DER form are accepted as HMAC secrets, bypassing the CVE-2022-29217 guard
- HIGHGHSA-9j54-fg26-wv3r CVE-2026-102266 PYSEC-2026-4143PyJWT: PyJWK accepts empty HMAC keys, bypassing PyJWT's empty-key validation
- HIGHGHSA-pxh4-856f-4h89PyJWT: HS256/384/512 verify accepts empty HMAC key via oct JWK (PyJWK/PyJWKClient) enabling token forgery
- HIGHGHSA-r6x4-923q-g947 CVE-2026-102272 PYSEC-2026-4150PyJWT BOM Bypass
- MEDIUMPYSEC-2026-4151 CVE-2026-102273 GHSA-w2cx-738m-mc7wPyJWT accepts public JWK containers as HMAC secrets
- MEDIUMGHSA-x33g-cr3x-6449 CVE-2026-102275 PYSEC-2026-4183PyJWT accepts inconsistent OKP x/d JWKs, causing public/private key identity confusion
- MEDIUMGHSA-gvp8-978c-rx2q CVE-2026-103001 PYSEC-2026-4146PyJWT.decode() reintroduces options-dict mutation, enabling silent claim-verification bypass on dict reuse
- MEDIUMPYSEC-2026-4150 CVE-2026-102272 GHSA-r6x4-923q-g947PyJWT BOM Bypass
- MEDIUMGHSA-hxm8-2xgr-2p9m CVE-2026-102269 PYSEC-2026-4147PyJWT: Non-canonical signature segments enable raw-token revocation bypass
- MEDIUMGHSA-42vr-xj54-vc7v CVE-2026-101918 PYSEC-2026-4141PyJWT: Unauthenticated RecursionError DoS in pre-verification payload parse (PyJWKClient.get_signing_key_from_jwt / verify_signature=False)
- MEDIUMGHSA-w6j9-cwv2-h6wq CVE-2026-102274 PYSEC-2026-4152PyJWT: Malformed RSA JWK aborts parsing of an entire JWK Set
- MEDIUMPYSEC-2026-4144 CVE-2026-102267 GHSA-9v7f-9g4p-ffgjPyJWT: PyJWKClient follows redirects when fetching JWKS
- MEDIUMPYSEC-2026-4152 CVE-2026-102274 GHSA-w6j9-cwv2-h6wqPyJWT: Malformed RSA JWK aborts parsing of an entire JWK Set
- MEDIUMPYSEC-2026-4183 CVE-2026-102275 GHSA-x33g-cr3x-6449PyJWT is a Python implementation of JSON Web Token standards. From 2.1.0 until 2.15.0, PyJWT OKPAlgorithm.from_jwk in jwt/algorithms.py is affected because private-JWK import path does not compare the public key derived from d with x. This occurs when an OKP private JWK supplies non-corresponding x and d components. As a result, identity derived from x can differ from operations performed with d. Consequently, if an integration also accepts private key parameters from a proof header without rejecting them, an attacker may use a stolen sender-constrained token without the legitimate private key. This issue is fixed in version 2.15.0.
- MEDIUMGHSA-jwrc-g2q2-pq5p CVE-2026-102270 PYSEC-2026-4148PyJWT: ReDoS vulnerability when calling the `is_pem_format` function.
- MEDIUMPYSEC-2026-4147 CVE-2026-102269 GHSA-hxm8-2xgr-2p9mPyJWT: Non-canonical signature segments enable raw-token revocation bypass
- MEDIUMPYSEC-2026-4143 CVE-2026-102266 GHSA-9j54-fg26-wv3rPyJWT: PyJWK accepts empty HMAC keys, bypassing PyJWT's empty-key validation
- MEDIUMPYSEC-2026-4148 CVE-2026-102270 GHSA-jwrc-g2q2-pq5pPyJWT: ReDoS vulnerability when calling the `is_pem_format` function.
- MEDIUMPYSEC-2026-4146 CVE-2026-103001 GHSA-gvp8-978c-rx2qPyJWT.decode() reintroduces options-dict mutation, enabling silent claim-verification bypass on dict reuse
- MEDIUMPYSEC-2026-4149 CVE-2026-102271 GHSA-p4g4-x82p-q773PyJWT: Public keys in DER form are accepted as HMAC secrets, bypassing the CVE-2022-29217 guard
- MEDIUMGHSA-2gx3-rcp4-g85q CVE-2026-101917 PYSEC-2026-4140PyJWT: PyJWKClient still amplifies unauthenticated JWKS fetches on unknown kid values (incomplete fix of CVE-2026-48524)
- MEDIUMPYSEC-2026-4142 CVE-2026-102265 GHSA-8wjv-2p76-3863PyJWT: Uncaught RecursionError in jwt.decode() on deeply nested token header
- MEDIUMPYSEC-2026-4140 CVE-2026-101917 GHSA-2gx3-rcp4-g85qPyJWT: PyJWKClient still amplifies unauthenticated JWKS fetches on unknown kid values (incomplete fix of CVE-2026-48524)
- MEDIUMPYSEC-2026-4141 CVE-2026-101918 GHSA-42vr-xj54-vc7vPyJWT: Unauthenticated RecursionError DoS in pre-verification payload parse (PyJWKClient.get_signing_key_from_jwt / verify_signature=False)
- MEDIUMPYSEC-2026-4145 CVE-2026-102268 GHSA-ffc3-869f-jxw9PyJWT: Asymmetric-PEM detection bypass: whitespace/line-ending-mutated public keys skip the HS/asymmetric confusion guard
- MEDIUMGHSA-8wjv-2p76-3863 CVE-2026-102265 PYSEC-2026-4142PyJWT: Uncaught RecursionError in jwt.decode() on deeply nested token header
anyioPyPI 4.8.0 CRITICAL 4 advisories 4.14.2
- CRITICALGHSA-82r6-8w77-94w6 CVE-2026-63374 PYSEC-2026-4025AnyIO: TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing
- MEDIUMGHSA-5p39-cfhj-2xmp CVE-2026-64847 PYSEC-2026-4024AnyIO process-pool workers can block indefinitely on undrained stderr
- MEDIUMPYSEC-2026-4024 CVE-2026-64847 GHSA-5p39-cfhj-2xmpAnyIO process-pool workers can block indefinitely on undrained stderr
- MEDIUMPYSEC-2026-4025 CVE-2026-63374 GHSA-82r6-8w77-94w6AnyIO: TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing
certifiPyPI 2025.1.31 CRITICAL 2 advisories 2026.10.18
- CRITICALGHSA-6q48-6c7w-9gw2 PYSEC-2026-4320certifi bundles emSign root CAs with compromised intermediate CA keys
- MEDIUMPYSEC-2026-4320 GHSA-6q48-6c7w-9gw2certifi bundles emSign root CAs with compromised intermediate CA keys
h11PyPI 0.14.0 CRITICAL 2 advisories 0.16.0
- CRITICALGHSA-vqfr-h8mv-ghfj CVE-2025-43859 PYSEC-2026-348h11 accepts some malformed Chunked-Encoding bodies
- MEDIUMPYSEC-2026-348 CVE-2025-43859 GHSA-vqfr-h8mv-ghfjh11 accepts some malformed Chunked-Encoding bodies
starlettePyPI 0.45.3 HIGH 14 advisories 0.47.20.49.11.0.1+3 more
- HIGHGHSA-82w8-qh3p-5jfq CVE-2026-54283 PYSEC-2026-249Starlette: request.form() limits silently ignored for application/x-www-form-urlencoded enable DoS
- HIGHGHSA-wqp7-x3pw-xc5r CVE-2026-48818 PYSEC-2026-2281Starlette: SSRF and NTLM credential theft via UNC paths in StaticFiles on Windows
- HIGHGHSA-7f5h-v6xp-fcq8 CVE-2025-62727 PYSEC-2026-1942Starlette vulnerable to O(n^2) DoS via Range header merging in ``starlette.responses.FileResponse``
- MEDIUMPYSEC-2026-249 CVE-2026-54283 GHSA-82w8-qh3p-5jfqStarlette is a lightweight ASGI framework/toolkit. From 0.4.1 until 1.3.1, request.form() accepts max_fields and max_part_size to bound resource consumption while parsing form data. These limits are enforced for multipart/form-data, but silently ignored for application/x-www-form-urlencoded. An unauthenticated attacker can therefore send a urlencoded body with an arbitrarily large number of fields or an arbitrarily large field, even when the application configured limits it believed would apply. This vulnerability is fixed in 1.3.1.
- MEDIUMPYSEC-2026-161 CVE-2026-48710 GHSA-86qp-5c8j-p5mr X41-2026-002BadHost: Missing Host header validation poisons request.url.path, bypassing path-based security checks
- MEDIUMPYSEC-2026-2281 CVE-2026-48818 GHSA-wqp7-x3pw-xc5rStarlette is a lightweight ASGI framework/toolkit. In versions 1.0.1 and earlier, StaticFiles on Windows is vulnerable to SSRF. An UNC path such as \\\\attacker.com\\share can cause os.path.realpath to initiate an outbound SMB connection before the path is rejected, exposing the service account’s NTLMv2 credentials for offline cracking or relay even though the HTTP response is only a 404. The issue affects default follow_symlink=False deployments, including frameworks built on Starlette such as FastAPI; POSIX systems and follow_symlink=True are unaffected. The issue is fixed in 1.1.0.
- MEDIUMPYSEC-2026-248 CVE-2026-54282 GHSA-jp82-jpqv-5vv3Starlette is a lightweight ASGI framework/toolkit. Prior to 1.3.0, the HTTP request path is not validated before being used to reconstruct request.url. Because request.url is rebuilt by concatenating {scheme}://{host}{path} and re-parsing the result, a path that does not begin with / (for example @google.com) moves the authority boundary during re-parsing, so request.url.hostname and request.url.netloc become attacker-controlled. Code that reads request.url.hostname (rather than the Host header or scope) can therefore be misled into trusting an attacker-supplied host. This vulnerability is fixed in 1.3.0.
- MEDIUMGHSA-x746-7m8f-x49c CVE-2026-48817 PYSEC-2026-2280Starlette: Arbitrary HTTP method dispatched to `HTTPEndpoint` attributes via `getattr`
- MEDIUMGHSA-86qp-5c8j-p5mr CVE-2026-48710 PYSEC-2026-161 X41-2026-002Starlette has missing Host header validation that poisons request.url.path, bypassing path-based security checks
- MEDIUMPYSEC-2026-1941 CVE-2025-54121 GHSA-2c2j-9gv5-cj73Starlette has possible denial-of-service vector when parsing large files in multipart forms
- MEDIUMPYSEC-2026-2280 CVE-2026-48817 GHSA-x746-7m8f-x49cStarlette is a lightweight ASGI framework/toolkit. In versions 1.0.1 and below, when dispatching a request, HTTPEndpoint selects the handler by lowercasing the HTTP method and looking it up as an attribute with getattr, without restricting the lookup to a known set of HTTP verbs. When an HTTPEndpoint subclass is registered through Route(...) without an explicit methods= argument, the route does not constrain the method and every method reaches the endpoint. If a non-standard HTTP method whose lowercased name matches an attribute on the endpoint subclass reaches the endpoint, that attribute is invoked as if it were a request handler. An attacker can use this to reach methods that were never meant to be HTTP handlers, such as internal helpers, without the authorization checks applied by the intended public handler. An application (including Starlette-based frameworks like FastAPI) is affected if it registers an HTTPEndpoint subclass via Route(...) without explicitly setting methods=, and that subclass includes extra methods named like non-standard HTTP verbs that take one request argument and return a response. This issue has been fixed in version 1.1.0.
- MEDIUMGHSA-2c2j-9gv5-cj73 CVE-2025-54121 PYSEC-2026-1941Starlette has possible denial-of-service vector when parsing large files in multipart forms
- MEDIUMPYSEC-2026-1942 CVE-2025-62727 GHSA-7f5h-v6xp-fcq8Starlette vulnerable to O(n^2) DoS via Range header merging in ``starlette.responses.FileResponse``
- LOWGHSA-jp82-jpqv-5vv3 CVE-2026-54282 PYSEC-2026-248Starlette: Unvalidated request path concatenated into authority poisons request.url.hostname
cryptographyPyPI 48.0.0 HIGH 7 advisories 48.0.149.0.050.0.0
- HIGHGHSA-jwv3-5hgf-82ww CVE-2026-69249 PYSEC-2026-3553python-cryptography: Duplicate self-signed intermediates can cause exponential path-building
- HIGHGHSA-g6cj-pr64-35w5 CVE-2026-69247 PYSEC-2026-3552cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing
- HIGHGHSA-537c-gmf6-5ccfVulnerable OpenSSL included in cryptography wheels
- MEDIUMPYSEC-2026-3553 CVE-2026-69249 GHSA-jwv3-5hgf-82wwpython-cryptography: Duplicate self-signed intermediates can cause exponential path-building
- MEDIUMGHSA-m2h6-j472-rp4c CVE-2026-69248 PYSEC-2026-3554python-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees
- MEDIUMPYSEC-2026-3552 CVE-2026-69247 GHSA-g6cj-pr64-35w5cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing
- MEDIUMPYSEC-2026-3554 CVE-2026-69248 GHSA-m2h6-j472-rp4cpython-cryptography verifier accepts wildcard DNS names allowing escape from permittedSubtrees
mcpPyPI 1.27.2 HIGH 7 advisories 1.28.11.30.02.2.0
- HIGHGHSA-vj7q-gjh5-988w CVE-2026-59950 PYSEC-2026-3483MCP Python SDK: WebSocket server transport does not support Host/Origin validation
- HIGHGHSA-qx49-fqc8-xw99 CVE-2026-115563Model Context Protocol Python SDK: OAuth client could send credentials to an authorization server chosen by the MCP server
- MEDIUMPYSEC-2026-3483 CVE-2026-59950 GHSA-vj7q-gjh5-988wMCP Python SDK: WebSocket server transport does not support Host/Origin validation
- MEDIUMGHSA-w4fh-qvv9-3v23 CVE-2026-116684Model Context Protocol Python SDK: Server bearer-token authentication accepts tokens issued for a different resource server
- MEDIUMGHSA-5h93-6whr-6q8j CVE-2026-116685Model Context Protocol Python SDK: HTTP client transports followed cross-origin redirects carrying custom headers and bodies
- MEDIUMGHSA-84m7-p3x7-pcfv CVE-2026-59951MCP Python SDK: Unbounded Session Accumulation in StreamableHTTP Transport Enables Resource Exhaustion
- MEDIUMGHSA-rwrf-2pqf-9j8j CVE-2026-116686Model Context Protocol Python SDK: Client fetched server-chosen $ref URLs while validating tool results against output schemas
idnaPyPI 3.10 MEDIUM 2 advisories 3.15
- MEDIUMPYSEC-2026-215 CVE-2026-45409 GHSA-65pc-fj4g-8rjxInternationalized Domain Names in Applications (IDNA) for Python provides support for Internationalized Domain Names in Applications (IDNA) and Unicode IDNA Compatibility Processing. In versions prior to 3.15, payloads such as `"\\u0660" * N` or `"\\u30fb" * N + "\\u6f22"` utilize the `valid_contexto` function prior to length rejection, and for high values of `N` will take a long time to process. This is the same issue as CVE-2024-3651, however the original remediation in 2024 was not a complete fix. A specially crafted argument to the `idna.encode()` function could consume significant resources. This may lead to a denial-of-service. Starting in version 3.14, the function rejects long inputs as soon as practicable prior to any further processing to minimize resource consumption. In version 3.15, this approach was extended to lesser used alternate functions (i.e. per-label conversions and codec support). A workaround is available. Domain names cannot exceed 253 characters in length. If this length limit is enforced prior to passing the domain to the `idna.encode()` function, it should no longer consume significant resources. This is triggered by arbitrarily large inputs that would not occur in normal usage, but may be passed to the library assuming there is no preliminary input validation by the higher-level application.
- MEDIUMGHSA-65pc-fj4g-8rjx CVE-2026-45409 PYSEC-2026-215Internationalized Domain Names in Applications (IDNA): Specially crafted inputs to idna.encode() can bypass CVE-2024-3651 fix
python-dotenvPyPI 1.0.1 MEDIUM 2 advisories 1.2.2
- MEDIUMGHSA-mf9w-mj56-hr94 CVE-2026-28684 PYSEC-2026-2270python-dotenv: Symlink following in set_key allows arbitrary file overwrite via cross-device rename fallback
- MEDIUMPYSEC-2026-2270 CVE-2026-28684 GHSA-mf9w-mj56-hr94python-dotenv reads key-value pairs from a .env file and can set them as environment variables. Prior to version 1.2.2, `set_key()` and `unset_key()` in python-dotenv follow symbolic links when rewriting `.env` files, allowing a local attacker to overwrite arbitrary files via a crafted symlink when a cross-device rename fallback is triggered. Users should upgrade to v.1.2.2 or, as a workaround, apply the patch manually.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | Streamable HTTP, stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | mcp >=1.27,<2 |
| Servers in the code | 1 (logseq) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-11 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 5 catalogs (awesome_tensorblock, github_search, glama, mcp_toplist, mcpservers_org) |
|---|---|
| License | MIT |
| Created | 2025-02-03 |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.