Vulnerability · Published Mar 10, 2026 · Assigned by GitHub_M
CVE-2026-31817OliveTin's unsafe parsing of UniqueTrackingId can be used to write files
High 8.5
In plain English
A high-severity path traversal in OliveTin from OliveTin. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/OliveTin/OliveTin | 0.0.0-20260309102040-b03af0e2eca3 | GHSA-364q-w7vh-vhpc |
| Go | github.com/OliveTin/OliveTin | 0.0.0-20260309102040-b03af0e2eca3 | GO-2026-4670 |
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:L
References
- https://github.com/OliveTin/OliveTin/security/advisories/GHSA-364q-w7vh-vhpc x_refsource_CONFIRM