{"id":"CVE-2026-42261","aliases":["CVE-2026-42261"],"related":[],"kind":"vulnerability","state":"published","title":"PromptHub: Authenticated SSRF via IPv6 filter bypass in `POST /api/skills/fetch-remote`","summary":"PromptHub is an all-in-one AI toolbox for prompt, skill, and agent management. From version 0.4.9 to before version 0.5.4, apps/web/src/routes/skills.ts exposes an authenticated endpoint POST /api/skills/fetch-remote that fetches a user-supplied URL server-side and reflects the response body (up to 5 MB) back to the caller. The SSRF protection in apps/web/src/utils/remote-http.ts (isPrivateIPv6) attempts to block private/loopback destinations, but multiple alternate-but-valid IPv6 representations bypass the check. The bypasses reach any IPv4 address (loopback, RFC1918, link-local) via IPv4-mapped IPv6 in hex form, and the canonical ::1 via any representation that isn't the literal string \"::1\". Any authenticated user (role: user or admin) can trigger the SSRF. On deployments configured with ALLOW_REGISTRATION=true — a supported and documented configuration — this means any internet user who can register. This issue has been patched in version 0.5.4.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"PromptHub is an all-in-one AI toolbox for prompt, skill, and agent management. From version 0.4.9 to before version 0.5.4, apps/web/src/routes/skills.ts exposes an authenticated endpoint POST /api/skills/fetch-remote that fetches a user-supplied URL server-side and reflects the response body (up to 5 MB) back to the caller. The SSRF protection in apps/web/src/utils/remote-http.ts (isPrivateIPv6) attempts to block private/loopback destinations, but multiple alternate-but-valid IPv6 representations bypass the check. The bypasses reach any IPv4 address (loopback, RFC1918, link-local) via IPv4-mapped IPv6 in hex form, and the canonical ::1 via any representation that isn't the literal string \"::1\". Any authenticated user (role: user or admin) can trigger the SSRF. On deployments configured with ALLOW_REGISTRATION=true — a supported and documented configuration — this means any internet user who can register. This issue has been patched in version 0.5.4.","source":"cvelist"},{"lang":"es","text":"PromptHub es una caja de herramientas de IA todo en uno para la gestión de prompts, habilidades y agentes. Desde la versión 0.4.9 hasta antes de la versión 0.5.4, apps/web/src/routes/skills.ts expone un endpoint autenticado POST /API/skills/fetch-remote que obtiene una URL proporcionada por el usuario en el lado del servidor y refleja el cuerpo de la respuesta (hasta 5 MB) de vuelta al llamador. La protección SSRF en apps/web/src/utils/remote-HTTP.ts (isPrivateIPv6) intenta bloquear destinos privados/loopback, pero múltiples representaciones IPv6 alternativas pero válidas eluden la verificación. Las elusiones alcanzan cualquier dirección IPv4 (loopback, RFC1918, link-local) a través de IPv6 mapeado a IPv4 en formato hexadecimal, y el canónico ::1 a través de cualquier representación que no sea la cadena literal ’::1’. Cualquier usuario autenticado (rol: usuario o administrador) puede activar el SSRF. En despliegues configurados con ALLOW_REGISTRATION=true - una configuración soportada y documentada - esto significa cualquier usuario de internet que pueda registrarse. Este problema ha sido parcheado en la versión 0.5.4.","source":"nvd"}],"published":"2026-05-08T03:11:25.305Z","modified":"2026-10-26T20:10:00.160Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","score":7.1,"rating":"HIGH"}],"cwes":["CWE-20","CWE-693","CWE-918"],"affected":[{"ranges":[{"version":">= 0.4.9, < 0.5.4","status":"affected"}],"vendor":"legeling","product":"PromptHub","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"0.4.9","fixed":"0.5.4"}],"vendor":"legeling","product":"prompthub","cpe":"cpe:2.3:a:legeling:prompthub:*:*:*:*:-:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/legeling/PromptHub/security/advisories/GHSA-9fhh-fjfg-5mr6","tags":["exploit","mitigation","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/legeling/PromptHub/releases/tag/v0.5.4","tags":["patch","product","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-05-11T18:10:25.854Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42261","url":"https://www.cve.org/CVERecord?id=CVE-2026-42261","licence":"CVE Terms of Use","modified":"2026-05-11T18:11:16.696Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42261","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42261","licence":"Public domain","modified":"2026-10-26T20:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:20.948Z","epss":{"score":0.00237,"percentile":0.15722,"date":"2026-12-01T12:00:22.000Z"}}