8.5
CWE
78
EPSS
0.046%
Advisory Published
Updated

CVE-2025-22605: Coolify OS Command Injection Vulnerability in SSH Command Generation

First published: Fri Jan 24 2025(Updated: )

Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Starting in version 4.0.0-beta.18 and prior to 4.0.0-beta.253, a vulnerability in the execution of commands on remote servers allows an authenticated user to execute arbitrary code on the local Coolify container, gaining access to data and private keys or tokens of other users/teams. The ability to inject malicious commands into the Coolify container gives authenticated attackers the ability to fully retrieve and control the data and availability of the software. Centrally hosted Coolify instances (open registration and/or multiple teams with potentially untrustworthy users) are especially at risk, as sensitive data of all users and connected servers can be leaked by any user. Additionally, attackers are able to modify the running software, potentially deploying malicious images to remote nodes or generally changing its behavior. Version 4.0.0-beta.253 patches this issue.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Coolify Coolify>=4.0.0-beta.18<4.0.0-beta.253

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2025-22605?

    CVE-2025-22605 is considered a critical vulnerability due to its potential for arbitrary code execution on affected systems.

  • How do I fix CVE-2025-22605?

    To fix CVE-2025-22605, upgrade Coolify to version 4.0.0-beta.253 or later.

  • Who is affected by CVE-2025-22605?

    CVE-2025-22605 affects all versions of Coolify from 4.0.0-beta.18 up to 4.0.0-beta.253.

  • Can an unauthenticated user exploit CVE-2025-22605?

    No, CVE-2025-22605 requires an authenticated user to exploit the vulnerability.

  • What are the potential implications of CVE-2025-22605?

    Exploitation of CVE-2025-22605 may allow an attacker to execute arbitrary commands on the server, leading to complete compromise.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203