Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/TecharoHQ/anubis
  4. ›
  5. CVE-2026-62314

CVE-2026-62314: Anubis: Policy bypass via client controlled X-Original-URI header

October 2, 2026

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():

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:

- 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.

References

  • github.com/TecharoHQ/anubis/commit/276b537776b281b1c4e01421435bc03ade3d8fc4
  • github.com/TecharoHQ/anubis/pull/1630
  • github.com/TecharoHQ/anubis/releases/tag/v1.26.0-pre1
  • github.com/TecharoHQ/anubis/security/advisories/GHSA-6wcg-mqvh-fcvg
  • github.com/advisories/GHSA-6wcg-mqvh-fcvg
  • nvd.nist.gov/vuln/detail/CVE-2026-62314

Code Behaviors & Features

Detect and mitigate CVE-2026-62314 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.22.0 before 1.26.0

Fixed versions

  • 1.26.0

Solution

Upgrade to version 1.26.0 or above.

Impact 5.8 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control

Source file

go/github.com/TecharoHQ/anubis/CVE-2026-62314.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 12 Oct 2026 00:22:43 +0000.