Skip to content

AAK-MCP-1MCP-CVE-2026-108586-001: 1MCP Agent from 0.20.0: a negated tag filter reaches servers outside an OAuth token's tag scopes (no fixed release)

Severity
MEDIUM
Category
Supply Chain (supply-chain)
Scanner
agent_audit_kit/scanners/mcp_cve_pins_2026_07.py
Auto-fixable
No.
SARIF name
OneMcpNegatedTagFilterScopeBypass

What it detects

@1mcp/agent (npm; 1mcp-app/agent) serves several MCP servers behind one endpoint and, with OAuth on, limits a token to the servers whose tags its tag:<name> scopes grant. 0.20.0 added the advanced tag-filter parameter, a boolean expression over tags, and the scope check validates only the tags the expression names. So a token granted one tag can send not <granted-tag>, which names only that tag, passes the check, and selects every other backend server, whose tools it can then list and call (CVE-2026-108586, CVSS 3.1 5.4, CWE-863). 0.19.0 has no tag-filter, and 0.39.0, the newest, still validates the tags extracted from the expression. There is no fixed release, so this pin reports every version from 0.20.0.

How to fix

There is no fixed release. Until one ships, do not rely on tag scopes to keep backends apart: run one 1MCP instance per trust boundary. Pin the first fixed release once it ships.

To confirm the finding is gone, report only this rule:

agent-audit-kit scan . --rules AAK-MCP-1MCP-CVE-2026-108586-001

Limitations

Reports @1mcp/agent from 0.20.0 where a package.json, lockfile or MCP config states the version, and an unpinned reference such as npx -y @1mcp/agent, which resolves to an affected release. The bypass needs the HTTP transport with OAuth on; the pin reads versions, not how the agent is started, so a stdio-only setup is reported too. The unscoped npm 1mcp is another project and is not matched, and the release binaries state no version AAK reads. A file over 2 MB, or a lockfile over 32 MiB, is not read. A declaration nested more than 64 levels deep in package.json, a TOML manifest or an MCP config (an MCP server more than 62) is still judged, and reported without a line; a lockfile entry keeps its line at any depth.

References


All rules. This page is generated from the rule registry when the documentation is built; to change it, change the rule in agent_audit_kit/rules/builtin.py. To give the rule a hand-written write-up, add docs/rules/AAK-MCP-1MCP-CVE-2026-108586-001.md: the page then shows that text, with the registry reference appended under it.