Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-100677 Overview
CVE-2026-100677 is an account enumeration vulnerability in stoatchat versions prior to 0.15.5. The flaw resides in the login endpoint POST /api/auth/session/login, which returns error responses containing source file location fields. Unauthenticated attackers can submit login requests with arbitrary email addresses and compare the returned error locations to distinguish registered accounts from unregistered ones. The issue is classified under CWE-209: Generation of Error Message Containing Sensitive Information.
Critical Impact
Attackers can harvest valid account identifiers from a stoatchat deployment without authentication, enabling targeted credential stuffing, password spraying, and phishing campaigns against confirmed users.
Affected Products
- stoatchat versions prior to 0.15.5
- stoatchat /api/auth/session/login endpoint
- Any self-hosted stoatchat deployment accessible over the network
Discovery Timeline
- 2026-09-26 - CVE-2026-100677 published to NVD
- 2026-09-30 - Last updated in NVD database
Technical Details for CVE-2026-100677
Vulnerability Analysis
The vulnerability stems from inconsistent error handling in the stoatchat authentication flow. When the login endpoint processes a request for an unregistered email, the backend raises an error at a different code path than when it processes a request for a registered email with an incorrect password. The server serializes the originating source file location into the response body, exposing an observable difference between the two states.
An attacker submits a POST request to /api/auth/session/login with the target email and an arbitrary password. By parsing the location field in the JSON error response, the attacker determines whether the account exists. The attack requires no authentication, no user interaction, and can be fully automated across large email lists.
The exposure facilitates downstream attacks. Confirmed accounts become targets for credential stuffing using leaked password corpora, password spraying with common passwords, and spearphishing campaigns tailored to known stoatchat users.
Root Cause
The root cause is the inclusion of internal source file paths in client-facing error responses. The authentication handler fails to normalize error output between the "user not found" and "invalid credentials" paths. This violates the principle that authentication failures should return indistinguishable responses regardless of which component failed.
Attack Vector
Exploitation occurs over the network against the HTTP API. The attacker iterates through a list of candidate email addresses, sending one login request per address, and classifies responses based on the location field. No special tooling is required beyond a scripted HTTP client. The attack is quiet from an application-logic perspective because each request is a legitimate login attempt.
See the VulnCheck advisory on stoatchat account enumeration and the GitHub Security Advisory GHSA-h44h-xx2j-hp56 for the vendor-published technical details.
Detection Methods for CVE-2026-100677
Indicators of Compromise
- High volumes of POST /api/auth/session/login requests from a single source IP or small IP range with varying email addresses and identical or sequential passwords.
- Login requests enumerating email addresses that do not correspond to any known user activity patterns.
- Spikes in 4xx responses from the login endpoint followed by targeted credential stuffing against a subset of previously enumerated addresses.
Detection Strategies
- Deploy rate limiting and anomaly detection on the authentication endpoint, alerting when request rates exceed baseline per source IP or per subnet.
- Compare the ratio of unique email addresses to total login attempts per source; enumeration campaigns produce near-1:1 ratios.
- Correlate failed login bursts with subsequent successful logins from the same source to identify enumeration-to-exploitation chains.
Monitoring Recommendations
- Ingest reverse proxy and application logs for /api/auth/session/login into a centralized SIEM for cross-source correlation.
- Alert on response payloads that leak internal file paths, including location fields referencing source directories.
- Monitor outbound notifications and password reset flows for anomalous volume that may follow a successful enumeration campaign.
How to Mitigate CVE-2026-100677
Immediate Actions Required
- Upgrade stoatchat to version 0.15.5 or later, which normalizes login error responses and removes source file location disclosure.
- Audit authentication logs for enumeration patterns against /api/auth/session/login prior to the upgrade and flag any email addresses that may have been confirmed to attackers.
- Enforce multi-factor authentication for all stoatchat accounts to blunt the impact of any credentials harvested through follow-on attacks.
Patch Information
The stoatchat maintainers released version 0.15.5 to address CVE-2026-100677. The fix removes source file location fields from authentication error responses and standardizes error output across the "account not found" and "invalid credentials" paths. Refer to the GitHub Security Advisory GHSA-h44h-xx2j-hp56 for release notes and upgrade instructions.
Workarounds
- Place stoatchat behind a reverse proxy or Web Application Firewall (WAF) that strips location fields from upstream JSON error responses before returning them to clients.
- Apply strict rate limiting on /api/auth/session/login, for example 5 requests per minute per source IP, to raise the cost of large-scale enumeration.
- Restrict access to the login endpoint via IP allowlists or VPN gating where the deployment model permits.
# Example nginx rate limit for the stoatchat login endpoint
limit_req_zone $binary_remote_addr zone=stoat_login:10m rate=5r/m;
server {
location /api/auth/session/login {
limit_req zone=stoat_login burst=3 nodelay;
proxy_pass http://stoatchat_upstream;
}
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

