{"id":"CVE-2022-36065","published":"2022-09-06T21:05:10Z","modified":"2025-04-23T17:14:18Z","title":"GrowthBook account creation and file upload vulnerability in self-hosted configurations","vendor":"growthbook","product":"growthbook","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01464,"percentile":0.74282,"provenance":"source"},"cwes":[{"id":"CWE-24","name":"Path Traversal: '../filedir'"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/growthbook/growthbook/security/advisories/GHSA-j24q-55xh-wm4r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/growthbook/growthbook/pull/487","tags":["x_refsource_MISC"]},{"url":"https://github.com/growthbook/growthbook/commit/1a5edff8786d141161bf880c2fd9ccbe2850a264","tags":["x_refsource_MISC"]}],"priority":{"score":20.1,"factors":[{"name":"EPSS percentile","points":14.86},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"growthbook","affectedVersions":[{"vendor":"growthbook","product":"growthbook","versions":["< 2022-08-29"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-04-23T15:49:47.356933Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-38827","exploited":false,"provenance":"source"}}