Coolify
Coolify authenticated remote command injection leading to RCE and secret exfiltration
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.469, an authenticated remote command injection vulnerability in application deployment handling allows users with application write permissions to achieve remote code execution and exfiltrate sensitive environment variables through deployment logs via fields such as dockerfile_location and deployment commands. This issue is fixed in version 4.0.0-beta.469.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 4.0.0-beta.469
Fixed in 4.0.0-beta.469
Mitigation
Upgrade coolify to 4.0.0-beta.469 or later.
References
- Vendor advisory github.com/coollabsio/coolify/security/advisor…
- Patch github.com/coollabsio/coolify/pull/9007
- Patch github.com/coollabsio/coolify/commit/23f9156c7…
1 more
- Release notes github.com/coollabsio/coolify/releases/tag/v4.…
Timeline
Days relative to CVE publicationFirst public PoC 2.7 days before publication; not in CISA KEV. First PoC: ThemeHackers/CVE-2026-34038 (created 4 Jul 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| ThemeHackers/CVE-2026-34038 | 4 Jul 2026 −2.7 d | 1 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /api/v1/applications
- Key headers
Accept: application/jsonAuthorization: Bearer {var}- Seen in
- 1 repo: ThemeHackers/CVE-2026-34038
- Evidence
- ThemeHackers/CVE-2026-34038/exploit.py:15
GET /api/v1/deployments/{var}
- Key headers
Accept: application/jsonAuthorization: Bearer {var}- Seen in
- 1 repo: ThemeHackers/CVE-2026-34038
- Evidence
- ThemeHackers/CVE-2026-34038/exploit.py:101
GET /deployments
- Key headers
Accept: application/jsonAuthorization: Bearer {var}- Seen in
- 1 repo: ThemeHackers/CVE-2026-34038
- Evidence
- ThemeHackers/CVE-2026-34038/exploit.py:72
PATCH /api/v1/applications/{var}
- Key headers
Accept: application/jsonAuthorization: Bearer {var}- Body markers
"dockerfile_location""pre_deployment_command"inapplication/json- Seen in
- 1 repo: ThemeHackers/CVE-2026-34038
- Evidence
- ThemeHackers/CVE-2026-34038/exploit.py:53
POST /start
- Key headers
Accept: application/jsonAuthorization: Bearer {var}- Seen in
- 1 repo: ThemeHackers/CVE-2026-34038
- Evidence
- ThemeHackers/CVE-2026-34038/exploit.py:60
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/api/v1/applications(?:[?#].*)?$
(?i)^/api/v1/deployments/[^/?#]*(?:[?#].*)?$
(?i)^/deployments(?:[?#].*)?$
(?i)^/api/v1/applications/[^/?#]*(?:[?#].*)?$
(?i)^/start(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-34038 coollabsio coolify exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/v1/applications"; http.header; content:"Accept: application/json"; nocase; http.header; content:"Authorization: Bearer "; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-34038; classtype:web-application-attack; sid:9135700; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-34038 coollabsio coolify exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/v1/deployments/"; http.header; content:"Accept: application/json"; nocase; http.header; content:"Authorization: Bearer "; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-34038; classtype:web-application-attack; sid:9476103; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-34038 coollabsio coolify exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/deployments"; http.header; content:"Accept: application/json"; nocase; http.header; content:"Authorization: Bearer "; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-34038; classtype:web-application-attack; sid:9370558; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-34038 coollabsio coolify exploit attempt"; flow:established,to_server; http.method; content:"PATCH"; http.uri; content:"/api/v1/applications/"; http.header; content:"Accept: application/json"; nocase; http.header; content:"Authorization: Bearer "; nocase; http.request_body; content:"|22|dockerfile_location|22|"; http.request_body; content:"|22|pre_deployment_command|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-34038; classtype:web-application-attack; sid:9345072; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-34038 coollabsio coolify exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/start"; http.header; content:"Accept: application/json"; nocase; http.header; content:"Authorization: Bearer "; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-34038; classtype:web-application-attack; sid:9485786; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: coollabsio coolify exploit attempt (CVE-2026-34038)
id: gg-pocmon-cve-2026-34038-9135700
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-34038. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-34038
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/api/v1/applications'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.34038
title: coollabsio coolify exploit attempt (CVE-2026-34038)
id: gg-pocmon-cve-2026-34038-9476103
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-34038. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-34038
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/api/v1/deployments/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.34038
title: coollabsio coolify exploit attempt (CVE-2026-34038)
id: gg-pocmon-cve-2026-34038-9370558
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-34038. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-34038
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/deployments'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.34038
title: coollabsio coolify exploit attempt (CVE-2026-34038)
id: gg-pocmon-cve-2026-34038-9345072
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-34038. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-34038
logsource:
category: webserver
detection:
selection:
cs-method: PATCH
cs-uri-stem|contains|all:
- '/api/v1/applications/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.34038
title: coollabsio coolify exploit attempt (CVE-2026-34038)
id: gg-pocmon-cve-2026-34038-9485786
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-34038. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-34038
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/start'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.34038