# CVE-2024-24827: No rate limits on POST /uploads endpoint in Discourse

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-01)
- Published: 2024-03-15T19:13:43.221Z
- Modified: 2026-09-08T08:46:13.169Z
- Also known as: BIT-DISCOURSE-2024-24827, GHSA-58vw-246g-fjj4
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Discourse is an open source platform for community discussion. Without a rate limit on the POST /uploads endpoint, it makes it easier for an attacker to carry out a DoS attack on the server since creating an upload can be a resource intensive process. Do note that the impact varies from site to site as various site settings like `max_image_size_kb`, `max_attachment_size_kb` and `max_image_megapixels` will determine the amount of resources used when creating an upload. The issue is patched in the latest stable, beta and tests-passed version of Discourse. Users are advised to upgrade. Users unable to upgrade should reduce `max_image_size_kb`, `max_attachment_size_kb` and `max_image_megapixels` as smaller uploads require less resources to process. Alternatively, `client_max_body_size` can be reduced in Nginx to prevent large uploads from reaching the server.

(As written by CVE List.)

## Affected

- discourse discourse: stable <= 3.2.0; beta < 3.3.0.beta1; tests-passed < 3.3.0.beta1; from stable before 3.2.0; from beta before 3.3.0beta1; from tests_passed before 3.3.0beta1; before 3.2.0; before 3.3.0
- discourse (Bitnami): before 3.2.1

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/discourse/discourse/security/advisories/GHSA-58vw-246g-fjj4> (advisory, third-party-advisory)
- <https://github.com/discourse/discourse/commit/003b80e62f97cd8c0114d6b9d3f93c10443e6fae> (fix, patch)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-24827> (web)

## Sources

- CVE List: [CVE-2024-24827](https://www.cve.org/CVERecord?id=CVE-2024-24827), CVE Terms of Use, modified 2025-04-10
- NVD: [CVE-2024-24827](https://nvd.nist.gov/vuln/detail/CVE-2024-24827), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-DISCOURSE-2024-24827](https://osv.dev/vulnerability/BIT-DISCOURSE-2024-24827), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-24827 · Whole record: https://cve.day/CVE-2024-24827.json · Rebuilt by cve.day 2026-11-25T22:58:37.599Z
