{"answers":{"affected":"3 open source packages ship an affected version, including github.com/OliveTin/OliveTin. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-31817 exists.","fix":"Upgrade github.com/OliveTin/OliveTin to 0.0.0-20260309102040-b03af0e2eca3 or later.","what":"CVE-2026-31817 is a high-severity path traversal vulnerability in OliveTin, published on 10 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-31817 and fix it if it is affected.\n\nWhat it is: CVE-2026-31817 is a high-severity path traversal vulnerability in OliveTin, published on 10 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-31817 exists.\n\nAffected packages and fixed versions:\n- github.com/OliveTin/OliveTin (Go): affected all versions; fixed in 0.0.0-20260309102040-b03af0e2eca3\n- github.com/OliveTin/OliveTin (Go): affected all versions; fixed in 0.0.0-20260309102040-b03af0e2eca3\n- github.com/OliveTin/OliveTin (Go): affected all versions; fixed in 0.0.0-20260309102040-b03af0e2eca3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-31817/ (Markdown: https://insights.sbomify.com/CVE-2026-31817/index.md)","id":"CVE-2026-31817","markdown":"https://insights.sbomify.com/CVE-2026-31817/index.md","name":"CVE-2026-31817","record":{"aliases":["GHSA-364q-w7vh-vhpc","GO-2026-4670"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"OliveTin web interface","requires_auth":"low_privilege","summary":"Attackers can write arbitrary files via directory traversal in log filenames when saveLogs is enabled, requiring an upgrade to fix.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"olivetin","vendor":"olivetin"}],"cvss":{"score":8.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"OliveTin's unsafe parsing of UniqueTrackingId can be used to write files","id":"CVE-2026-31817","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":3,"n_references":1,"next":{"headline":"Budibase: Server-Side Request Forgery via REST Connector with Empty Default Blacklist","id":"CVE-2026-31818"},"packages":[{"ecosystem":"Go","fixed":["0.0.0-20260309102040-b03af0e2eca3"],"introduced":["0"],"last_affected":[],"package":"github.com/OliveTin/OliveTin","purl":null,"source":"GHSA-364q-w7vh-vhpc"},{"ecosystem":"Go","fixed":["0.0.0-20260309102040-b03af0e2eca3"],"introduced":["0"],"last_affected":[],"package":"github.com/OliveTin/OliveTin","purl":"pkg:golang/github.com/OliveTin/OliveTin","source":"GHSA-364q-w7vh-vhpc"},{"ecosystem":"Go","fixed":["0.0.0-20260309102040-b03af0e2eca3"],"introduced":["0"],"last_affected":[],"package":"github.com/OliveTin/OliveTin","purl":"pkg:golang/github.com/OliveTin/OliveTin","source":"GO-2026-4670"}],"prev":{"headline":"Budibase Universal Auth Bypass via Webhook Query Param Injection","id":"CVE-2026-31816"},"products":["OliveTin"],"published":"2026-03-10","related":[{"cvss_score":10,"headline":"OliveTin: OS Command Injection via `password` argument type and webhook JSON extraction bypasses shell safety checks","id":"CVE-2026-27626","kev_date_added":null,"published":"2026-02-25"},{"cvss_score":8.8,"headline":"OliveTin: JWT Audience Validation Bypass in Local Key and HMAC Modes","id":"CVE-2026-30223","kev_date_added":null,"published":"2026-03-06"},{"cvss_score":7.5,"headline":"OliveTin: Unauthenticated Denial of Service via Memory Exhaustion in PasswordHash API Endpoint","id":"CVE-2026-28342","kev_date_added":null,"published":"2026-03-05"},{"cvss_score":7.5,"headline":"OliveTin: Unauthenticated DoS via concurrent map writes in OAuth2 state handling","id":"CVE-2026-28789","kev_date_added":null,"published":"2026-03-05"},{"cvss_score":7.5,"headline":"OliveTin: Unauthenticated Action Termination via KillAction When Guests Must Login","id":"CVE-2026-28790","kev_date_added":null,"published":"2026-03-05"},{"cvss_score":7.1,"headline":"OliveTin Unauthorized Action Output Disclosure via EventStream","id":"CVE-2026-32102","kev_date_added":null,"published":"2026-03-11"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-11","vendors":["OliveTin"]},"summary":"Attackers can write arbitrary files via directory traversal in log filenames when saveLogs is enabled, requiring an upgrade to fix.","url":"https://insights.sbomify.com/CVE-2026-31817/"}