Skip to content

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

Merged
advisory-database[bot] merged 1 commit into
Amayyas/advisory-improvement-8727from
Amayyas-GHSA-99pg-hqvx-r4gf
Jul 21, 2026
Merged

[GHSA-99pg-hqvx-r4gf] Flowise has an Arbitrary File Read#8727
advisory-database[bot] merged 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
@advisory-database
advisory-database Bot merged commit 80a29eb into Amayyas/advisory-improvement-8727 Jul 21, 2026
4 checks passed
@advisory-database

Copy link
Copy Markdown
Contributor

Hi @Amayyas! Thank you so much for contributing to the GitHub Advisory Database. This database is free, open, and accessible to all, and it's people like you who make it great. Thanks for choosing to help others. We hope you send in more contributions in the future!

@advisory-database
advisory-database Bot deleted the Amayyas-GHSA-99pg-hqvx-r4gf branch July 21, 2026 19:45
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