CVE-2026-50131

HIGH

Fedify validatePublicUrl - Special-Use IPv4 Server-Side Request Forgery Bypass

Title source: manual
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2026-50131. PoCs published by chaitanyagarware.

AI-analyzed exploit summary This repository provides a detailed technical writeup of CVE-2026-50131, an SSRF vulnerability in Fedify's `validatePublicUrl()` function due to incomplete mitigation of special-use IPv4 ranges. The analysis includes affected versions, CVSS scoring, and links to authoritative advisories but does not contain exploit code.

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.

Exploits (1)

nomisec WRITEUP 1 stars
by chaitanyagarware · poc
https://github.com/chaitanyagarware/CVE-2026-50131

This repository provides a detailed technical writeup of CVE-2026-50131, an SSRF vulnerability in Fedify's `validatePublicUrl()` function due to incomplete mitigation of special-use IPv4 ranges. The analysis includes affected versions, CVSS scoring, and links to authoritative advisories but does not contain exploit code.

Classification
Writeup 99%
Attack Type
Ssrf
Complexity
Moderate
Reliability
Reliable
Target: @fedify/fedify (< 1.9.12, 1.10.0-1.10.10, 2.0.0-2.0.18, 2.1.0-2.1.14, 2.2.0-2.2.3) and @fedify/vocab-runtime (< 2.0.19, 2.1.0-2.1.14, 2.2.0-2.2.3)
No auth needed
Prerequisites: Access to a Fedify instance configured to fetch external ActivityPub documents/media · Ability to craft a URL pointing to a special-use/reserved IPv4 range
mistral-large-3 · analyzed Jul 09, 2026 Full analysis →

References (1)

Core 1
Core References

Scores

CVSS v3 8.6
EPSS 0.0035
EPSS Percentile 27.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-1286 CWE-1389 CWE-918
Status published
Products (16)
fedify/fedify 0.11.2 - 1.9.12npm
fedify/fedify 1.10.0 - 1.10.11npm
fedify/fedify 2.0.0 - 2.0.19npm
fedify/fedify 2.1.0 - 2.1.15npm
fedify/fedify 2.2.0 - 2.2.4npm
fedify/vocab-runtime 0 - 2.0.19npm
fedify/vocab-runtime 2.1.0 - 2.1.15npm
fedify/vocab-runtime 2.2.0 - 2.2.4npm
fedify-dev/fedify >= 0.11.2, < 1.9.12
fedify-dev/fedify >= 1.10.0, < 1.10.11
... and 6 more
Published Jun 10, 2026
Tracked Since Jun 11, 2026