Skip to content

Fix possible fix(deps): 5 vulnerable dependencies in requirements.txt - #6

Open
begininvoke wants to merge 1 commit into
mason369:masterfrom
begininvoke:redgem/security-fix-61f7b989
Open

begininvoke wants to merge 1 commit into
mason369:masterfrom
begininvoke:redgem/security-fix-61f7b989

Conversation

@begininvoke

Copy link
Copy Markdown

Proposing a fix for something flagged in requirements.txt. It is around line 12.

Gradio 5.49.1 contains an absolute path traversal flaw that, on Windows with Python 3.13+, treats root‑relative paths (e.g., /windows/win.ini) as non‑absolute, bypassing Gradio's safe‑path checks. An unauthenticated attacker can exploit this to read arbitrary files from the server, even when authentication is enabled. This is a high‑severity issue because it leads to information disclosure and can aid further attacks. The vulnerability is fixed in Gradio 6.7.0, so the package must be upgraded.

Updates gradio and transformers to versions that resolve the reported CVEs while maintaining compatibility with other dependencies.

For reference: rule CVE-2026-28414. Rated high.

I may well be missing context here — if the current code is deliberate, feel free to close this.


Found with automated scanning (RedGem) and reviewed before opening. If it is not useful, closing it is completely fine.

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.

1 participant