AAK-MCP-012: MCP server default IP allowlist is empty (allow-all)
- Severity
- CRITICAL
- Category
- MCP Configuration (
mcp-config) - Scanner
agent_audit_kit/scanners/mcp_auth_patterns.py- Auto-fixable
- No.
- SARIF name
McpAllowlistEmpty
What it detects
An MCP server's IP allowlist configuration defaults to an empty list, which its middleware interprets as 'allow all'. This is the exact CVE-2026-33032 root cause. Tight-by-default is required.
How to fix
Default to deny-all; require explicit allowlist entries. Reject empty allowlists at startup.
To confirm the finding is gone, report only this rule:
agent-audit-kit scan . --rules AAK-MCP-012
Limitations
Looks for ip_allowlist, allowed_ips or cidr_allowlist (underscore optional, any case) assigned a literal empty list, None, null or "" directly. A type-annotated default (allowed_ips: list[str] = []) or another name for the same list (ip_whitelist = []) is not matched.
References
- CVE: CVE-2026-33032
- OWASP MCP Top 10: MCP07:2025 (Insufficient Authentication & Authorization)
- OWASP Agentic Top 10: ASI03 (Identity and Privilege Abuse)
- Adversa AI MCP Top 25 (AAK-defined ids): ADV-AUTH-02
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-012.md: the page then shows that text, with the registry reference appended under it.