{"id":"CVE-2026-50131","published":"2026-06-10T20:27:43Z","modified":"2026-06-11T14:16:17Z","title":"Fedify has an incomplete SSRF mitigation after GHSA-p9cg-vqcc-grcx: validatePublicUrl allows special-use IPv4 ranges","vendor":"fedify-dev","product":"fedify","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00351,"percentile":0.29503,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"},{"id":"CWE-1286","name":"Improper Validation of Syntactic Correctness of Input"},{"id":"CWE-1389","name":"Incorrect Parsing of Numbers with Different Radices"}],"references":[{"url":"https://github.com/fedify-dev/fedify/security/advisories/GHSA-xw9q-2mv6-9fr8","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.9,"factors":[{"name":"EPSS percentile","points":5.9},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.02}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-07-09","earliestUrl":"https://github.com/chaitanyagarware/CVE-2026-50131","repos":[{"name":"chaitanyagarware/CVE-2026-50131","url":"https://github.com/chaitanyagarware/CVE-2026-50131","stars":1,"created":"2026-07-09"}]},"first":{"date":"2026-07-09","source":"PoC-in-GitHub","url":"https://github.com/chaitanyagarware/CVE-2026-50131"},"provenance":"source"},"vendorSlug":"fedify-dev","affectedVersions":[{"vendor":"fedify-dev","product":"fedify","versions":[">= 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"]},{"vendor":"fedify-dev","product":"vocab-runtime","versions":["< 2.0.19",">= 2.1.0, < 2.1.15",">= 2.2.0, < 2.2.4"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-11T14:15:27.570315Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@fedify/fedify","vulnerableRanges":[">=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"],"patched":["1.9.12","1.10.11","2.0.19","2.1.15","2.2.4"],"from":["GHSA-xw9q-2mv6-9fr8"],"provenance":"source"},{"ecosystem":"npm","package":"@fedify/vocab-runtime","vulnerableRanges":["<2.0.19",">=2.1.0, <2.1.15",">=2.2.0, <2.2.4"],"patched":["2.0.19","2.1.15","2.2.4"],"from":["GHSA-xw9q-2mv6-9fr8"],"provenance":"source"}],"summary":{"text":"The Fedify library (fedify-dev/fedify), a TypeScript framework for ActivityPub federated server apps, has an incomplete SSRF mitigation: its validatePublicUrl() check relies on isValidPublicIPv4Address(), which blocks common private and local IPv4 ranges but still accepts several special-use, reserved, multicast, benchmarking, and carrier-grade NAT ranges as public destinations. An unauthenticated remote attacker over the network, without user interaction, can make the application fetch documents or media from these non-public IPv4 destinations before the check is applied.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:49:07Z"},"euvd":{"id":"EUVD-2026-36132","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-34148","published":"2026-04-06","fixed":"2.1.1","kev":false,"link":{"from":"CVE-2026-34148","to":"CVE-2026-50131","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@fedify/vocab-runtime","fromFixed":"2.0.8","toFixed":"2.0.19","daysApart":65}]}},{"cve":"CVE-2026-50131","published":"2026-06-10","fixed":"2.2.4","kev":false}],"package":"npm:@fedify/vocab-runtime"}}