{"id":"CVE-2022-36065","aliases":["CVE-2022-36065"],"related":[],"kind":"vulnerability","state":"published","title":"GrowthBook account creation and file upload vulnerability in self-hosted configurations","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"GrowthBook es una plataforma de código abierto para el marcado de características y las pruebas A/B. Con algunas configuraciones auto-alojadas en versiones anteriores al 29-08-2022, los atacantes pueden registrar nuevas cuentas y subir archivos a directorios arbitrarios dentro del contenedor. Si el atacante sube un script de Python a la ubicación correcta, puede ejecutar código arbitrario dentro del contenedor. Para ser afectado, TODO lo siguiente debe ser cierto: despliegue auto-alojado (GrowthBook Cloud no está afectado); el uso de cargas de archivos locales (en lugar de S3 o Google Cloud Storage); NODE_ENV establecido a un valor no de producción y JWT_SECRET establecido a una cadena fácilmente adivinable como \"dev\". Este problema está parcheado en el commit 1a5edff8786d141161bf880c2fd9ccbe2850a264 (2022-08-29). Como mitigación, establezca la variable de entorno \"JWT_SECRET\" a una cadena larga y aleatoria. Esto detendrá la carga de archivos arbitrarios, pero la única forma de evitar que los atacantes registren cuentas es actualizando a la última versión.","source":"nvd"}],"published":"2022-09-06T21:05:10.000Z","modified":"2026-06-17T04:52:50.613Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-22","CWE-24"],"affected":[{"ranges":[{"version":"< 2022-08-29","status":"affected"}],"vendor":"growthbook","product":"growthbook","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.6.0"}],"vendor":"growthbook","product":"growthbook","cpe":"cpe:2.3:a:growthbook:growthbook:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/growthbook/growthbook/security/advisories/GHSA-j24q-55xh-wm4r","tags":["issue-tracking","mitigation","patch","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/growthbook/growthbook/pull/487","tags":["issue-tracking","mitigation","patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/growthbook/growthbook/commit/1a5edff8786d141161bf880c2fd9ccbe2850a264","tags":["patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-04-23T15:49:47.356Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-36065","url":"https://www.cve.org/CVERecord?id=CVE-2022-36065","licence":"CVE Terms of Use","modified":"2025-04-23T17:14:18.040Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-36065","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36065","licence":"Public domain","modified":"2026-06-17T04:52:50.613Z"}],"updatedAt":"2026-11-25T22:58:14.739Z","epss":{"score":0.01507,"percentile":0.75139,"date":"2026-12-01T12:00:22.000Z"}}