CVE-2026-62314: CWE-284: Improper Access Control in TecharoHQ anubis
Description
Any HTTP client can bypass Anubis bot protection on the default configuration by adding a single request header. No challenge needs to be solved. Affected versions: v1.22.0 through v1.25.0 (introduced in commit d1d631a, PR #1015) The root cause is in `lib/policy/checker.go`, `PathChecker.Check()`: ```go func (pc *PathChecker) Check(r *http.Request) (bool, error) { originalUrl := r.Header.Get("X-Original-URI") if originalUrl != "" { if pc.regexp.MatchString(originalUrl) { return true, nil } } if pc.regexp.MatchString(r.URL.Path) { return true, nil } return false, nil } ``` The header value comes directly from the client request. The middleware chain never strips it. In reverse proxy mode an attacker fully controls it. The default policy imports `data/common/keep-internet-working.yaml`, which contains path-only ALLOW rules with no other conditions: ```yaml - name: well-known path_regex: ^/\.well-known/.*$ action: ALLOW ``` When `X-Original-URI` matches one of those regexes, the rule fires as ALLOW and the request is forwarded upstream without any challenge or JWT check. # Proof of concept Normal request, gets challenged: ``` curl -s https://anubis.techaro.lol/ | grep -o "<title>.*</title>" ``` Bypass, gets upstream content: ``` curl -s -H "X-Original-URI: /.well-known/x" https://anubis.techaro.lol/ | grep -o "<title>.*</title>" ``` The first command returns the Anubis challenge page title. The second returns the real site title directly, with no cookie set and no challenge issued. Verified live against anubis.techaro.lol. # Suggested fix The fix should probably be to strip the header from incoming client requests in the middleware chain before policy evaluation. In `auth_request` mode the header is set by the proxy after Anubis processes the middleware, so stripping it at ingress does not break that deployment mode.
CVSS v3.1
Score 5.8medium
Affected software
TecharoHQ
anubis
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-62314 is an improper access control vulnerability (CWE-284) in TecharoHQ's Anubis firewall utility. The flaw exists in the PathChecker.Check() function within lib/policy/checker.go, which trusts the client-supplied X-Original-URI header over the actual r.URL.Path. This allows an attacker to bypass challenge mechanisms by matching default ALLOW rules such as ^/\.well-known/.*$, effectively circumventing protections against scraper bots. The vulnerability affects versions from 1.22.0 until 1.26.0-pre1 and is resolved in 1.26.0-pre1.
Potential Impact
An attacker can bypass the Anubis challenge mechanism, potentially allowing unauthorized access to protected upstream resources by exploiting the trust in the X-Original-URI header. The impact is limited to confidentiality as per the CVSS vector (C:L/I:N/A:N), with no integrity or availability impact reported.
Mitigation Recommendations
The issue is fixed in version 1.26.0-pre1. Users should upgrade to version 1.26.0-pre1 or later to remediate this vulnerability. Patch status is not explicitly confirmed beyond this fix version; check the vendor advisory for the latest remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-13T19:27:58.314Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a57fcc868715ace4384e4b4
Added to database: 07/15/2026, 21:34:00 UTC
Last enriched: 08/13/2026, 13:24:13 UTC
Last updated: 10/13/2026, 06:48:18 UTC
Views: 131
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.