CVE-2026-136881: OS Command Injection
In the setup-osc GitHub Action of Eclipse Apoapsis, from commit 4e9eaff up to, but not including, commit 03efc4c, the ORT Server version returned by the /api/v1/versions endpoint is inserted into a shell script via a GitHub Actions expression without validation. An attacker who controls the responses of the configured ORT Server, for example by compromising the server, can execute arbitrary commands on the GitHub Actions runner and access the secrets available to the calling workflow.
The issue is fixed in commit 03efc4c, which only accepts version strings consisting of alphanumeric characters, ., +, and -.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch 03efc4c
Event History
Frequently Asked Questions
Who is exposed to this issue?
Workflows that use the setup-osc GitHub Action at commits from 4e9eaff up to, but not including, 03efc4c are exposed if their configured ORT Server can return attacker-controlled data from /api/v1/versions. A compromised ORT Server is an example of a system that could provide such data.
What does an attacker need to exploit it?
The attacker needs control over the configured ORT Server's response to the /api/v1/versions endpoint. They can then supply a crafted version value that is inserted into a shell script and executed on the GitHub Actions runner.
What could an attacker access after successful exploitation?
An attacker can execute arbitrary commands on the GitHub Actions runner. They can access secrets that are available to the calling workflow.
How can this be remediated?
Update to commit 03efc4c or a later version containing that fix. The fix restricts accepted ORT Server version strings to alphanumeric characters, periods, plus signs, and hyphens.