Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## Unreleased

## 0.15.0 - 2026-10-08

### Security

- **Temporary resource ownership is now keyed on the caller's token, not on the unverified username claim inside it.** `TemporaryDataResource.read()` gated access to cached large tool responses (route geometry, isochrone GeoJSON, static-map images, `render_map_tool` payload refs) by comparing the resource's recorded owner to `getUserNameFromToken(callerToken)`. That helper base64-decodes the JWT payload and returns the `u` field with no signature verification — and none is possible here, since Mapbox signs its tokens with a secret this server does not hold. The entire authorization decision therefore rested on a claim the caller controls: anyone who knew a resource URI and the owner's Mapbox username could fabricate a token asserting that username and read the cached data. Unlike a tool invocation, which hands the token to a live Mapbox API call that rejects a fake, the resource read never made that call, so nothing downstream caught it.
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"dxt_version": "0.1",
"display_name": "Mapbox MCP Server",
"name": "@mapbox/mcp-server",
"version": "0.14.0",
"version": "0.15.0",
"description": "Mapbox MCP server.",
"author": {
"name": "Mapbox, Inc."
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mapbox/mcp-server",
"version": "0.14.0",
"version": "0.15.0",
"description": "Mapbox MCP server.",
"mcpName": "io.github.mapbox/mcp-server",
"main": "./dist/commonjs/index.js",
Expand Down
4 changes: 2 additions & 2 deletions server.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
"url": "https://github.com/mapbox/mcp-server",
"source": "github"
},
"version": "0.14.0",
"version": "0.15.0",
"packages": [
{
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"runtimeHint": "npx",
"version": "0.14.0",
"version": "0.15.0",
"identifier": "@mapbox/mcp-server",
"transport": {
"type": "stdio"
Expand Down
Loading