{"id":"CVE-2026-46443","aliases":["CVE-2026-46443","GHSA-7g73-99r4-m4mj"],"related":[],"kind":"vulnerability","state":"published","title":"Flowise: Credential Data Leak","summary":"Flowise is a drag & drop user interface to build a customized large language model flow. Prior to version 3.1.2, when credentials are fetched with a credentialName filter parameter, the encryptedData field is not stripped from the response. The code properly omits encryptedData when no filter is used but fails to do so when a filter is used. This issue has been patched in version 3.1.2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Flowise is a drag & drop user interface to build a customized large language model flow. Prior to version 3.1.2, when credentials are fetched with a credentialName filter parameter, the encryptedData field is not stripped from the response. The code properly omits encryptedData when no filter is used but fails to do so when a filter is used. This issue has been patched in version 3.1.2.","source":"cvelist"},{"lang":"en","text":"**Severity**: HIGH (CVSS ~7.5)\n**Type**: CWE-200 (Exposure of Sensitive Information)\n**File**: `packages/server/src/services/credentials/index.ts:62-71`\n\n**Description**: When credentials are fetched with a `credentialName` filter parameter, the `encryptedData` field is NOT stripped from the response. The code properly omits `encryptedData` when NO filter is used (line 102) but fails to do so when a filter IS used (lines 62-63, 70-71).\nCredential Data Leak\n**Evidence**:\n```typescript\n// Lines 62-63: WITH filter - encryptedData LEAKED\nconst credentials = await appServer.AppDataSource.getRepository(Credential).findBy(searchOptions)\ndbResponse.push(...credentials)  // encryptedData NOT removed!\n\n// Lines 100-102: WITHOUT filter - encryptedData properly omitted\nfor (const credential of credentials) {\n    dbResponse.push(omit(credential, ['encryptedData']))  // Correctly omitted\n}\n```\n\n**Impact**: Authenticated users can extract encrypted credential data (API keys, passwords, tokens for services like OpenAI, AWS, etc.). Combined with access to the encryption key file (`~/.flowise/encryption.key` written with default permissions), this enables full credential theft.\n\n**Reproduction**:\n```bash\ncurl https://TARGET/api/v1/credentials?credentialName=openAIApi \\\n  -H \"Authorization: Bearer API_KEY\"\n# Response includes encryptedData field with AES-encrypted credentials\n```","format":"markdown","source":"ghsa"},{"lang":"es","text":"Flowise es una interfaz de usuario de arrastrar y soltar para construir un flujo de modelo de lenguaje grande personalizado. Antes de la versión 3.1.2, cuando las credenciales se obtienen con un parámetro de filtro credentialName, el campo encryptedData no se elimina de la respuesta. El código omite correctamente encryptedData cuando no se usa ningún filtro, pero no lo hace cuando se usa un filtro. Este problema ha sido parcheado en la versión 3.1.2.","source":"nvd"}],"published":"2026-05-14T14:58:12.000Z","modified":"2026-07-23T07:10:00.113Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N","score":7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N","score":7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-200"],"affected":[{"ranges":[{"version":"< 3.1.2","status":"affected"}],"vendor":"FlowiseAI","product":"Flowise","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.1.2"}],"ecosystem":"npm","package":"flowise","purl":"pkg:npm/flowise","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.1.2"}],"vendor":"flowiseai","product":"flowise","cpe":"cpe:2.3:a:flowiseai:flowise:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-7g73-99r4-m4mj","tags":["exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/FlowiseAI/Flowise/releases/tag/flowise%403.1.2","tags":["product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46443","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/FlowiseAI/Flowise","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-06-09T15:30:17.708Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-46443","url":"https://www.cve.org/CVERecord?id=CVE-2026-46443","licence":"CVE Terms of Use","modified":"2026-06-09T15:30:52.686Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7g73-99r4-m4mj","url":"https://github.com/advisories/GHSA-7g73-99r4-m4mj","licence":"CC-BY-4.0","modified":"2026-06-09T13:15:14.317Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-46443","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46443","licence":"Public domain","modified":"2026-07-23T07:10:00.113Z"}],"updatedAt":"2026-11-25T22:59:23.985Z","epss":{"score":0.00271,"percentile":0.20703,"date":"2026-12-01T12:00:22.000Z"}}