CVE-2025-49008
BaseFortify
Publication date: 2025-06-05
Last updated on: 2025-06-05
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-88 | The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string. |
| CWE-78 | The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability in Atheos, a self-hosted browser-based cloud IDE, is due to improper use of the PHP function escapeshellcmd() in the file /components/codegit/traits/execute.php before version 6.0.4. This improper use allows an attacker to inject arguments into shell commands, leading to arbitrary command execution on the server. The issue was fixed in version 6.0.4 by introducing a safe_execute function that sanitizes all arguments using escapeshellarg() and migrating all potentially vulnerable components to this safer execution method.
How can this vulnerability impact me? :
This vulnerability can lead to arbitrary command execution on the server hosting Atheos, which may result in data breaches or full server compromise. Both administrators and users of vulnerable versions are at risk, potentially exposing sensitive data or allowing attackers to take control of the server environment.
What immediate steps should I take to mitigate this vulnerability?
Upgrade Atheos to version 6.0.4 or later, which includes the fix by introducing the Common::safe_execute function that properly sanitizes all arguments using escapeshellarg() and migrates all potentially vulnerable components to this safer execution system.