# CVE-2022-36065: GrowthBook account creation and file upload vulnerability in self-hosted configurations

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.40% (percentile 73, 2026-11-26)
- **CWE:** CWE-24, CWE-22
- **Published:** 2022-09-06T21:05:10.000Z
- **Modified:** 2026-06-17T04:52:50.613Z

## Who should check

- Anyone running growthbook \< 2022-08-29

## 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

- growthbook: \< 2022-08-29 (cvelist)

## Mitigation

- Upgrade growthbook to 2022-08-29 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/growthbook/growthbook/security/advisories/GHSA-j24q-55xh-wm4r>
- patch: <https://github.com/growthbook/growthbook/pull/487>
- patch: <https://github.com/growthbook/growthbook/commit/1a5edff8786d141161bf880c2fd9ccbe2850a264>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-36065>

HTML: <https://flawdb.com/CVE-2022-36065> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-36065>
