{"id":"GHSA-2c5x-4jgf-88mj","revision":"b2958dd8ad494757be4dcae6dd2fbcc8","records":[{"revision":"b2958dd8ad494757be4dcae6dd2fbcc8","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-2c5x-4jgf-88mj","aliases":["CVE-2026-46548"],"title":"NocoDB: SSRF Protection Bypass in Notification Webhook Plugins (Slack, Discord, Mattermost, Teams)","description":"### Summary\n\nThe `request-filtering-agent` SSRF protection was non-functional in the four notification webhook plugins (Slack, Discord, Mattermost, Teams) because `httpAgent` / `httpsAgent` were passed as part of the request **body** rather than the axios **config**. An authenticated user with hook-creation permission could direct outbound POST requests to arbitrary internal hosts.\n\n### Details\n\n`axios.post(url, data, config)` expects connection agents in the third (config) argument. In all four plugins, the agents were placed in the second (data) argument and serialised as JSON body content:\n\n```ts\n// packages/nocodb/src/plugins/slack/Slack.ts (and Discord / Mattermost / Teams — identical pattern)\nreturn await axios.post(webhook_url, {\n  text,\n  httpAgent: useAgent(webhook_url),   // wrong position — serialised, not used\n  httpsAgent: useAgent(webhook_url),\n});\n```\n\nThe webhook flow: an Editor+ user creates a webhook with `notification.payload.channels[].webhook_url` pointing to an internal host; on trigger, `WebhookInvoker.invoke()` calls the plugin's `sendMessage()` which performs the outbound `axios.post` with no SSRF filtering applied.\n\nThis is distinct from GHSA-xr7v-j379-34v9, which covers a blind SSRF via HEAD in the upload-by-URL path.\n\n### Impact\n\n- Authenticated user (Editor+) can reach cloud-metadata endpoints (`169.254.169.254`) and internal services.\n- Combined with verbose hook logging (`NC_AUTOMATION_LOG_LEVEL=ALL`), response bodies may be exfiltrated.\n\n### Credit\n\nThis issue was reported by [@ik0z](https://github.com/ik0z).","state":0,"publishedAt":"2026-05-21T20:34:28+00:00","modifiedAt":"2026-07-20T21:30:36.1503926+00:00","affected":[{"ecosystem":"npm","name":"nocodb","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"last_affected","version":"0.301.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/nocodb/nocodb/security/advisories/GHSA-2c5x-4jgf-88mj","https://nvd.nist.gov/vuln/detail/CVE-2026-46548","https://github.com/nocodb/nocodb"],"sourceUrl":"https://github.com/advisories/GHSA-2c5x-4jgf-88mj","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-2c5x-4jgf-88mj","identifiers":["GHSA-2c5x-4jgf-88mj","CVE-2026-46548"]},"retained":false,"historicalAffected":[]}],"coverage":[]}