CVE-2025-69201·Docker vulnerability
Tugtainer is a self-hosted app for automating updates of docker containers. In versions prior to 1.15.1, arbitary arguments can be injected in tugtainer-agent `POST api/command/run`. Version 1.15.1 fixes the issue.
- Severity
- critical
- Software
- Docker
- Fixed in
- 1.15.1
- Published
- 2025-12-29
Affected versions
Until: 1.15.1
Fixed in: 1.15.1
How to fix this CVE
Tugtainer versions before 1.15.1 contain a critical command injection vulnerability in the tugtainer-agent API endpoint that allows unauthenticated attackers to execute arbitrary commands on the host system. Immediately upgrade Tugtainer to version 1.15.1 or later, which implements proper input sanitization and argument validation to prevent command injection attacks.
sudo dnf update docker-ceDefensia detects this vulnerability
What an exploitation attempt looks like
Sample log line indicative of exploitation attempts:
POST /api/command/run HTTP/1.1.*Content-Type: application/json.*;.*bash.*|.*sh.*|.*exec.*|.*eval.*|.*nc.*|.*cat.*|.*wget.*|.*curlWAF mitigation (if patching is not yet possible)
Add this rule to your WAF to block exploitation attempts while you schedule the patch.
Implement strict input validation on the /api/command/run POST endpoint to reject payloads containing shell metacharacters (;|&|`|$|\n|\r|>) and command substitution patterns ($()|``). Enforce rate limiting on API endpoints and require authentication before accepting command execution requests.How to check if you are affected
- Check Tugtainer version: docker inspect tugtainer-agent 2>/dev/null | grep -i version || curl -s http://localhost:3000/api/version 2>/dev/null || grep -r 'VERSION\|version' /opt/tugtainer/package.json 2>/dev/null
- Verify if tugtainer-agent is exposed to untrusted networks: netstat -tuln | grep -E ':(3000|8080)' or docker ps | grep tugtainer-agent
- Search container and application logs for suspicious POST requests to /api/command/run endpoint: grep -i 'POST.*api/command/run' /var/log/containers/*.log /var/log/docker/*.log 2>/dev/null
- Confirm remediation by checking installed Tugtainer version is 1.15.1 or later: docker exec tugtainer-agent cat /app/package.json | grep version || curl -s http://localhost:3000/api/version | jq '.version'
FAQ
What is CVE-2025-69201?
CVE-2025-69201 is a critical command injection vulnerability in Tugtainer's REST API that allows remote attackers to inject arbitrary shell arguments into the tugtainer-agent POST /api/command/run endpoint without authentication, leading to complete system compromise.
Is CVE-2025-69201 being actively exploited?
No, CVE-2025-69201 is not currently listed in CISA's Known Exploited Vulnerabilities catalog and no public exploits have been released, but the critical CVSS 9.8 score and ease of exploitation warrant immediate patching.
What versions of Docker are affected by CVE-2025-69201?
This vulnerability affects Tugtainer (a Docker container update automation tool) versions prior to 1.15.1, not Docker itself. All versions below 1.15.1 are vulnerable.
How do I check if my server is vulnerable to CVE-2025-69201?
Run 'docker ps | grep tugtainer' to identify if Tugtainer is deployed, then check the version with 'docker exec tugtainer-agent cat /app/package.json | grep version'. If the version is below 1.15.1, you are vulnerable.
Does Defensia detect CVE-2025-69201?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Tugtainer is installed on a monitored server, CVE-2025-69201 will appear in your dashboard with remediation steps.
Related Docker CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2025-69201. Free for 1 server.
Get started free