hashicorp/vault-mcp-server
b959216ea5f0Paths 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.
- 16 of 32 tools, prompts and resources could not be followed through the code
Top risks in plain words
- HIGH4 production dependencies have known vulnerabilities (worst: high).
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.
- Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Update its vulnerable packages
Use
github.com/go-jose/go-jose/v44.1.6 or later,github.com/mark3labs/mcp-go1.5.1-0.20261109144041-2f5b9637ea84 or later,golang.org/x/crypto0.58.1-0.20261009181718-2f1f834330b2 or later,golang.org/x/net0.62.0 or later. - 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 32 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.
create_mount, create_pki_issuer, create_pki_role, delete_mount, delete_pki_role, delete_secret and 10 morecreate_mount, create_pki_issuer, create_pki_role, delete_mount, delete_pki_role, delete_secret and 10 moreNo tool was seen to: start other programs on the machine; read or write files; connect to the internet or other hosts; read environment variables.
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
No tool was seen returning text from outside the server to the model.
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 (32: 32 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
createMountTool.Handlertool
No description.
createPkiIssuer.Handlertool
No description.
createPkiRole.Handlertool
No description.
create_mounttool Mount a new secrets engine on a specific path in Vault.CredentialsSensitive paths
Mount a new secrets engine on a specific path in Vault.
create_pki_issuertool Create a new PKI SSL certificate issuer in Vault. When creating names, avoid using words like example, demo, or test as they are too generic and may lead to coCredentialsSensitive paths
Create a new PKI SSL certificate issuer in Vault. When creating names, avoid using words like example, demo, or test as they are too generic and may lead to confusion in a production environment.
create_pki_roletool Create a new PKI SSL certificate role in Vault. When creating names, avoid using words like example, demo, or test as they are too generic and may lead to confuCredentialsSensitive paths
Create a new PKI SSL certificate role in Vault. When creating names, avoid using words like example, demo, or test as they are too generic and may lead to confusion in a production environment.
deleteMountTool.Handlertool
No description.
deletePkiRole.Handlertool
No description.
deleteSecretTool.Handlertool
No description.
delete_mounttool Delete a mounted secret engine in Vault. Use with extreme caution as this will remove all data under the mount path!CredentialsSensitive paths
Delete a mounted secret engine in Vault. Use with extreme caution as this will remove all data under the mount path!
delete_pki_roletool Delete a PKI SSL role in Vault.CredentialsSensitive paths
Delete a PKI SSL role in Vault.
delete_secrettool Delete a secret from a KV mount in Vault using the specified path and mount. If you specify a key, only that key will be deleted. If no key is specified or you CredentialsSensitive paths
Delete a secret from a KV mount in Vault using the specified path and mount. If you specify a key, only that key will be deleted. If no key is specified or you delete the last key, the entire secret will be deleted.
enablePkiTool.Handlertool
No description.
enable_pkitool CredentialsSensitive paths
No description.
issuePkiCertificate.Handlertool
No description.
issue_pki_certificatetool Create a new PKI SSL certificate issuer in Vault, allowing for the issuance of SSL/TLS certificates.CredentialsSensitive paths
Create a new PKI SSL certificate issuer in Vault, allowing for the issuance of SSL/TLS certificates.
listMountsTool.Handlertool
No description.
listPkiIssuers.Handlertool
No description.
listPkiRoles.Handlertool
No description.
listSecretsTool.Handlertool
No description.
list_mountstool List the available mounted secrets engines on a Vault Server.CredentialsSensitive paths
List the available mounted secrets engines on a Vault Server.
list_pki_issuerstool Get a list of PKI issuers on a specific pki mount in Vault, allowing you to see all the configured issuers for that mount.CredentialsSensitive paths
Get a list of PKI issuers on a specific pki mount in Vault, allowing you to see all the configured issuers for that mount.
list_pki_rolestool Get a list of PKI roles which are able to issue certificates, allowing you to see all the configured roles for a specific PKI mount in Vault.CredentialsSensitive paths
Get a list of PKI roles which are able to issue certificates, allowing you to see all the configured roles for a specific PKI mount in Vault.
list_secretstool List secrets in a KV mount under a specific path in VaultCredentialsSensitive paths
List secrets in a KV mount under a specific path in Vault
readPkiIssuer.Handlertool
No description.
readPkiRole.Handlertool
No description.
readSecretTool.Handlertool
No description.
read_pki_issuertool Read a PKI issuer details from a specific mount in Vault, allowing you to retrieve information about a specific PKI issuer.CredentialsSensitive paths
Read a PKI issuer details from a specific mount in Vault, allowing you to retrieve information about a specific PKI issuer.
read_pki_roletool Read a PKI role details from a specific mount in Vault. This allows you to retrieve information about a specific PKI role.CredentialsSensitive paths
Read a PKI role details from a specific mount in Vault. This allows you to retrieve information about a specific PKI role.
read_secrettool Read a secret from a KV mount in at a specific path in Vault.CredentialsSensitive paths
Read a secret from a KV mount in at a specific path in Vault.
writeSecretTool.Handlertool
No description.
write_secrettool Writes a secret value to a KV store in Vault using the specified path and mount. Supports both KV v1 and v2 mounts. If a KV v2 mount is detected, the currently CredentialsSensitive paths
Writes a secret value to a KV store in Vault using the specified path and mount. Supports both KV v1 and v2 mounts. If a KV v2 mount is detected, the currently stored version of the secret will be returned.
Text the model reads (32)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
delete_secret tool
Delete a secret from a KV mount in Vault using the specified path and mount. If you specify a key, only that key will be deleted. If no key is specified or you delete the last key, the entire secret will be deleted.
list_secrets tool
List secrets in a KV mount under a specific path in Vault
read_secret tool
Read a secret from a KV mount in at a specific path in Vault.
write_secret tool
Writes a secret value to a KV store in Vault using the specified path and mount. Supports both KV v1 and v2 mounts. If a KV v2 mount is detected, the currently stored version of the secret will be returned.
create_pki_issuer tool
Create a new PKI SSL certificate issuer in Vault. When creating names, avoid using words like example, demo, or test as they are too generic and may lead to confusion in a production environment.
create_pki_role tool
Create a new PKI SSL certificate role in Vault. When creating names, avoid using words like example, demo, or test as they are too generic and may lead to confusion in a production environment.
delete_pki_role tool
Delete a PKI SSL role in Vault.
enable_pki tool
issue_pki_certificate tool
Create a new PKI SSL certificate issuer in Vault, allowing for the issuance of SSL/TLS certificates.
list_pki_issuers tool
Get a list of PKI issuers on a specific pki mount in Vault, allowing you to see all the configured issuers for that mount.
list_pki_roles tool
Get a list of PKI roles which are able to issue certificates, allowing you to see all the configured roles for a specific PKI mount in Vault.
read_pki_issuer tool
Read a PKI issuer details from a specific mount in Vault, allowing you to retrieve information about a specific PKI issuer.
read_pki_role tool
Read a PKI role details from a specific mount in Vault. This allows you to retrieve information about a specific PKI role.
create_mount tool
Mount a new secrets engine on a specific path in Vault.
delete_mount tool
Delete a mounted secret engine in Vault. Use with extreme caution as this will remove all data under the mount path!
list_mounts tool
List the available mounted secrets engines on a Vault Server.
listMountsTool.Handler tool
createMountTool.Handler tool
deleteMountTool.Handler tool
listSecretsTool.Handler tool
readSecretTool.Handler tool
writeSecretTool.Handler tool
deleteSecretTool.Handler tool
enablePkiTool.Handler tool
createPkiIssuer.Handler tool
listPkiIssuers.Handler tool
readPkiIssuer.Handler tool
listPkiRoles.Handler tool
readPkiRole.Handler tool
createPkiRole.Handler tool
deletePkiRole.Handler tool
issuePkiCertificate.Handler tool
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 — 16 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 — 16 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 — 16 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 — 16 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 — 16 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 32 capabilities; 16 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 32 capabilities; 16 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 32 capabilities; 16 more call code the scanner could not follow, where it may happen
Where the code is: 32 handlers in 17 files at commit b959216ea5f0
pkg/tools/kv/delete_secret.godelete_secretpkg/tools/kv/list_secrets.golist_secretspkg/tools/kv/read_secret.goread_secretpkg/tools/kv/write_secret.gowrite_secretpkg/tools/pki/create_pki_issuer.gocreate_pki_issuerpkg/tools/pki/create_pki_role.gocreate_pki_rolepkg/tools/pki/delete_pki_role.godelete_pki_rolepkg/tools/pki/enable_pki.goenable_pkipkg/tools/pki/issue_pki_certificate.goissue_pki_certificatepkg/tools/pki/list_pki_issuers.golist_pki_issuerspkg/tools/pki/list_pki_roles.golist_pki_rolespkg/tools/pki/read_pki_issuer.goread_pki_issuerpkg/tools/pki/read_pki_role.goread_pki_rolepkg/tools/sys/create_mount.gocreate_mountpkg/tools/sys/delete_mount.godelete_mountpkg/tools/sys/list_mounts.golist_mountspkg/tools/tools.golistMountsTool.Handler, createMountTool.Handler, deleteMountTool.Handler, listSecretsTool.Handler, readSecretTool.Handler, writeSecretTool.Handler, deleteSecretTool.Handler, enablePkiTool.Handler, createPkiIssuer.Handler, listPkiIssuers.Handler, readPkiIssuer.Handler, listPkiRoles.Handler +4
- 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: go.mod
- Lockfiles checked against OSV1 file resolved and checked against the OSV database
- Known vulnerabilities in production dependencies HIGH4 production packages with known advisories
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versiongithub.com/mark3labs/mcp-go v0.47.1
- 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 credentials16 of 32 capabilities read credentials
- 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 (1 only in code no tool reaches)
- 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 (4 in production)
github.com/go-jose/go-jose/v4Go v4.1.2 HIGH 5 advisories 4.1.44.1.54.1.6
- HIGHGHSA-78h2-9frx-2jm8 CVE-2026-34986 GO-2026-4945Go JOSE Panics in JWE decryption
- HIGHGHSA-mgcc-cww5-fp2q CVE-2026-116587Go JOSE: DoS when parsing JWKs that contain RSA keys
- MEDIUMGHSA-4w3g-jfj2-cw2q CVE-2026-116585Go JOSE: Panic during CBC-HMAC processing
- MEDIUMGHSA-vvm8-gf78-28g4 CVE-2026-116586Go JOSE: Panics in JSON parsing
- MEDIUMGO-2026-4945 CVE-2026-34986 GHSA-78h2-9frx-2jm8Go JOSE Panics in JWE decryption in github.com/go-jose/go-jose
golang.org/x/netGo v0.61.0 MEDIUM 2 advisories 0.62.0
- MEDIUMGO-2026-6860 CVE-2026-78661Avoid quadratic complexity when coalescing text nodes in html in golang.org/x/net
- MEDIUMGO-2026-6866 CVE-2026-97045Check all ancestor namespace transitions when rendering raw text in html in golang.org/x/net
github.com/mark3labs/mcp-goGo v0.47.1 MEDIUM 1 advisory 2026-11-09
- MEDIUMGO-2026-6911SSRF and credential leak via unvalidated redirects and SSE endpoint origin in github.com/mark3labs/mcp-go
golang.org/x/cryptoGo v0.58.0 MEDIUM 1 advisory 2026-10-09
- MEDIUMGO-2026-5932The golang.org/x/crypto/openpgp package is unmaintained, unsafe by design, and has known security issues
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 |
| Sign-in | not checked needs the live server |
| MCP SDK | github.com/mark3labs/mcp-go v0.47.1 |
| Servers in the code | 2 (vault-mcp-server, test) |
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-12 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 1 catalog (github_search) |
|---|---|
| License | MPL-2.0 |
| Created | 2025-06-19 |
| Topics | doormat-managed |
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.