Submit #1074156: plandex-ai Plandex server/v2.2.1 Information Disclosureinfo

Titleplandex-ai Plandex server/v2.2.1 Information Disclosure
DescriptionPlandex up to server/v2.2.1 can send a plan's full code context to a third-party cloud provider even when the plan is configured to use a local model only, which may lead to disclosure of source code, conversation data and embedded secrets to that provider. The trigger is a corrupted plan settings file: when the file becomes zero bytes, the server treats the plan as new, falls back to the hard-coded default cloud model pack and runs the next Tell or Build against OpenRouter with the server's cloud API key. The request body contains the loaded source files, the conversation and tool results, while the local-provider restriction is not applied and no warning is shown. The operator sees no model change and the settings file remains zero bytes. The issue was verified by running the real server and command line client, creating a plan with a local model pack, truncating the settings file to zero bytes and observing the same plan send its context to a cloud endpoint with a cloud key.
Source⚠️ https://github.com/plandex-ai/plandex/issues/377
User
 EM111 (UID 102699)
Submission11/04/2026 07:43 (24 days ago)
Moderation11/27/2026 21:57 (24 days later)
StatusAccepted
VulDB entry445026 [plexand-ai plandex up to 2.2.1 Server settings_helpers.go GetPlanSettings failing open]
Points20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!