CVE-2026-28342: OliveTin has Unauthenticated Denial of Service via Memory Exhaustion in PasswordHash API Endpoint
Summary The PasswordHash API endpoint allows unauthenticated users to trigger excessive memory allocation by sending concurrent password hashing requests. By issuing multiple parallel requests, an attacker can exhaust available container memory, leading to service degradation or complete denial of service (DoS).
Published Mar 2, 2026 · Updated Mar 5, 2026
Affected packages
github.com/OliveTin/OliveTin
- Ecosystem
- Go
- Affected
- < 0.0.0-20260227002407-2eb5f0ba79d4
- Fixed in
- 0.0.0-20260227002407-2eb5f0ba79d4
- Check
go list -m github.com/OliveTin/OliveTin
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
The PasswordHash API endpoint allows unauthenticated users to trigger excessive memory allocation by sending concurrent password hashing requests. By issuing multiple parallel requests, an attacker can exhaust available container memory, leading to service degradation or complete denial of service (DoS).
The issue occurs because the endpoint performs computationally and memory-intensive hashing operations without request throttling, authentication requirements, or resource limits.
Details
The vulnerable endpoint:
POST /api/olivetin.api.v1.OliveTinApiService/PasswordHash
accepts a JSON body containing a password field and returns a computed password hash.
Each request triggers a memory-intensive hashing operation. When multiple concurrent requests are sent, memory consumption increases significantly. There are no safeguards such as:
- Authentication requirements
- Rate limiting
- Request throttling
- Memory usage caps per request
- Concurrency controls
As a result, an attacker can repeatedly invoke the endpoint in parallel, causing excessive RAM allocation inside the container.
In a test environment, 50 concurrent requests resulted in approximately 3.2 GB of memory usage (≈64 MB per request), leading to service instability.
This behavior allows unauthenticated attackers to perform a denial of service attack by exhausting server memory resources.
PoC
Environment
- Docker container: olivetin-test
- Exposed API on: http://localhost:1337
- Default configuration (no authentication enabled)
Reproduction Steps
Run the following script to send 50 concurrent requests:
for i in $(seq 1 50); do
curl -s -X POST http://localhost:1337/api/olivetin.api.v1.OliveTinApiService/PasswordHash \
-H "Content-Type: application/json" \
-d "{\"password\":\"flood-$i\"}" &
done
docker stats olivetin-test --no-stream
wait┌──(root㉿kali)-[~/cve/OliveTin]
└─# docker stats olivetin-test --no-stream
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
18509670bf3e olivetin-test 344.63% 6.189GiB / 7.753GiB 79.83% 313kB / 288kB 4.31MB / 106MB 7
Docker CPU is 344.63%
Impact
This vulnerability allows unauthenticated remote attackers to:
- Exhaust server memory
- Crash the service
- Cause availability loss
- Trigger container termination in orchestrated environments
This is a Denial of Service (DoS) vulnerability affecting service availability.
Production deployments without reverse proxy rate limiting (e.g., Nginx, Traefik) are especially at risk.
Credited to fg0x0.
References
- https://github.com/OliveTin/OliveTin/security/advisories/GHSA-pc8g-78pf-4xrp
- https://github.com/OliveTin/OliveTin/commit/2eb5f0ba79d4bbef3c802bf8b4666a7e18dcfd90
- https://nvd.nist.gov/vuln/detail/CVE-2026-28342
- https://github.com/OliveTin/OliveTin/releases/tag/3000.10.2
- https://github.com/advisories/GHSA-pc8g-78pf-4xrp
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
