CVE-2026-42147 Coolify: SSRF via S3 Storage Endpoint in testConnection()

Medium 4.9 Published Updated

Authenticated users can exploit S3 endpoint validation to force Coolify to make requests to internal or metadata services.

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-2026-42147?

CVE-2026-42147 is a medium-severity server-side request forgery vulnerability in coollabsio coolify, published on 7 Jul 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.474, S3 storage endpoint validation only checks URL format and testConnection() sends a server-side request to the configured endpoint, allowing an authenticated user with storage management permissions to make Coolify request internal or metadata-service URLs. This issue is fixed in version 4.0.0-beta.474.

Weakness: CWE-918

Which versions are affected by CVE-2026-42147?

How do I fix CVE-2026-42147?

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

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2026-42147 being exploited?

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

Sources

Also known as GHSA-pwm4-w33c-wjf3.

Is CVE-2026-42147 in your software?

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

Check your SBOMs for free