# CVE-2026-50131: Fedify has an incomplete SSRF mitigation after GHSA-p9cg-vqcc-grcx: validatePublicUrl allows special-use IPv4 ranges

- Severity: High 8.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/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.35%, higher than 30% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-10T20:27:43.370Z
- Modified: 2026-07-28T05:30:29.570Z
- Also known as: GHSA-xw9q-2mv6-9fr8
- Weaknesses: CWE-918, CWE-1286, CWE-1389
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Fedify is a TypeScript library for building federated server apps powered by ActivityPub. Fedify previously addressed SSRF/internal network access in GHSA-p9cg-vqcc-grcx by adding public URL validation before runtime document and media fetching. However, the IPv4 validation logic present starting in version 0.11.2 and prior to versions 1.9.12, 1.10.11, 2.0.19, 2.1.15, and 2.2.4 appears incomplete. The `validatePublicUrl()` protection relies on `isValidPublicIPv4Address()` to reject non-public IPv4 destinations. The function blocks common private and local ranges such as `10.0.0.0/8`, `127.0.0.0/8`, `169.254.0.0/16`, `172.16.0.0/12`, and `192.168.0.0/16`, but it still treats several special-use, reserved, multicast, benchmarking, and carrier-grade NAT IPv4 ranges as valid public destinations. Because this validation is used as an SSRF defense before outbound fetches, this appears to be an incomplete mitigation or bypass class for the previous SSRF issue. Versions 1.9.12, 1.10.11, 2.0.19, 2.1.15, and 2.2.4 contain an updated patch.

(As written by CVE List.)

## Affected

- fedify-dev fedify: >= 0.11.2, < 1.9.12; >= 1.10.0, < 1.10.11; >= 2.0.0, < 2.0.19; >= 2.1.0, < 2.1.15; >= 2.2.0, < 2.2.4
- fedify-dev vocab-runtime: < 2.0.19; >= 2.1.0, < 2.1.15; >= 2.2.0, < 2.2.4
- @fedify/fedify (npm): from 0.11.2 before 1.9.12; from 1.10.0 before 1.10.11; from 2.0.0 before 2.0.19; from 2.1.0 before 2.1.15; from 2.2.0 before 2.2.4
- @fedify/vocab-runtime (npm): before 2.0.19; from 2.1.0 before 2.1.15; from 2.2.0 before 2.2.4

## Every score

- GitHub_M: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L`
- GitHub: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L`

## References

- <https://github.com/fedify-dev/fedify/security/advisories/GHSA-xw9q-2mv6-9fr8> (exploit, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-50131> (advisory)
- <https://github.com/fedify-dev/fedify> (package)

## Sources

- CVE List: [CVE-2026-50131](https://www.cve.org/CVERecord?id=CVE-2026-50131), CVE Terms of Use, modified 2026-06-11
- GitHub Advisory Database: [GHSA-xw9q-2mv6-9fr8](https://github.com/advisories/GHSA-xw9q-2mv6-9fr8), CC-BY-4.0, modified 2026-07-28
- NVD: [CVE-2026-50131](https://nvd.nist.gov/vuln/detail/CVE-2026-50131), Public domain, modified 2026-07-21

---

Page: https://cve.day/CVE-2026-50131 · Whole record: https://cve.day/CVE-2026-50131.json · Rebuilt by cve.day 2026-11-25T22:59:24.387Z
