{"cve":"CVE-2026-31817","nvd":{"published":"2026-03-10T22:16:19.167","modified":"2026-06-17T10:34:30.823","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:L","score":8.5},"cwes":["CWE-22"],"references":["https://github.com/OliveTin/OliveTin/security/advisories/GHSA-364q-w7vh-vhpc"],"products":["olivetin:olivetin"],"source":"nvd","synced_at":"2026-10-19T22:25:53.701907451+00:00"},"epss":{"cve":"CVE-2026-31817","score":0.00741,"percentile":0.54661,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-364q-w7vh-vhpc","url":"https://osv.dev/vulnerability/GHSA-364q-w7vh-vhpc","summary":"OliveTin's unsafe parsing of UniqueTrackingId can be used to write files","modified":"2026-03-23T04:56:10.740060407Z","packages":[{"ecosystem":"Go","name":"github.com/OliveTin/OliveTin","purl":"pkg:golang/github.com/OliveTin/OliveTin","ranges":["<0.0.0-20260309102040-b03af0e2eca3"],"fixed":["0.0.0-20260309102040-b03af0e2eca3"]}]},{"id":"GO-2026-4670","url":"https://osv.dev/vulnerability/GO-2026-4670","summary":"OliveTin's unsafe parsing of UniqueTrackingId can be used to write files in github.com/OliveTin/OliveTin","modified":"2026-03-23T04:52:52.426594Z","packages":[{"ecosystem":"Go","name":"github.com/OliveTin/OliveTin","purl":"pkg:golang/github.com/OliveTin/OliveTin","ranges":["<0.0.0-20260309102040-b03af0e2eca3"],"fixed":["0.0.0-20260309102040-b03af0e2eca3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}