CVE-2025-49008 Atheos Improper Input Validation Vulnerability Enables RCE in Common.php

Critical 9.4 Published Updated

Improper input validation in Atheos allows argument injection leading to arbitrary command execution, risking server compromise and data breaches.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-49008?

CVE-2025-49008 is a critical command injection vulnerability in Atheos, published on 5 Jun 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Atheos is a self-hosted browser-based cloud integrated development environment. Prior to version 6.0.4, improper use of `escapeshellcmd()` in `/components/codegit/traits/execute.php` allows argument injection, leading to arbitrary command execution. Atheos administrators and users of vulnerable versions are at risk of data breaches or server compromise. Version 6.0.4 introduces a `Common::safe_execute` function that sanitizes all arguments using `escapeshellarg()` prior to execution and migrated all components potentially vulnerable to similar exploits to use this new templated execution system.

Weakness: CWE-88, CWE-78

Which versions are affected by CVE-2025-49008?

How do I fix CVE-2025-49008?

No fix has been published for CVE-2025-49008 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2025-49008 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-49008 exists.

Sources

Also known as GHSA-rwc2-4q8c-xj48.

Is CVE-2025-49008 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free