CVE-2026-40903: CWE-829: Inclusion of Functionality from Untrusted Control Sphere in patrickhener goshs
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.
AI Analysis
Technical Summary
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.
CVE-2026-40903: CWE-829: Inclusion of Functionality from Untrusted Control Sphere in patrickhener 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
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 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.
External Links
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.