# Weekly Metasploit Update: Exploits for FlowiseAI CSV Agent and MacOS Package Kit

> Source: <https://www.rapid7.com/blog/post/pt-weekly-metasploit-update-exploits-for-flowiseai-csv-agent-and-macos-package-kit>
> Published: 2026-07-11 00:32:34+00:00

AI, it's all you hear about nowadays and everyone's got an opinion on it. Here at Metasploit, we care less about those opinions and more about the growing attack surface all this new software brings with it (yeehaw exploits!). Take for example the new Flowise CSV Agent Prompt Injection RCE brought to you by Takahiro Yokoyama and zdi-disclosures. Flowise is an open-source tool that lets you build AI apps and chatbots using a visual, drag-and-drop canvas and CVE-2026-41264 is an unauthenticated RCE run method of the CSV_Agents class in Flowise. The vulnerability exists due insufficient sandboxing and an incomplete list of disallowed inputs. It allows unauthenticated attackers to upload a .csv file containing arbitrary python code and execute it. One moment you're using AI to help draft and email and the next moment you're getting pwn'd, what a world we live in! Happy Friday and happy hacking everyone.

Authors: 4ravind-b, msutovsky-r7, and wireghoul

Type: Exploit

Pull request: [#21473](https://github.com/rapid7/metasploit-framework/pull/21473) contributed by [4ravind-b](https://github.com/4ravind-b)

Path: linux/persistence/apache_htaccess

Description: Adds a new persistence module, exploits/linux/persistence/apache_htaccess, that plants wireghoul's mod_cgi .htaccess web shell on a Linux Apache target.

Authors: Takahiro Yokoyama and zdi-disclosures

Type: Exploit

Pull request: [#21407](https://github.com/rapid7/metasploit-framework/pull/21407) contributed by [Takahiro-Yoko](https://github.com/Takahiro-Yoko)

Path: multi/http/flowise_auth_rce_cve_2026_41264

AttackerKB reference: [CVE-2026-41264](https://attackerkb.com/search?q=CVE-2026-41264&referrer=blog)

Description: This adds a new exploit module for FlowiseAI Flowise (CVE-2026-41264). The CSV Agent feature evaluates LLM-generated Python code without proper sandboxing, allowing a prompt injection to achieve arbitrary code execution as the user running the server. Flowise versions 1.3.0 through 3.0.13 are affected. The module requires an API key with chatflows:create permission but does not require Flowise authentication to trigger the underlying flaw.

Authors: Mykola Grymalyuk and h00die

Type: Exploit

Pull request: [#21499](https://github.com/rapid7/metasploit-framework/pull/21499) contributed by [h00die](https://github.com/h00die)

Path: osx/local/packagekit_zshenv_privesc

AttackerKB reference: [CVE-2024-27822](https://attackerkb.com/search?q=CVE-2024-27822&referrer=blog)

Description: This adds a new local privilege escalation module for macOS targeting CVE-2024-27822 in PackageKit.framework. When a PKG installer script uses a ZSH shebang, PackageKit runs it as root while inheriting the installing user's environment, causing ZSH to source the user's ~/.zshenv with root privileges. The module plants a payload in ~/.zshenv that fires only when running as root, then opens a minimal PKG with Installer.app; once the user approves the installation prompt and authenticates, the payload executes as root and a root session is returned. Affected versions are macOS 14.4, 13.6.6, 12.7.4, and 11 and earlier; the issue is patched in 14.5, 13.6.7, and 12.7.5.

You can find the latest Metasploit documentation on our docsite at [docs.metasploit.com](https://docs.metasploit.com/).

As always, you can update to the latest Metasploit Framework with msfupdate and you can get more details on the changes since the last blog post from GitHub:

If you are a git user, you can clone the [Metasploit Framework repo](https://github.com/rapid7/metasploit-framework) (master branch) for the latest. To install fresh without using git, you can use the open-source-only [Nightly Installers](https://github.com/rapid7/metasploit-framework/wiki/Nightly-Installers) or the commercial edition [Metasploit Pro](https://www.rapid7.com/products/metasploit/download/)
