/

CVE-2026-130071

Severity:

CRITICAL RISK

(9.8)

Missing Authentication (CWE-306) in go1cms update_doc

CVE-2026-130071

Deferred

Vulnerability type

Category:

Missing Authentication

CWE:

CWE-306

Impact:

Unauthorized document modification, privilege escalation, and potential account takeover

Severity:

CRITICAL RISK

(9.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

The update_doc method in go1cms can be reached without authentication and permits changes to documents using caller-supplied fields. An unauthenticated attacker may modify User records to escalate privileges or take over accounts, or tamper with other business data.

Affected context

The issue affects the guest-whitelisted update_doc method in the TridotsTech go1cms master branch through commit 7f68d05 and the version-3 branch before commit ead8da3. Risk arises when this method is exposed to unauthenticated requests and saves caller-supplied document fields with permission checks ignored.

Exploit preconditions

  • Attack surface: The guest-whitelisted update_doc method
  • Required access: No authentication is required when the method is reachable
  • Trigger point: A request supplying a doctype, document name, and fields to update
  • Why exploitation is possible: The method accepts the requested document data and saves it with ignore_permissions=True without requiring authentication

Why this happens

The method lacks an authentication check before performing a sensitive document update. It also saves changes while bypassing permission checks, allowing unauthenticated input to reach a privileged write operation. This is primarily CWE-306: Missing Authentication for Critical Function.

Potential impact

  • An attacker may alter User records or other documents
  • Changes to User records could enable privilege escalation or account takeover
  • Business data could be tampered with, affecting its integrity
  • Unauthorized document changes could disrupt application workflows

General mitigation guidance

Defensive patterns focus on requiring verified identity and authorization before any sensitive write operation.

  • Keep document-update methods unavailable to unauthenticated users by default
  • Check permissions for the specific user, document type, record, and fields being changed
  • Avoid bypassing permission checks for data derived from caller input
  • Limit accepted fields and validate updates against a strict schema
  • Apply least privilege to service identities and separate sensitive operations from guest-accessible functionality

How teams detect issues like this

  • Review guest-whitelisted routes and methods for writes to persistent records
  • Use static analysis or code review rules to flag sensitive operations without authentication and authorization checks
  • Search for permission-bypass options such as ignore_permissions=True, especially where values originate from requests
  • Test access-control policies to confirm unauthenticated requests cannot update documents
  • Enforce policies that require authentication and authorization checks for all state-changing endpoints

Sources

SourceLink
github.comgithub.com/TridotsTech/go1cms/blob/7f68d05502ef88f6ea7190ddf4e1a46314ed75b0/go1_cms/go1_cms/doctype/web_page_builder/web_page_builder.py#L2358-L2378
github.comgithub.com/TridotsTech/go1cms/commit/ead8da36a9452b961cc5361d6fd853ca68a58b08
vulncheck.comvulncheck.com/advisories/tridotstech-go1cms-unauthenticated-arbitrary-document-modification-via-update-doc

Frequently asked

questions

It may be exploitable through requests to the guest-whitelisted method if that method is reachable by an attacker.

The described issue does not require authentication; the method is guest-whitelisted.

Require authentication and verify authorization for the specific document and fields before performing any update. Avoid bypassing permission checks for caller-provided data.

Keep sensitive write operations private by default, enforce access-control checks at the operation boundary, and test guest access to all state-changing endpoints.

Find out what's already
exploitable in your codebase.