製品・ソフトウェアに関する情報
LegelingのPromptHUBにおける複数の脆弱性
Title LegelingのPromptHUBにおける複数の脆弱性
Summary

PromptHubは、プロンプト、スキル、およびエージェント管理のためのオールインワンAIツールボックスです。バージョン0.4.9からバージョン0.5.4未満の間、apps/web/src/routes/skills.tsは認証済みのエンドポイントPOST /api/skills/fetch-remoteを公開しており、そこではユーザーが指定したURLをサーバーサイドで取得し、そのレスポンスボディ(最大5MB)を呼び出し元に返します。apps/web/src/utils/remote-http.ts内のSSRF保護機能(isPrivateIPv6)はプライベートおよびループバック宛先へのアクセスをブロックしようとしますが、複数の異なる有効なIPv6表記がこのチェックを回避します。これらの回避により、IPv4マッピングされたIPv6の16進数形式を介して任意のIPv4アドレス(ループバック、RFC1918、リンクローカル)および文字通りの文字列 "::1" 以外の任意の表現を使用して標準的な::1アドレスに到達できます。認証済みユーザー(userまたはadminロール)は誰でもこのSSRFを引き起こすことが可能です。ALLOW_REGISTRATION=trueに設定された展開環境(サポートおよびドキュメント化された設定)では、登録できるインターネットユーザー全員が対象となります。この問題はバージョン0.5.4で修正されました。

Possible impacts 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date May 8, 2026, midnight
Registration Date May 14, 2026, 10:12 a.m.
Last Update May 14, 2026, 10:12 a.m.
CVSS3.0 : 重要
Score 7.1
Vector CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Affected System
Legeling
PromptHUB 0.4.9 以上 0.5.4 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年05月14日]
  掲載
May 14, 2026, 10:12 a.m.

NVD Vulnerability Information
CVE-2026-42261
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.

Publication Date May 8, 2026, 1:16 p.m.
Registration Date May 9, 2026, 4:11 a.m.
Last Update May 12, 2026, 11:06 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:legeling:prompthub:*:*:*:*:-:*:*:* 0.4.9 0.5.4
Related information, measures and tools
Common Vulnerabilities List