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.0%top 85%

CVE-2026-40903: CWE-829: Inclusion of Functionality from Untrusted Control Sphere in patrickhener goshs

0
Critical
VulnerabilityCVE-2026-40903cvecve-2026-40903cwe-829
Published: Tue Apr 21 2026 (04/21/2026, 19:43:36 UTC)
Source: CVE Database V5
Vendor/Project: patrickhener
Product: goshs

Description

The goshs SimpleHTTPServer written in Go versions prior to 2. 0. 0-beta. 6 contains a critical vulnerability (CVE-2026-40903) involving inclusion of functionality from an untrusted control sphere. This vulnerability, classified as CWE-829, can cause leakage of the GITHUB_TOKEN through workflow artifacts despite the token not being present in the repository source code. The issue is fixed starting from version 2. 0. 0-beta. 6. The vulnerability has a high CVSS score of 9.

CVSS v3.1

Score 9.1critical

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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/29/2026, 11:37:36 UTC

Technical Analysis

CVE-2026-40903 affects goshs, a SimpleHTTPServer written in Go by patrickhener. Versions before 2.0.0-beta.6 suffer from an ArtiPACKED vulnerability that leads to leakage of the GITHUB_TOKEN via workflow artifacts, even though the token is not stored in the repository source code. This vulnerability is categorized under CWE-829, which involves inclusion of functionality from an untrusted control sphere. The vulnerability allows an unauthenticated attacker to remotely compromise confidentiality and integrity with no user interaction required. The issue is resolved in version 2.0.0-beta.6. There is no explicit vendor advisory or patch link provided, and no known exploits have been observed in the wild.

Potential Impact

Successful exploitation of this vulnerability can lead to disclosure of the GITHUB_TOKEN, which may allow attackers to access sensitive GitHub workflows or repositories. The CVSS score of 9.1 reflects critical impact on confidentiality and integrity without requiring privileges or user interaction. This could result in unauthorized access or manipulation of GitHub workflows and associated resources.

Mitigation Recommendations

The vulnerability is fixed in goshs version 2.0.0-beta.6. Users should upgrade to this version or later to remediate the issue. Since no official patch link or vendor advisory is provided, users should verify the upgrade from the official goshs repository or trusted sources. Patch status is not yet confirmed via vendor advisory; therefore, check the vendor's official channels for the latest remediation guidance.

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-15T16:37:22.767Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69e7d78519fe3cd2cdf5b32e

Added to database: 4/21/2026, 8:01:09 PM

Last enriched: 4/29/2026, 11:37:36 AM

Last updated: 6/6/2026, 3:32:23 AM

Views: 44

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