Skip to main content

goshs EUVDEUVD-2026-24282

| CVE-2026-40903 CRITICAL
Inclusion of Functionality from Untrusted Control Sphere (CWE-829)
2026-04-21 GitHub_M
9.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Access GitHub repository artifacts
  2. Delivery
    Download workflow artifact containing goshs build
  3. Exploit
    Extract artifact using ArtiPACKED technique
  4. Execution
    Recover embedded GITHUB_TOKEN
  5. Persist
    Authenticate to GitHub API with stolen token
  6. Impact
    Inject malicious code or access sensitive repositories

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Trusted source inclusion only
Exploitation Conditions

Exploitation requires goshs to be used within GitHub Actions workflows or similar CI/CD systems that generate and store artifacts. The attacker must have access to download workflow artifacts from the target repository, which may be publicly accessible for open-source projects or require compromised credentials for private repositories. The vulnerable versions (prior to 2.0.0-beta.6) must be actively used in build processes that produce artifacts. Limiting factors include: artifacts have finite retention periods (typically 90 days default in GitHub Actions); exploitation requires knowledge of ArtiPACKED attack techniques and artifact inspection tools; not all goshs deployments use CI/CD workflows, so standalone server instances are not vulnerable to this specific token leakage vector; GitHub token permissions scope affects post-exploitation impact (read-only tokens limit attacker capability).

Impact

CVSS 9.1 Critical rating reflects high confidentiality and integrity impact (C:H/I:H) with network attack vector requiring no privileges or user interaction (AV:N/AC:L/PR:N/UI:N). However, real-world exploitability requires specific context: attackers need access to GitHub workflow artifacts from repositories using vulnerable goshs versions in CI/CD pipelines. The attack complexity is actually higher than CVSS suggests - exploitation requires understanding of ArtiPACKED techniques and artifact enumeration. Not present in CISA KEV, indicating no confirmed widespread exploitation despite theoretical severity. EPSS score unavailable but likely moderate given the specialized nature of the attack. Primary risk is to organizations using goshs in automated build pipelines where leaked GITHUB_TOKEN could enable repository compromise, supply chain injection, or lateral movement within GitHub organizations. The combination of high CVSS but specialized exploitation conditions suggests prioritization should focus on environments with goshs in CI/CD rather than universal emergency patching.

Exploit ScenarioDerived

An attacker enumerates public or accessible GitHub repositories using goshs in their CI/CD workflows. They download workflow artifacts generated during builds involving goshs versions prior to 2.0.0-beta.6. By analyzing the artifact contents using ArtiPACKED extraction techniques, they recover the GITHUB_TOKEN embedded in the artifact packaging. With this token, the attacker authenticates to GitHub API, gains write access to the repository, injects malicious code into subsequent builds, or pivots to other repositories within the organization's GitHub account. No public exploit code exists, but the ArtiPACKED attack methodology is documented in security research.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 21, 2026

Remote unauthenticated attackers can leak GitHub workflow tokens from goshs repositories via ArtiPACKED attack. The vulnerability exploits artifact packaging mechanisms to extract GITHUB_TOKEN credentials despite the token never appearing in source code. With CVSS 9.1 (Critical) and network attack vector requiring no authentication, this poses immediate risk to CI/CD pipelines using goshs. No public exploit identified at time of analysis, though the attack technique (ArtiPACKED) is documented. EPSS data unavailable; not listed in CISA KEV.

RemediationAI

Upgrade to goshs version 2.0.0-beta.6 or later, which contains the vendor-released patch addressing the ArtiPACKED vulnerability. Refer to the GitHub Security Advisory at https://github.com/patrickhener/goshs/security/advisories/GHSA-hpxj-9fgp-fhhf for upgrade instructions and release notes. Until patching is complete, organizations should implement compensating controls: review and purge existing GitHub workflow artifacts from repositories using vulnerable goshs versions to prevent token harvesting from historical artifacts (note: this requires manual artifact deletion and does not prevent future leakage); rotate GITHUB_TOKEN and any repository secrets that may have been exposed through artifacts in the past 90 days (artifact retention period); restrict artifact access permissions to minimum necessary users and consider making artifact downloads require authentication; disable goshs usage in CI/CD workflows temporarily and substitute with alternative HTTP servers if immediate upgrade is not feasible (trade-off: may break existing automation). Each mitigation carries operational overhead and none fully eliminates risk without the version upgrade.

Affected VersionsENISA

goshs < 2.0.0-beta.6

Affected Packages

euvd goshs fix: 2.0.0-beta.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This is an ArtiPACKED vulnerability (CWE-829: Inclusion of Functionality from Untrusted Control Sphere) affecting goshs, a SimpleHTTPServer implementation in Go. ArtiPACKED is a supply chain attack technique that exploits how GitHub Actions artifacts are packaged and stored, allowing sensitive tokens to leak through workflow artifacts even when not present in repository source. The vulnerability stems from improper isolation between build artifacts and sensitive CI/CD credentials. The GITHUB_TOKEN, used for authenticating GitHub API requests within workflows, can be extracted from artifacts generated during the build process. This represents a broader class of CI/CD security issues where ephemeral credentials intended for workflow execution inadvertently persist in build outputs.

Know when Goshs gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
SUSE CRITICAL

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

3
Patch released
May 01, 2026 - 16:15 nvd
Patch available
Patch available
Apr 21, 2026 - 21:02 EUVD
CVE Published
Apr 21, 2026 - 19:43 nvd
CRITICAL 9.1

DescriptionCVE.org

goshs is a SimpleHTTPServer written in Go. Prior to 2.0.0-beta.6, goshs has an ArtiPACKED vulnerability. ArtiPACKED can lead to leakage of the GITHUB_TOKEN through workflow artifacts, even though the token is not present in the repository source code. This vulnerability is fixed in 2.0.0-beta.6.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Critical

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy