# CVE-2026-31817: OliveTin's unsafe parsing of UniqueTrackingId can be used to write files

- Severity: High 8.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.81%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-10T21:08:53.873Z
- Modified: 2026-06-17T10:34:30.823Z
- Also known as: GHSA-364q-w7vh-vhpc, GO-2026-4670
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- OliveTin OliveTin: < 3000.11.2; before 3000.11.2
- github.com/OliveTin/OliveTin (Go): before 0.0.0-20260309102040-b03af0e2eca3

## Every score

- GitHub_M: CVSS:3.1 8.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:L`
- GitHub: CVSS:3.1 8.5 High `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> (exploit, advisory, mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-31817> (advisory)
- <https://github.com/OliveTin/OliveTin/commit/2f77000de44f65690f257e3cf8e2c8462b0e74c7> (fix, web)
- <https://github.com/OliveTin/OliveTin> (package)
- <https://github.com/OliveTin/OliveTin/releases/tag/3000.11.2> (web)

## Sources

- CVE List: [CVE-2026-31817](https://www.cve.org/CVERecord?id=CVE-2026-31817), CVE Terms of Use, modified 2026-03-11
- GitHub Advisory Database: [GHSA-364q-w7vh-vhpc](https://github.com/advisories/GHSA-364q-w7vh-vhpc), CC-BY-4.0, modified 2026-03-23
- Go Vulnerability Database: [GO-2026-4670](https://pkg.go.dev/vuln/GO-2026-4670), CC-BY-4.0, modified 2026-03-23
- NVD: [CVE-2026-31817](https://nvd.nist.gov/vuln/detail/CVE-2026-31817), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-31817 · Whole record: https://cve.day/CVE-2026-31817.json · Rebuilt by cve.day 2026-11-25T22:59:15.673Z
