Skip to content

[GHSA-99pg-hqvx-r4gf] Flowise has an Arbitrary File Read#8727

Open
Amayyas wants to merge 1 commit into
Amayyas/advisory-improvement-8727from
Amayyas-GHSA-99pg-hqvx-r4gf
Open

[GHSA-99pg-hqvx-r4gf] Flowise has an Arbitrary File Read#8727
Amayyas wants to merge 1 commit into
Amayyas/advisory-improvement-8727from
Amayyas-GHSA-99pg-hqvx-r4gf

Conversation

@Amayyas

@Amayyas Amayyas commented Jul 17, 2026

Copy link
Copy Markdown

Updates

  • CWEs

Comments
This advisory currently has no CWE assigned.

The advisory's own technical details show that the /api/v1/get-upload-file
and /api/v1/openai-assistants-file/download endpoints build a filesystem
path via path.join(getStoragePath(), orgId, chatflowId, chatId, sanitizedFilename). While chatflowId is validated as a UUID and explicitly
checked for path traversal sequences, and fileName is passed through
sanitize(), the chatId parameter receives no such validation before being
used as a path segment. This allows an unauthenticated user to manipulate
chatId to read arbitrary files outside the intended storage directory
(including the local SQLite database by default).

This matches CWE-22: Improper Limitation of a Pathname to a Restricted
Directory ('Path Traversal') — an unvalidated, attacker-controlled input is
used directly to construct a filesystem path.

Reference: GHSA-99pg-hqvx-r4gf

@github

github commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator

Hi there @HenryHengZJ! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository.

This change will be reviewed by our Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory

@github-actions
github-actions Bot changed the base branch from main to Amayyas/advisory-improvement-8727 July 17, 2026 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants