CVE-2026-54323: Daytona TLS Certificate Bypass in Git Clone Operations
Daytona, a platform for executing AI-generated code and running agent workflows, had a flaw in how it validated TLS certificates when cloning Git repositories. Before version 0.185.0, the daemon would accept any certificate presented by a server, even if it was forged. When a developer provided Git credentials for authentication, those credentials were sent in an HTTP Basic Authorization header over this unvalidated connection. An attacker positioned on the network could intercept the clone request, present a fake certificate, capture the credentials, and inject malicious code into the cloned repository—all transparently from the developer's perspective.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 5.9 MEDIUM · CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N
- Weaknesses (CWE)
- CWE-295
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-06-23 / 2026-06-24
NVD description (verbatim)
Daytona is a secure and elastic infrastructure runtime for AI-generated code execution and agent workflows. Prior to 0.185.0, the daemon's git clone implementation disabled TLS certificate verification. When a clone request carried Git credentials, the daemon sent the HTTP Basic Authorization header to the remote over a connection whose certificate was never validated, on both the go-git and native git CLI code paths. An attacker able to intercept clone traffic could present any TLS certificate, capture the Git credentials supplied for the clone, and serve tampered repository content into the sandbox. This vulnerability is fixed in 0.185.0.
1 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-54323 is a TLS certificate verification bypass (CWE-295) affecting Daytona's git clone implementation in versions prior to 0.185.0. Both the go-git and native git CLI code paths disabled certificate validation on HTTPS connections. When clone operations included Git credentials via HTTP Basic Authentication, those credentials traversed unauthenticated TLS sessions vulnerable to man-in-the-middle (MITM) interception. An attacker able to ARP-spoof, DNS-hijack, or otherwise intercept network traffic could present arbitrary certificates, capture base64-encoded credentials from the Authorization header, and serve tampered repository content into the sandbox environment. The vulnerability requires network positioning and user interaction (triggering a clone with credentials), yielding a CVSS 3.1 score of 5.9 (MEDIUM: AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N).
Business impact
Organizations using Daytona to execute AI-generated code face supply-chain contamination risk. An attacker with network access could compromise the integrity of cloned repositories and the sandboxed code execution that follows. If Daytona is deployed in CI/CD pipelines or used by developers to validate AI-generated workflows, malicious code injection could propagate downstream—affecting build artifacts, deployed services, or further automated processes. The credential capture aspect is particularly concerning: Git tokens or deploy keys sent during clone operations could be harvested for lateral movement or unauthorized repository access. The breach is silent; developers would not observe evidence of certificate rejection, trusting the cloned content as legitimate.
Affected systems
Daytona versions prior to 0.185.0 are affected. The vulnerability affects both the go-git and native git CLI code paths, making it broadly present in the daemon's clone functionality regardless of which backend a user's configuration selects. Any deployment of Daytona performing git clone operations with authentication credentials is at risk if deployed in network environments where traffic interception is possible.
Exploitability
Exploitation requires network-level access to intercept Git clone traffic—typically feasible for attackers on the same local network, operating malicious DNS resolvers, or present at ISP/transit points. The attacker must also trigger or coincide with a clone operation that includes credentials (high ACME value reflects this dependency on user action and connection circumstance). No special privileges, complexity in target code, or user awareness of security mechanics is needed beyond the clone action itself; the TLS bypass is automatic. The attack is not trivial for remote attackers without network positioning, but is straightforward for local or in-transit attackers, explaining the MEDIUM severity despite credential capture impact.
Remediation
Update Daytona to version 0.185.0 or later. This release restores TLS certificate verification on both go-git and native git CLI code paths. Verify the fix is enabled in your deployment configuration; do not disable certificate validation intentionally. Organizations should also audit any Git credentials that were in use in versions prior to 0.185.0 and consider rotating them if deployed in networks where interception may have occurred.
Patch guidance
1. Identify all Daytona instances running versions before 0.185.0 (check daemon version via API or process inspection). 2. Plan upgrades during maintenance windows; there is no evidence of in-the-wild exploitation. 3. Test 0.185.0 or later in a staging environment to confirm git clone operations (with and without credentials) function normally. 4. Deploy the patched version, restarting affected daemons. 5. Optionally audit recent clone operations in logs to detect any MITM indicators (connection errors, certificate warnings that were silently ignored, or unexpected repository content). 6. Rotate Git credentials (deploy keys, PATs, SSH keys) that were used pre-patch as a defensive measure.
Detection guidance
1. Network-level: Monitor for TLS handshakes where clients accept invalid/self-signed certificates during Git operations; flag anomalies. 2. Application-level: Examine Daytona daemon logs for clone operations; look for any messages indicating certificate errors that were bypassed (this would be an indicator of pre-0.185.0 behavior). 3. Credential audit: If possible, cross-reference Git credentials used in clone commands against any logs from network taps or MITM proxies in your environment—a difficult forensic task but worthwhile if sensitive deploy keys were in use. 4. Behavioral: Monitor for unexpected repository content or build artifacts that appear to originate from unvetted or tampered clones; apply code review rigor to AI-generated code paths. 5. Post-patch: Verify that 0.185.0+ is rejecting invalid certificates (e.g., by blocking a test clone from a MITM proxy).
Why prioritize this
MEDIUM CVSS and lack of active exploitation (not on KEV list) suggest this is not an emergency, but the combination of credential theft risk and code integrity compromise in an AI execution platform warrants prompt remediation. Daytona users in CI/CD or AI code validation roles should prioritize this within 2–4 weeks. Organizations with Daytona in isolated, trusted networks face lower risk; those in cloud or multi-tenant settings should accelerate patching.
Risk score, explained
The CVSS 3.1 score of 5.9 reflects high confidentiality impact (credential capture, AV:N), low integrity impact (code tamper is localized to the sandbox, IS:L), no availability impact, high attack complexity (network interception required, AC:H), and required user interaction (clone invocation, UI:R). The score appropriately weighs the realistic threat (MITM is non-trivial to execute remotely) against the sensitive nature of credentials and code.
Frequently asked questions
Do I need to rotate all my Git credentials immediately?
If your Daytona instance was operating in a trusted, isolated network (e.g., corporate intranet with no hostile actors), the risk of interception was low and rotation can follow your normal schedule. If deployed in cloud, multi-tenant, or untrusted networks, or if you use highly privileged deploy keys, rotate credentials within days as a precaution. Audit recent clone logs first to identify which credentials were actually used.
Will updating to 0.185.0 break my existing clone workflows?
No. Version 0.185.0 re-enables certificate validation, which should be transparent for all legitimate clones from repositories served over properly signed TLS. If your clone commands fail after upgrading, inspect the certificate chain on your Git server; this indicates a legitimate misconfiguration (self-signed cert, expired cert, or wrong hostname) that should be corrected on the server side.
Is this vulnerability present in other tools that use go-git or git CLI?
This specific vulnerability is in Daytona's implementation (disabled certificate validation). However, it is a good reminder that any tool performing git operations over HTTPS should explicitly enable and enforce certificate validation. Review your own tooling and infrastructure for similar patterns.
Does this affect git operations over SSH instead of HTTPS?
No. The vulnerability is specific to HTTPS/TLS certificate validation. If your Daytona clone operations use SSH keys instead of HTTP Basic Auth, you are not vulnerable to credential interception via this flaw (though SSH host key verification should still be enabled as a best practice).
This analysis is provided for informational purposes and reflects publicly available information and vendor advisories as of the publication date. While we have exercised care in preparing this content, SEC.co makes no warranties regarding accuracy or completeness. Organizations should validate findings against official vendor documentation, security advisories, and internal threat models before making remediation decisions. This is not legal, compliance, or specific security advice; consult your security team and vendors accordingly. Source: NVD (public-domain), retrieved 2026-07-29. Analysis generated by SEC.co (claude-haiku-4-5).
Weaknesses (CWE)
Related vulnerabilities
- CVE-2024-47477MEDIUMDell PowerFlex Manager Certificate Validation Flaw (CVSS 6.5)
- CVE-2025-2669MEDIUMIBM Db2 Token Validation Flaw Enables Privilege Escalation
- CVE-2026-40992MEDIUMSpring Boot Mail Auto-Configuration Missing Hostname Verification
- CVE-2026-41714MEDIUMSpring AMQP TLS Certificate Validation Bypass Vulnerability
- CVE-2026-42769MEDIUMOpenSSL CMP Root CA Certificate Validation Bypass
- CVE-2026-49267MEDIUMApache Airflow EmailOperator STARTTLS Certificate Verification Bypass
- CVE-2026-9258MEDIUMCanon EOS Network Setting Tool SSH Key Validation Flaw
- CVE-2026-9259MEDIUMCanon EOS Network Setting Tool Certificate Validation Flaw