{"id":"CVE-2022-24800","aliases":["CVE-2022-24800","GHSA-8v7h-cpc2-r8jp"],"related":[],"kind":"vulnerability","state":"published","title":"Race Condition in October CMS upload process","summary":"October/System is the system module for October CMS, a self-hosted CMS platform based on the Laravel PHP Framework. Prior to versions 1.0.476, 1.1.12, and 2.2.15, when the developer allows the user to specify their own filename in the `fromData` method, an unauthenticated user can perform remote code execution (RCE) by exploiting a race condition in the temporary storage directory. This vulnerability affects plugins that expose the `October\\Rain\\Database\\Attach\\File::fromData` as a public interface and does not affect vanilla installations of October CMS since this method is not exposed or used by the system internally or externally. The issue has been patched in Build 476 (v1.0.476), v1.1.12, and v2.2.15. Those who are unable to upgrade may apply with patch to their installation manually as a workaround.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"October/System is the system module for October CMS, a self-hosted CMS platform based on the Laravel PHP Framework. Prior to versions 1.0.476, 1.1.12, and 2.2.15, when the developer allows the user to specify their own filename in the `fromData` method, an unauthenticated user can perform remote code execution (RCE) by exploiting a race condition in the temporary storage directory. This vulnerability affects plugins that expose the `October\\Rain\\Database\\Attach\\File::fromData` as a public interface and does not affect vanilla installations of October CMS since this method is not exposed or used by the system internally or externally. The issue has been patched in Build 476 (v1.0.476), v1.1.12, and v2.2.15. Those who are unable to upgrade may apply with patch to their installation manually as a workaround.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nThis advisory affects plugins that expose the `October\\Rain\\Database\\Attach\\File::fromData` as a public interface. This vulnerability does not affect vanilla installations of October CMS since this method is not exposed or used by the system internally or externally.\n\nWhen the developer allows the user to specify their own filename in the `fromData` method, an unauthenticated user can perform remote code execution (RCE) by exploiting a race condition in the temporary storage directory.\n\n### Patches\n\nThe issue has been patched in Build 476 (v1.0.476) and v1.1.12 and v2.2.15.\n\n### Workarounds\n\nApply https://github.com/octobercms/library/commit/fe569f3babf3f593be2b1e0a4ae0283506127a83 to your installation manually if unable to upgrade to Build 476 (v1.0.476) or v1.1.12 or v2.2.15.\n\n### References\n\nCredits to:\n- DucNT, HungTD and GiangVQ from RedTeam@VNG Security Response Center.\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n- Email us at [hello@octobercms.com](mailto:hello@octobercms.com)","format":"markdown","source":"ghsa"},{"lang":"es","text":"October/System es el módulo de sistema para October CMS, una plataforma CMS auto-alojada basada en el framework PHP Laravel. En versiones anteriores a 1.0.476, 1.1.12 y 2.2.15, cuando el desarrollador permite al usuario especificar su propio nombre de archivo en el método \"fromData\", un usuario no autenticado puede llevar a cabo una ejecución de código remota (RCE) al explotar una condición de carrera en el directorio de almacenamiento temporal. Esta vulnerabilidad afecta a plugins que exponen el método \"October\\Rain\\Database\\Attach\\File::fromData\" como una interfaz pública y no afecta a las instalaciones vainilla de October CMS, ya que este método no está expuesto ni es usado por el sistema interna o externamente. El problema ha sido parcheado en la Build 476 (v1.0.476), v1.1.12 y v2.2.15. Aquellos que no puedan actualizar pueden aplicar el parche a su instalación manualmente como mitigación","source":"nvd"}],"published":"2022-07-12T20:05:10.000Z","modified":"2026-06-17T04:32:32.873Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-362"],"affected":[{"ranges":[{"version":"< 1.0.476","status":"affected"},{"version":">= 1.1.0, < 1.1.12","status":"affected"},{"version":">= 2.0.0, < 2.2.15","status":"affected"}],"vendor":"octobercms","product":"october","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.0.476"}],"ecosystem":"Packagist","package":"october/system","purl":"pkg:composer/october/system","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.1.0","status":"affected","fixed":"1.1.12"}],"ecosystem":"Packagist","package":"october/system","purl":"pkg:composer/october/system","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.2.15"}],"ecosystem":"Packagist","package":"october/system","purl":"pkg:composer/october/system","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.0.476"},{"status":"affected","introduced":"1.1.0","fixed":"1.1.12"},{"status":"affected","introduced":"2.0.0","fixed":"2.2.15"}],"vendor":"octobercms","product":"october","cpe":"cpe:2.3:a:octobercms:october:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/octobercms/october/security/advisories/GHSA-8v7h-cpc2-r8jp","tags":["patch","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/octobercms/library/commit/fe569f3babf3f593be2b1e0a4ae0283506127a83","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24800","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/octobercms/october","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-04-23T15:51:41.788Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-24800","url":"https://www.cve.org/CVERecord?id=CVE-2022-24800","licence":"CVE Terms of Use","modified":"2025-04-23T18:03:11.507Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8v7h-cpc2-r8jp","url":"https://github.com/advisories/GHSA-8v7h-cpc2-r8jp","licence":"CC-BY-4.0","modified":"2023-11-08T04:08:36.958Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-24800","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24800","licence":"Public domain","modified":"2026-06-17T04:32:32.873Z"}],"updatedAt":"2026-11-25T22:58:12.871Z","epss":{"score":0.01437,"percentile":0.73407,"date":"2026-11-30T12:00:22.000Z"}}