Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-31817

HIGH 8.5EPSS 64%

OliveTin's unsafe parsing of UniqueTrackingId can be used to write files

Also known as GHSA-364q-w7vh-vhpc, GO-2026-4670

Mitigation

  • Upgrade github.com/OliveTin/OliveTin to 0.0.0-20260309102040-b03af0e2eca3 or later.

Who should check

  • Projects that depend on Go package github.com/OliveTin/OliveTin (< 0.0.0-20260309102040-b03af0e2eca3)
  • Anyone running OliveTin < 3000.11.2

Vulnerability facts

Affected
github.com/OliveTin/OliveTin < 0.0.0-20260309102040-b03af0e2eca3
Fixed in
0.0.0-20260309102040-b03af0e2eca3
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
8.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: None
  • Integrity impact: High
  • Availability impact: Low
EPSS
1.07% chance of exploitation in 30 days (percentile 64, 2026-11-26)
CWE
CWE-22
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Go github.com/OliveTin/OliveTin< 0.0.0-20260309102040-b03af0e2eca30.0.0-20260309102040-b03af0e2eca3osv
OliveTin< 3000.11.2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-31817. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-31817.md
Affected: github.com/OliveTin/OliveTin < 0.0.0-20260309102040-b03af0e2eca3
Fixed in: 0.0.0-20260309102040-b03af0e2eca3

Steps:
1. Search this machine and project for github.com/OliveTin/OliveTin (Go), OliveTin: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-31817 being exploited?

There is no confirmed exploitation: CVE-2026-31817 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.07% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-31817?

High: CVSS 8.5 (v3.1, scored by CNA). Remote, login needed.

Which versions are affected by CVE-2026-31817?

github.com/OliveTin/OliveTin < 0.0.0-20260309102040-b03af0e2eca3.

Is there a fix for CVE-2026-31817?

Yes. Fixed in 0.0.0-20260309102040-b03af0e2eca3. Upgrade github.com/OliveTin/OliveTin to 0.0.0-20260309102040-b03af0e2eca3 or later.

How do I check if I'm affected by CVE-2026-31817?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors