CVE-2022-36065
GrowthBook account creation and file upload vulnerability in self-hosted configurations
Mitigation
- Upgrade growthbook to 2022-08-29 or later.
Who should check
- Anyone running growthbook < 2022-08-29
Vulnerability facts
- Affected
- growthbook < 2022-08-29
- Fixed in
- growthbook 2022-08-29
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 1.40% chance of exploitation in 30 days (percentile 73, 2026-11-26)
- CWE
- CWE-24, CWE-22
- Modified
Description
GrowthBook is an open-source platform for feature flagging and A/B testing. With some self-hosted configurations in versions prior to 2022-08-29, attackers can register new accounts and upload files to arbitrary directories within the container. If the attacker uploads a Python script to the right location, they can execute arbitrary code within the container. To be affected, ALL of the following must be true: Self-hosted deployment (GrowthBook Cloud is unaffected); using local file uploads (as opposed to S3 or Google Cloud Storage); NODE_ENV set to a non-production value and JWT_SECRET set to an easily guessable string like `dev`. This issue is patched in commit 1a5edff8786d141161bf880c2fd9ccbe2850a264 (2022-08-29). As a workaround, set `JWT_SECRET` environment variable to a long random string. This will stop arbitrary file uploads, but the only way to stop attackers from registering accounts is by updating to the latest build.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| growthbook | < 2022-08-29 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-36065. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-36065.md Affected: growthbook < 2022-08-29 Fixed in: growthbook 2022-08-29 Steps: 1. Search this machine and project for growthbook: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2022-36065 being exploited?
There is no confirmed exploitation: CVE-2022-36065 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.40% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-36065?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2022-36065?
growthbook < 2022-08-29.
Is there a fix for CVE-2022-36065?
Yes. Fixed in growthbook 2022-08-29. Upgrade growthbook to 2022-08-29 or later.
How do I check if I'm affected by CVE-2022-36065?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.