Description
TarsWeb decides whether a request comes from a trusted local caller using a client-controlled header. app.js sets Koa's proxy option to true without naming which upstream proxies may be trusted and without limiting the number of forwarded hops, so the request address Koa reports is taken from the X-Forwarded-For header supplied by the caller. In midware/ssoMidware.js a single branch covers both the ignored-path list and the ignoreIps allowlist from config/loginConf.js, which contains the loopback address, and that branch assigns the effective account identity from the uid query parameter before falling through to the request without validating any ticket, cookie or password. A request carrying a forged X-Forwarded-For value naming the loopback address and a uid naming an existing account therefore reaches every route the console mounts as that account, including an administrator, with no credential of any kind. Those routes include user and role administration, service configuration, and package upload and deployment. Version 3.0.16 separates the two branches so that a match on the address allowlist assigns the configured default account rather than one named by the caller.
Published: 2026-08-26
Score: 9.3 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

TarsWeb uses a client‑controlled header to determine if a request comes from a trusted source. The application sets a proxy option that accepts any X‑Forwarded‑For header without validating the origin or limiting hops. The SSO middleware then assigns the account identity solely from the uid query parameter when the request is considered to have come from a trusted address or path. An attacker can forge the X‑Forwarded‑For header to the loopback address and supply a uid of an existing account, thereby bypassing all authentication checks. The result is that the attacker gains the privileges of that account, which may include administrator access, user and role management, service configuration, and package deployment.

Affected Systems

Instances of TarsCloud TarsWeb version 3.0.14 and earlier configured with Koa’s proxy option enabled and no upstream proxy restrictions are affected. The default configuration allows any client to supply an X‑Forwarded‑For header, so all deployments that have not applied the v3.0.16 fix are vulnerable.

Risk and Exploitability

The flaw carries a CVSS score of 9.3, indicating critical severity. EPSS data is not available, and the vulnerability is not yet listed in the CISA KEV catalog, so widespread exploitation has not been reported. Nevertheless, the lack of a credential requirement means a remote attacker with access to the HTTP interface can trigger the bypass by sending a forged X‑Forwarded‑For value naming the loopback address and a uid that identifies an existing account. Once triggered, the attacker gains full control over all administrative routes, including user and role administration, service configuration, and package upload and deployment. The possibility of a single request granting administrator privileges makes this a high‑risk vulnerability for any exposed TarsWeb instance.

Generated by OpenCVE AI on August 26, 2026 at 11:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the TarsWeb package to version 3.0.16 or later, where the logic for trusted addresses and uid assignment is corrected.
  • If an upgrade cannot be performed immediately, reconfigure the server to disable the Koa proxy option or restrict it to known, trusted upstream proxies and limit the number of allowed forwarded hops. This stops forged X‑Forwarded‑For values from being accepted.
  • Remove or tightly validate the uid query parameter on all routes that require authentication; mandate the use of a proper authentication token, cookie, or password before processing the request.

Generated by OpenCVE AI on August 26, 2026 at 11:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 26 Aug 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 26 Aug 2026 10:15:00 +0000

Type Values Removed Values Added
Description TarsWeb decides whether a request comes from a trusted local caller using a client-controlled header. app.js sets Koa's proxy option to true without naming which upstream proxies may be trusted and without limiting the number of forwarded hops, so the request address Koa reports is taken from the X-Forwarded-For header supplied by the caller. In midware/ssoMidware.js a single branch covers both the ignored-path list and the ignoreIps allowlist from config/loginConf.js, which contains the loopback address, and that branch assigns the effective account identity from the uid query parameter before falling through to the request without validating any ticket, cookie or password. A request carrying a forged X-Forwarded-For value naming the loopback address and a uid naming an existing account therefore reaches every route the console mounts as that account, including an administrator, with no credential of any kind. Those routes include user and role administration, service configuration, and package upload and deployment. Version 3.0.16 separates the two branches so that a match on the address allowlist assigns the configured default account rather than one named by the caller.
Title TarsWeb through 3.0.14 Authentication Bypass via Spoofed X-Forwarded-For and uid Parameter
Weaknesses CWE-290
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-26T12:54:17.573Z

Reserved: 2026-08-26T09:56:50.310Z

Link: CVE-2026-80349

cve-icon Vulnrichment

Updated: 2026-08-26T12:54:14.611Z

cve-icon NVD

Status : Received

Published: 2026-08-26T10:16:43.097

Modified: 2026-08-26T14:17:17.950

Link: CVE-2026-80349

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-26T12:00:05Z

Weaknesses
  • CWE-290

    Authentication Bypass by Spoofing