{"id":"GHSA-8rwr-f68v-cvw6","summary":"NocoDB: Attachment Size Limit Bypass via Upload-by-URL","details":"### Summary\nThe upload-by-URL path did not enforce `NC_ATTACHMENT_FIELD_SIZE` against either the remote file's advertised `Content-Length` or the decoded length of a `data:` URI, allowing an authenticated user to bypass the configured per-file size limit.\n\n### Details\nThe attachments service now checks `NC_ATTACHMENT_FIELD_SIZE` against both the HEAD response's `content-length` and the decoded length of a `data:` URI body before fetching. The local storage plugin additionally sets `maxContentLength` on the axios download so a malicious server cannot stream past the limit.\n\n### Impact\nAuthenticated users with upload permission could attach files larger than the operator-configured limit, defeating storage and bandwidth caps.\n\n### Credit\nThis issue was reported by [@bugbunny-research](https://github.com/bugbunny-research).","aliases":["CVE-2026-46553"],"modified":"2026-07-20T21:30:36.182807608Z","published":"2026-05-21T20:38:58Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2026-05-21T20:38:58Z","nvd_published_at":"2026-06-23T21:16:58Z","cwe_ids":["CWE-770"],"severity":"LOW"},"references":[{"type":"WEB","url":"https://github.com/nocodb/nocodb/security/advisories/GHSA-8rwr-f68v-cvw6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46553"},{"type":"PACKAGE","url":"https://github.com/nocodb/nocodb"}],"affected":[{"package":{"name":"nocodb","ecosystem":"npm","purl":"pkg:npm/nocodb"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.301.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-8rwr-f68v-cvw6/GHSA-8rwr-f68v-cvw6.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P"}]}