Flowise/packages/components/nodes/documentloaders
Taraka Vishnumolakala 2414057c08
feat(security): enhance file path validation and implement non-root D… (#5474)
* feat(security): enhance file path validation and implement non-root Docker user

- Validate resolved full file paths including workspace boundaries in SecureFileStore
- Resolve paths before validation in readFile and writeFile operations
- Run Docker container as non-root flowise user (uid/gid 1001)
- Apply proper file ownership and permissions for application files

Prevents path traversal attacks and follows container security best practices

* Add sensitive system directory validation and Flowise internal file protection

* Update Dockerfile to use default node user

* update validation patterns to include additional system binary directories (/usr/bin, /usr/sbin, /usr/local/bin)

* added isSafeBrowserExecutable function to validate browser executable paths for Playwright and Puppeteer loaders

---------

Co-authored-by: taraka-vishnumolakala <taraka.vishnumolakala@workday.com>
Co-authored-by: Henry Heng <henryheng@flowiseai.com>
Co-authored-by: Henry <hzj94@hotmail.com>
2025-11-15 15:03:01 +00:00
..
API chore: fix typos in packages/ui/src/ui-component/input/suggestionOption.js (#5412) 2025-11-05 12:59:25 +00:00
Airtable Enhance Airtable Document Loader with Filter and Text Output (#3074) 2024-08-25 13:26:39 +01:00
ApifyWebsiteContentCrawler fix: update apify logo (#5234) 2025-09-18 17:44:18 +01:00
BraveSearchAPI Chore/LC v0.3 (#3517) 2024-11-28 11:06:12 +00:00
Cheerio Chore/refractor (#4454) 2025-05-27 07:29:42 +01:00
Confluence Chore/LC v0.3 (#3517) 2024-11-28 11:06:12 +00:00
Csv chore: fix typos in packages/components/nodes/documentloaders/Csv/CsvLoader.ts (#5422) 2025-11-05 13:02:20 +00:00
CustomDocumentLoader Chore/leave default timeout for sandbox execution (#5263) 2025-09-28 11:27:19 +01:00
DocumentStore Chore/refractor (#4454) 2025-05-27 07:29:42 +01:00
Docx Chore/refractor (#4454) 2025-05-27 07:29:42 +01:00
Epub Chore/refractor (#4454) 2025-05-27 07:29:42 +01:00
Figma Chore/LC v0.3 (#3517) 2024-11-28 11:06:12 +00:00
File Bugfix/Upsert API for file loader (#5096) 2025-08-18 18:35:50 +08:00
FireCrawl feat: add search functionality to FireCrawl with customizable parameters (#4535) 2025-06-07 00:06:39 +01:00
Folder Bugfix/add validation for file path (#5211) 2025-09-15 14:58:53 +01:00
Gitbook Chore/LC v0.3 (#3517) 2024-11-28 11:06:12 +00:00
Github feat: Enterprise Github (#4221) 2025-04-03 01:17:56 +08:00
GoogleDrive Bugfix/GoogleDrive Loader Folder id (#4714) 2025-06-24 09:53:42 +01:00
GoogleSheets Feature/Add teams, gmail, outlook tools (#4577) 2025-06-06 19:52:04 +01:00
Jira Feature/Add teams, gmail, outlook tools (#4577) 2025-06-06 19:52:04 +01:00
Json Chore/JSON Array (#5467) 2025-11-13 11:11:39 +00:00
Jsonlines Chore/refractor (#4454) 2025-05-27 07:29:42 +01:00
MicrosoftExcel Feature/Add teams, gmail, outlook tools (#4577) 2025-06-06 19:52:04 +01:00
MicrosoftPowerpoint Feature/Add teams, gmail, outlook tools (#4577) 2025-06-06 19:52:04 +01:00
MicrosoftWord Feature/Add teams, gmail, outlook tools (#4577) 2025-06-06 19:52:04 +01:00
Notion Chore/LC v0.3 (#3517) 2024-11-28 11:06:12 +00:00
Oxylabs fix: OxylabsLoader request params and result processing (#5286) 2025-10-03 00:56:51 +01:00
Pdf Chore/refractor (#4454) 2025-05-27 07:29:42 +01:00
PlainText Feature/Ability to omit all metadata keys using asterisk (#2401) 2024-05-13 16:30:57 +01:00
Playwright feat(security): enhance file path validation and implement non-root D… (#5474) 2025-11-15 15:03:01 +00:00
Puppeteer feat(security): enhance file path validation and implement non-root D… (#5474) 2025-11-15 15:03:01 +00:00
S3Directory Feature/Add teams, gmail, outlook tools (#4577) 2025-06-06 19:52:04 +01:00
S3File Feature/Add teams, gmail, outlook tools (#4577) 2025-06-06 19:52:04 +01:00
SearchApi Chore/LC v0.3 (#3517) 2024-11-28 11:06:12 +00:00
SerpApi Chore/LC v0.3 (#3517) 2024-11-28 11:06:12 +00:00
Spider Chore/LC v0.3 (#3517) 2024-11-28 11:06:12 +00:00
Text Chore/refractor (#4454) 2025-05-27 07:29:42 +01:00
Unstructured Chore/Remove Deprecated File Path Unstructured (#5478) 2025-11-15 11:16:42 +00:00
VectorStoreToDocument Bugfix/Missing Filter for VectorStore to Document (#2285) 2024-04-29 22:25:40 +01:00