CVE-2026-67437: OliveTin memory exhaustion via unbounded OAuth2 state map growth

CVE-2026-67437 · Severity: high · CVSS 7.5 · Published 2026-07-29

OliveTin, a tool for providing a simple web interface for running shell commands, is vulnerable to a denial-of-service attack. An unauthenticated attacker can flood the login system with requests that consume server memory without ever releasing it. This can lead to the server crashing or becoming completely unresponsive, requiring a manual restart to restore service.

Technologies: github.com/OliveTin/OliveTin (Go), OliveTin. Vendors: Go, OliveTin.

Quick answers

Is CVE-2026-67437 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-67437 being exploited in the wild.
How severe is CVE-2026-67437?
High severity, with a CVSS score of 7.5, published 29 July 2026.
Which products and versions are affected?
github.com/OliveTin/OliveTin (Go) >= 0.0.0-20251024001301-45f9c18bc3ee, < 0.0.0-20260708075951-ec114e95d297, SEMVER:introduced=0.0.0-20251024001301-45f9c18bc3ee,fixed=0.0.0-20260708075951-ec114e95d297; OliveTin >= 0.0.0-20251024001301-45f9c18bc3ee, < 0.0.0-20260708075951-ec114e95d297, 3000.0.0 - 3000.16.0.
Is there a fix for CVE-2026-67437?
Yes. github.com/OliveTin/OliveTin (Go): upgrade to 0.0.0-20260708075951-ec114e95d297 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-67437 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-67437?
Check whether you run github.com/OliveTin/OliveTin (Go) or OliveTin at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • github.com/OliveTin/OliveTin (Go): upgrade to 0.0.0-20260708075951-ec114e95d297 or later
    go get github.com/OliveTin/OliveTin@v0.0.0-20260708075951-ec114e95d297

Technical details

The vulnerability is a resource exhaustion issue (unbounded map growth) located in the OAuth2 login handler (`registeredStates` map in `restapi_auth_oauth2.go`). Every request to the `/oauth/login` endpoint generates a new state entry in an in-memory map that lacks a Time-To-Live (TTL), maximum size limit, or cleanup mechanism. An unauthenticated remote attacker can send a high volume of requests to this endpoint to fill the map, eventually causing the Go runtime to exhaust available system memory and trigger an Out-Of-Memory (OOM) kill. This issue persists even in versions that patched concurrent map access (CVE-2026-28789) because the fundamental lack of entry deletion remains. A patch is available in version 0.0.0-20260708075951-ec114e95d297.

Affected products

  • OliveTin OliveTin >= 0.0.0-20251024001301-45f9c18bc3ee, < 0.0.0-20260708075951-ec114e95d297

Identifiers

  • CVE-2026-67437
  • GHSA-xpxj-f2fm-rqch
  • GO-2026-6146

Timeline

  • 2026-07-08: patched: Fixed in version 0.0.0-20260708075951-ec114e95d297
  • 2026-07-30: advisory: GHSA-xpxj-f2fm-rqch published

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.