Fedify
Fedify has an incomplete SSRF mitigation after GHSA-p9cg-vqcc-grcx: validatePublicUrl allows special-use IPv4 ranges
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 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
Fixed in 1.9.12, 1.10.11, 2.0.19, 2.1.15, 2.2.4
- < 2.0.19
- >= 2.1.0, < 2.1.15
- >= 2.2.0, < 2.2.4
Fixed in 2.0.19, 2.1.15, 2.2.4
Mitigation
Upgrade fedify to 1.9.12 or 1.10.11 or 2.0.19 or 2.1.15 or 2.2.4 or later.
Upgrade vocab-runtime to 2.0.19 or 2.1.15 or 2.2.4 or later.
References
- Vendor advisory github.com/fedify-dev/fedify/security/advisori…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 informational
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| chaitanyagarware/CVE-2026-50131 | 9 Jul 2026 +28 d | 1 | Informational · detection |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.