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

Source: https://junglewise.ai/threats/cve-2026-67437-olivetin-memory-exhaustion-via-unbounded-oauth2-state-map-growth  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-29. Updated: 2026-07-30  
License: CC BY 4.0 with a link back

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)](https://junglewise.ai/threats/technologies/github-com-olivetin-olivetin), [OliveTin](https://junglewise.ai/threats/technologies/olivetin). Vendors: [Go](https://junglewise.ai/threats/vendors/go), [OliveTin](https://junglewise.ai/threats/vendors/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

  ```sh
  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

- [https://api.github.com/users/knight-yagami](https://api.github.com/users/knight-yagami)
- [https://github.com/knight-yagami](https://github.com/knight-yagami)
- [https://api.github.com/users/knight-yagami/gists%7B/gist_id%7D](https://api.github.com/users/knight-yagami/gists%7B/gist_id%7D)
- [https://api.github.com/users/knight-yagami/repos](https://api.github.com/users/knight-yagami/repos)
- [https://avatars.githubusercontent.com/u/53488798?v=4](https://avatars.githubusercontent.com/u/53488798?v=4)
- [https://api.github.com/users/knight-yagami/events%7B/privacy%7D](https://api.github.com/users/knight-yagami/events%7B/privacy%7D)

## Related threats

- [OliveTin input filtering bypass via ot_ prefixed arguments](https://junglewise.ai/threats/cve-2026-53541-olivetin-input-filtering-bypass-via-ot-prefixed-arguments)
- [OliveTin incorrect authorization in synchronous execution endpoints](https://junglewise.ai/threats/cve-2026-67439-olivetin-incorrect-authorization-in-synchronous-execution)
- [OliveTin OS command injection in regex argument validation](https://junglewise.ai/threats/cve-2026-67438-olivetin-os-command-injection-in-regex-argument-validation)
- [OliveTin missing authorization in ValidateArgumentType API](https://junglewise.ai/threats/cve-2026-48709-olivetin-missing-authorization-in-validateargumenttype-api)
- [OliveTin race condition in template engine causing command contamination](https://junglewise.ai/threats/cve-2026-48708-olivetin-race-condition-in-template-engine-causing-command)
