CVE-2026-31817
Description
OliveTin gives access to predefined shell commands from a web interface. Prior to 3000.11.2, when the saveLogs feature is enabled, OliveTin persists execution log entries to disk. The filename used for these log files is constructed in part from the user-supplied UniqueTrackingId field in the StartAction API request. This value is not validated or sanitized before being used in a file path, allowing an attacker to use directory traversal sequences (e.g., ../../../) to write files to arbitrary locations on the filesystem. This vulnerability is fixed in 3000.11.2.
How to fix
- olivetin olivetin3000.11.2 or later
- github.com/OliveTin/OliveTin0.0.0-20260309102040-b03af0e2eca3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| olivetin olivetin | v < 3000.11.2 | 3000.11.2 |
| github.com/OliveTin/OliveTinGo | v < 0.0.0-20260309102040-b03af0e2eca3 | 0.0.0-20260309102040-b03af0e2eca3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.