Skip to main content
Vulnerability Database/CVE-2026-104472

CVE-2026-104472: YesWiki Authorization Bypass Vulnerability

CVE-2026-104472 is an authorization bypass flaw in YesWiki before 4.6.7 that allows unauthenticated attackers to download confidential attachments from restricted pages. This post explains its impact, affected versions, and mitigation steps.

Published:

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-104472 Overview

CVE-2026-104472 is a missing authorization vulnerability in YesWiki versions prior to 4.6.7. The flaw resides in the attachment download handler, which fails to enforce page-level read access control lists (ACLs). Unauthenticated attackers can retrieve confidential attachments from read-restricted pages by requesting the download handler with a known page tag and file parameter. The vulnerability is tracked under CWE-862: Missing Authorization.

Critical Impact

Remote, unauthenticated attackers can bypass page ACLs to download confidential files hosted on restricted YesWiki pages, exposing sensitive organizational data.

Affected Products

  • YesWiki versions prior to 4.6.7
  • YesWiki deployments exposing the attachment download handler to the network
  • Any YesWiki instance using page-level read ACLs to restrict attachment access

Discovery Timeline

  • 2026-10-02 - CVE-2026-104472 published to NVD
  • 2026-10-02 - Last updated in NVD database

Technical Details for CVE-2026-104472

Vulnerability Analysis

YesWiki enforces page-level ACLs to govern who can read a page and its contents. The attachment download handler, however, does not consult those ACLs before serving file contents. The handler accepts a page tag and a file parameter, locates the attachment on disk, and returns it directly to the requester. This behavior creates a direct access path to attachments that bypasses the wiki's normal authorization layer.

An attacker who learns or guesses a page tag and attachment filename can retrieve the file without authenticating. Because the download endpoint is reachable over the network, exploitation requires only HTTP access to the YesWiki instance. The vulnerability affects confidentiality of attachment data; integrity and availability of the application are not directly impacted.

Root Cause

The root cause is a missing authorization check in the attachment download handler ([CWE-862]). The handler resolves the requested file path from user-supplied parameters and streams the content back without verifying that the caller is permitted to read the parent page. Page ACLs are evaluated by other request paths but not by this download endpoint.

Attack Vector

Exploitation occurs over the network and requires no authentication or user interaction. An attacker crafts a request to the attachment download handler supplying a known or enumerated page tag and the target filename. The server returns the attachment regardless of the page's read ACL. Page tags and attachment filenames can often be discovered through public page listings, search indexing, link references, or targeted enumeration.

For technical specifics, see the GitHub Security Advisory GHSA-7cj2-9pgf-vcw2 and the VulnCheck Advisory for YesWiki.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-104472

Indicators of Compromise

  • Unauthenticated HTTP GET requests to the YesWiki attachment download handler containing file= and page tag parameters
  • Repeated download requests from a single source enumerating different page tags or filenames
  • Attachment downloads originating from IP addresses that have no corresponding authentication events in application logs
  • Access to attachments associated with pages that have restrictive read ACLs by non-authenticated sessions

Detection Strategies

  • Review YesWiki web server access logs for requests to the attachment download handler and correlate against authenticated session records.
  • Alert on burst patterns of attachment requests referencing multiple distinct page tags from one client in a short time window.
  • Deploy web application firewall (WAF) rules that flag or block anonymous access to the attachment download endpoint for pages marked as restricted.

Monitoring Recommendations

  • Forward YesWiki and reverse proxy access logs to a centralized SIEM for retention and search.
  • Baseline normal attachment download volume per source IP and alert on deviations exceeding the baseline.
  • Track 200-status responses to the download handler from clients with no prior login activity on the same instance.

How to Mitigate CVE-2026-104472

Immediate Actions Required

  • Upgrade all YesWiki instances to version 4.6.7 or later without delay.
  • Inventory internet-exposed YesWiki deployments and prioritize patching of public-facing instances.
  • Audit attachment access logs for the period before patching to identify potentially exposed files.
  • Rotate or revoke any secrets, credentials, or sensitive documents that were stored as attachments on restricted pages.

Patch Information

The YesWiki project addressed this vulnerability in version 4.6.7. Administrators should apply the upstream release per the GitHub Security Advisory GHSA-7cj2-9pgf-vcw2. Confirm the deployed version after upgrade and verify that the attachment download handler enforces page read ACLs for both authenticated and unauthenticated requests.

Workarounds

  • Restrict network access to YesWiki instances to trusted networks or VPN users until the patch is applied.
  • Place a reverse proxy or WAF in front of YesWiki to require authentication on the attachment download endpoint.
  • Temporarily move highly sensitive attachments off YesWiki until the upgrade to 4.6.7 is complete.
bash
# Example reverse proxy rule to require authentication on the attachment download handler
# nginx snippet - adapt the location pattern to match your YesWiki routing
location ~ ^/\?.*file= {
    auth_basic "YesWiki restricted";
    auth_basic_user_file /etc/nginx/.htpasswd;
    proxy_pass http://yeswiki_backend;
}

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.