CVE-2026-42261: CWE-20: Improper Input Validation in legeling PromptHub
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.
AI Analysis
Technical Summary
PromptHub's authenticated POST /api/skills/fetch-remote endpoint fetches URLs provided by users and returns the response body. The SSRF protection mechanism attempts to block private and loopback IP addresses by checking IPv6 addresses, but it fails to handle alternate valid IPv6 representations, including IPv4-mapped IPv6 addresses in hex form and non-literal forms of ::1. This allows authenticated users to bypass the SSRF filter and access internal network resources. The issue affects versions from 0.4.9 to before 0.5.4 and has been patched in version 0.5.4.
Potential Impact
An attacker with authenticated access can exploit this SSRF vulnerability to make the server perform requests to internal or private network addresses that should be inaccessible. This can lead to unauthorized information disclosure (high confidentiality impact) and limited integrity impact. There is no direct availability impact. If the deployment allows open registration, any internet user can register and exploit this vulnerability.
Mitigation Recommendations
This vulnerability has been patched in PromptHub version 0.5.4. Users should upgrade to version 0.5.4 or later to remediate this issue. No other vendor advisory or patch information is provided, so patch status beyond this is not confirmed. Until upgrading, restrict user registration or authenticated access to trusted users to reduce risk.
CVE-2026-42261: CWE-20: Improper Input Validation in legeling PromptHub
Description
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.
CVSS v3.1
Score 7.1high
Affected software
pkg:github/legeling/PromptHubRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
PromptHub's authenticated POST /api/skills/fetch-remote endpoint fetches URLs provided by users and returns the response body. The SSRF protection mechanism attempts to block private and loopback IP addresses by checking IPv6 addresses, but it fails to handle alternate valid IPv6 representations, including IPv4-mapped IPv6 addresses in hex form and non-literal forms of ::1. This allows authenticated users to bypass the SSRF filter and access internal network resources. The issue affects versions from 0.4.9 to before 0.5.4 and has been patched in version 0.5.4.
Potential Impact
An attacker with authenticated access can exploit this SSRF vulnerability to make the server perform requests to internal or private network addresses that should be inaccessible. This can lead to unauthorized information disclosure (high confidentiality impact) and limited integrity impact. There is no direct availability impact. If the deployment allows open registration, any internet user can register and exploit this vulnerability.
Mitigation Recommendations
This vulnerability has been patched in PromptHub version 0.5.4. Users should upgrade to version 0.5.4 or later to remediate this issue. No other vendor advisory or patch information is provided, so patch status beyond this is not confirmed. Until upgrading, restrict user registration or authenticated access to trusted users to reduce risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-26T11:53:27.705Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69fd5dbdcbff5d86108b645f
Added to database: 05/08/2026, 03:51:25 UTC
Last enriched: 05/15/2026, 10:42:39 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 90
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.