Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 85%

CVE-2026-42261: CWE-20: Improper Input Validation in legeling PromptHub

0
High
VulnerabilityCVE-2026-42261cvecve-2026-42261cwe-20cwe-693cwe-918
Published: 05/08/2026 (05/08/2026, 03:11:25 UTC)
Source: CVE Database V5
Vendor/Project: legeling
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

Affected software

GitHub Actionsmore threats →ai
legeling/PromptHub
pkg:github/legeling/PromptHub
Affected versions
<0.5.4 >=0.4.9

Run 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

AILast updated: 05/15/2026, 10:42:39 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses