# CVE-2026-104471: YesWiki unrestricted file upload in Bazar CSV import

Source: https://junglewise.ai/threats/cve-2026-104471-yeswiki-before-4-6-7-contains-an-unrestricted-file-upload  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-02. Updated: 2026-10-05  
License: CC BY 4.0 with a link back

CVE-2026-104471 · Severity: high · CVSS 7.2 · Published 2026-10-02

YesWiki is a collaborative wiki platform that allows administrators to manage structured data through Bazar forms. An authenticated admin can upload arbitrary remote files—including executable PHP scripts—into the web-accessible storage directory by importing a specially crafted CSV file, leading to remote code execution on the server. This affects deployments with standard web server configurations that execute PHP in the upload directory.

Technologies: [YesWiki](https://junglewise.ai/threats/technologies/yeswiki). Vendors: [YesWiki](https://junglewise.ai/threats/vendors/yeswiki).

## Quick answers

**Is CVE-2026-104471 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-104471 being exploited in the wild.

**How severe is CVE-2026-104471?** High severity, with a CVSS score of 7.2, published 2 October 2026.

**Which products and versions are affected?** YesWiki before 4.6.7.

**Is there a fix for CVE-2026-104471?** Yes: fixed in 4.6.7. Until then: Restrict the Bazar import action's access control list (ACL) to trusted administrators only, and disable PHP execution in the files/ directory via web server configuration (e.g., deny *.php in nginx location rules for /files). Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-104471 attacked?** It is attacked over the network.

**Am I affected by CVE-2026-104471?** Check whether you run YesWiki at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in 4.6.7

Restrict the Bazar import action's access control list (ACL) to trusted administrators only, and disable PHP execution in the files/ directory via web server configuration (e.g., deny *.php in nginx location rules for /files).

## Technical details

The Bazar CSV import preview feature in CSVManager.php downloads remote URLs referenced in file and image fields directly into the files/ directory without validating extensions or content type, bypassing the normal upload allowlist. The vulnerable code path (tools/bazar/actions/BazarImportAction.php and tools/bazar/services/CSVManager.php) calls renameUrlToSanitizedFilename() which sanitizes only the basename but does not restrict file extensions, then writes the remote response body via copyUrlToLocalFile(). An authenticated admin with Bazar import privileges can craft a CSV that references a .php URL, causing it to be saved as files/*.php and executed by the web server.

## Affected products

- YesWiki YesWiki before 4.6.7

## Timeline

- 2026-09-01: disclosed
- 2026-10-02: advisory

## References

- [https://github.com/YesWiki/yeswiki/security/advisories/GHSA-v3gq-c7c6-mxw3](https://github.com/YesWiki/yeswiki/security/advisories/GHSA-v3gq-c7c6-mxw3)
- [https://www.vulncheck.com/advisories/yeswiki-before-4.6.7-unrestricted-file-upload-via-bazar-csv-import](https://www.vulncheck.com/advisories/yeswiki-before-4.6.7-unrestricted-file-upload-via-bazar-csv-import)

## Related threats

- [YesWiki SQL injection in despam.php INTERVAL operand](https://junglewise.ai/threats/cve-2026-116828-yeswiki-before-4-7-0-contains-a-sql-injection-vulnerability-in)
- [YesWiki server-side request forgery in Bazar CSV import](https://junglewise.ai/threats/cve-2026-116827-yeswiki-before-4-7-0-contains-a-server-side-request-forgery)
- [YesWiki server-side request forgery in DuplicationManager](https://junglewise.ai/threats/cve-2026-116826-yeswiki-before-4-7-0-contains-a-server-side-request-forgery)
- [YesWiki HTTP Signature replay protection missing in ActivityPub inbox](https://junglewise.ai/threats/cve-2026-116825-yeswiki-from-4-6-2-before-4-7-0-lacks-replay-protection-in)
- [YesWiki stored cross-site scripting in referrers_sites handler](https://junglewise.ai/threats/cve-2026-116824-yeswiki-before-4-7-0-contains-a-stored-cross-site-scripting)
