# CVE-2023-42450: Mastodon Server-Side Request Forgery vulnerability

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N`
- 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.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2023-09-19T15:53:39.685Z
- Modified: 2026-06-17T06:23:51.377Z
- Also known as: BIT-MASTODON-2023-42450, GHSA-hcqf-fw2r-52g4
- Weaknesses: CWE-113, CWE-918
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Mastodon is a free, open-source social network server based on ActivityPub. Starting in version 4.2.0-beta1 and prior to version 4.2.0-rc2, by crafting specific input, attackers can inject arbitrary data into HTTP requests issued by Mastodon. This can be used to perform confused deputy attacks if the server configuration includes `ALLOWED_PRIVATE_ADDRESSES` to allow access to local exploitable services. Version 4.2.0-rc2 has a patch for the issue.

(As written by CVE List.)

## Affected

- mastodon mastodon: >= 4.2.0-beta1, < 4.2.0-rc2
- joinmastodon mastodon: 4.2.0
- mastodon (Bitnami): from 4.2.0-beta1 before 4.2.0; from 4.2.0-beta2 before 4.2.0; from 4.2.0-beta3 before 4.2.0; from 4.2.0-rc1 before 4.2.0

## Every score

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

## References

- <https://github.com/mastodon/mastodon/security/advisories/GHSA-hcqf-fw2r-52g4> (vendor-advisory, web)
- <https://github.com/mastodon/mastodon/commit/94893cf24fc95b32cc7a756262acbe008c20a9d2> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-42450> (web)

## Sources

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

---

Page: https://cve.day/CVE-2023-42450 · Whole record: https://cve.day/CVE-2023-42450.json · Rebuilt by cve.day 2026-11-25T22:58:27.995Z
